Error message "Failure"
I am using .Net component v5.1.3 with WinSCP 5.1.3, in a VB VS2010 project (though this issue does not seem to be related to .NET component – see last paragraph below). I am downloading files in a loop from a Linux Debian OpenSSH host with SFTP and get the following exception when executing session.GetFiles
I can use Filezilla Windows client to download all of the files without issue. Once I have used my program and WinSCP, and the failure has occurred, Filezilla can do the download but with the following errors in the log:
Trying to copy the same files with WinSCP Windows client yields the same error message as does using the .NET wrapper:
Thanks.
Retries on the same file yield the same result. When I remove this file from the list of files to be downloaded the next newer file has the same problem.General failure (server should provide error description). Error code: 4 Error message from server: Failure Request code: 5
I can use Filezilla Windows client to download all of the files without issue. Once I have used my program and WinSCP, and the failure has occurred, Filezilla can do the download but with the following errors in the log:
Status: Starting download of /mnt/usb/20130105.sto Command: get "20130105.sto" "C:\My cache\20130105.sto" Status: remote:/mnt/usb/20130105.sto => local:C:\My cache\20130105.sto Error: error while reading: received a short buffer from FXP_READ, but not at EOF Error: File transfer failed after transferring 1,024,000 bytes in 1 second Status: Starting download of /mnt/usb/20130105.sto Command: reget "20130105.sto" "C:\My cache\20130105.sto" Status: reget: restarting at file position 1155072 Status: remote:/mnt/usb/20130105.sto => local:C:\My cache\20130105.sto Error: error while reading: received a short buffer from FXP_READ, but not at EOF Error: File transfer failed after transferring 937,984 bytes in 1 second Status: Starting download of /mnt/usb/20130105.sto Command: reget "20130105.sto" "C:\My cache\20130105.sto" Status: reget: restarting at file position 2129920 Status: remote:/mnt/usb/20130105.sto => local:C:\My cache\20130105.sto Error: error while reading: received a short buffer from FXP_READ, but not at EOF Error: File transfer failed after transferring 921,600 bytes in 1 second Status: Starting download of /mnt/usb/20130105.sto Command: reget "20130105.sto" "C:\My cache\20130105.sto" Status: reget: restarting at file position 3198976 Status: remote:/mnt/usb/20130105.sto => local:C:\My cache\20130105.sto Error: error while reading: received a short buffer from FXP_READ, but not at EOF Error: File transfer failed after transferring 802,816 bytes in 1 second Status: Starting download of /mnt/usb/20130105.sto Command: reget "20130105.sto" "C:\My cache\20130105.sto" Status: reget: restarting at file position 4198400 Status: remote:/mnt/usb/20130105.sto => local:C:\My cache\20130105.sto Status: File transfer successful, transferred 1,114,112 bytes in 1 second
Can anyone suggest what is happening?General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Request code: 5
Thanks.