550 file unavailable error with FtpWebRequest class file upload. Works fine in FileZilla

前端 未结 4 598
借酒劲吻你
借酒劲吻你 2021-01-13 08:26

I\'m searched and found other questions on this but none have solved my issues. I\'m trying to upload a file via FTP using sample MSDN code. I get the The remote server retu

4条回答
  •  孤城傲影
    2021-01-13 09:12

    This did the trick. apparently the CWD command behavior changed in the move from .NET 3.5 to 4.0.

    You have to first call the method in this link.

    http://support.microsoft.com/kb/2134299

提交回复
热议问题