关于网友提出的“ 请教,FTP上传出现12003错误,请教原因?”问题疑问,本网通过在网上对“ 请教,FTP上传出现12003错误,请教原因?”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: 请教,FTP上传出现12003错误,请教原因?
描述:本帖最后由 VisualEleven 于 2012-01-19 09:58:28 编辑
请教,FTP上传出现12003错误,请教原因。具体是在用::FtpSetCurrentDirectory(m_hFtpConn, lpFile))时出现的,当设置根目录下的子目录的时候。另外,问下,怎么查看12003对应的详细错误信息。谢谢!
解决方案1: MFC的FTP比较难用,建议用楼上推荐的sftp或curl
解决方案2: http://msdn.microsoft.com/en-us/library/windows/desktop/aa385465(v=vs.85).aspx
http://support.microsoft.com/kb/193625
解决方案3: 用sftp吧,更安全,例子也多
解决方案4: http://www.libssh2.org/examples/
解决方案5: 在MSDN中输入 system error code,然后找到12003,12003在Internet Error Codes这里面
解决方案6: ERROR_INTERNET_EXTENDED_ERROR
12003
An extended error was returned from the server. This is typically a string or buffer containing a verbose error message. Call InternetGetLastResponseInfo to retrieve the error text.
以上介绍了“ 请教,FTP上传出现12003错误,请教原因?”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/2972321.html