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\"
Changed from reqFTP.KeepAlive = false; to "reqFTP.KeepAlive = True;" to get rid of the error