The underlying connection was closed: The server committed a protocol violation. FTP

前端 未结 1 1799
遇见更好的自我
遇见更好的自我 2020-12-11 09:11

I was uploading my file using below code,it works fine but some time it throws this error\"The underlying connection was closed: The server committed a protocol violation\"

相关标签:
1条回答
  • 2020-12-11 09:42

    Changed from reqFTP.KeepAlive = false; to "reqFTP.KeepAlive = True;" to get rid of the error

    0 讨论(0)
提交回复
热议问题