Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO

426 Failure reading network stream but file uploaded successfully

0 votes
284 views
asked Apr 19 in .NET FTP by brad3776 (120 points)
I'm running into this error while trying to use SecureFTPConnection. The thing is though I'm able to upload the file successfully but it still errors out at ftpConnection.UploadFile(filename, filename). I'm not sure what's erroring out after the file is uploaded or how to tell what I need to change. Any ideas?

FTP LOG:

{220 (vsFTPd 3.0.3)
---> AUTH TLS
234 Proceed with negotiation.
---> PBSZ 0
200 PBSZ set to 0.
---> PROT P
200 PROT now Private.
---> USER xxxxx
331 Please specify the password.
---> PASS ********
230 Login successful.
---> TYPE I
200 Switching to Binary mode.
---> PWD
257 "/" is the current directory
---> USER xxxxx
331 Any password will do.
---> PASS ********
230 Already logged in.
---> TYPE A
200 Switching to Binary mode.
---> CWD /
250 Directory successfully changed.
---> PWD
257 "/" is the current directory
---> PASV
227 Entering Passive Mode (54,172,125,194,50,244).
---> STOR xxxxxxxx
150 Ok to send data.
426 Failure reading network stream.
}

Error Message:

{EnterpriseDT.Net.Ftp.FTPException: Failure reading network stream. (code=426)
   at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
   at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
   at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
   at EnterpriseDT.Net.Ftp.FTPConnection.UploadFile(String localPath, String remoteFile, WriteMode writeMode)
   at EnterpriseDT.Net.Ftp.ExFTPConnection.SyncUploadFile(String localPath, String remoteFile, WriteMode writeMode)
   at EnterpriseDT.Net.Ftp.ExFTPConnection.UploadFile(String localPath, String remoteFile, Boolean append)
   at EnterpriseDT.Net.Ftp.FTPConnection.UploadFile(String localPath, String remoteFile)
commented Apr 19 by support2 (143,710 points)
I'm not sure - a number of people have experienced this problem with vsftp. See here for some possibilities:

https://serverfault.com/questions/599081/error-426-failure-reading-network-stream-ftp-put-uploads-files-incompletely

Please log in or register to answer this question.

...