Using WinSCP 5.1.4 to access SFTP server hosted on a NetApp vfiler. Authentication is fine, downloads are also fine. Upload of very small file is also fine. However, upload of file that contains more than 409 bytes results in this error when closing remote file:
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 4
Data on remote side appears to be intact in spite of ugly error message. However, if large enough to be transferred in chunks then
Though the error message is different, my situation appears very similar to this:
. 2013-03-22 14:45:00.983 Copying 1 files/directories to remote directory "/vol/engr_ddrepo01/sftp/Misc/"
. 2013-03-22 14:45:00.983 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (Yes); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2013-03-22 14:45:00.983 TM: M; ClAr: No; CPS: 0; InclM:
. 2013-03-22 14:45:00.983 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2013-03-22 14:45:00.983 File: "C:\Junk\410b.txt"
. 2013-03-22 14:45:00.987 Copying "C:\Junk\410b.txt" to remote directory started.
. 2013-03-22 14:45:00.988 Ascii transfer mode selected.
. 2013-03-22 14:45:00.989 Opening remote file.
> 2013-03-22 14:45:00.989 Type: SSH_FXP_OPEN, Size: 62, Number: 18179
< 2013-03-22 14:45:00.989 Type: SSH_FXP_STATUS, Size: 24, Number: 17924
. 2013-03-22 14:45:00.989 Discarding reserved response
< 2013-03-22 14:45:00.990 Type: SSH_FXP_HANDLE, Size: 13, Number: 18179
> 2013-03-22 14:45:00.991 Type: SSH_FXP_WRITE, Size: 435, Number: 18694
> 2013-03-22 14:45:00.991 Type: SSH_FXP_CLOSE, Size: 13, Number: 18948
> 2013-03-22 14:45:00.991 Type: SSH_FXP_SETSTAT, Size: 58, Number: 18441
< 2013-03-22 14:45:01.088 Type: SSH_FXP_STATUS, Size: 24, Number: 18694
< 2013-03-22 14:45:01.088 Type: SSH_FXP_STATUS, Size: 29, Number: 18948
< 2013-03-22 14:45:01.088 Status code: 2, Message: 18948, Server: No such file, Language:
* 2013-03-22 14:45:01.088 (ETerminal) No such file or directory.
* 2013-03-22 14:45:01.088 Error code: 2
* 2013-03-22 14:45:01.088 Error message from server: No such file
* 2013-03-22 14:45:01.088 Request code: 4
. 2013-03-22 14:45:01.089 Asking user:
. 2013-03-22 14:45:01.089 Cannot close remote file '410b.txt'. ("No such file or directory.
. 2013-03-22 14:45:01.089 Error code: 2
. 2013-03-22 14:45:01.089 Error message from server: No such file
. 2013-03-22 14:45:01.089 Request code: 4")
* 2013-03-22 14:45:04.251 (EScpSkipFile) Cannot close remote file '410b.txt'.
* 2013-03-22 14:45:04.251 No such file or directory.
* 2013-03-22 14:45:04.251 Error code: 2
* 2013-03-22 14:45:04.252 Error message from server: No such file
* 2013-03-22 14:45:04.252 Request code: 4
. 2013-03-22 14:45:04.255 Listing directory "/vol/engr_ddrepo01/sftp/Misc".
> 2013-03-22 14:45:04.255 Type: SSH_FXP_OPENDIR, Size: 37, Number: 19211
< 2013-03-22 14:45:04.256 Type: SSH_FXP_STATUS, Size: 24, Number: 18441
. 2013-03-22 14:45:04.256 Discarding reserved response
< 2013-03-22 14:45:04.257 Type: SSH_FXP_HANDLE, Size: 13, Number: 19211
> 2013-03-22 14:45:04.257 Type: SSH_FXP_READDIR, Size: 13, Number: 19468
< 2013-03-22 14:45:04.261 Type: SSH_FXP_NAME, Size: 687, Number: 19468
> 2013-03-22 14:45:04.261 Type: SSH_FXP_READDIR, Size: 13, Number: 19724
< 2013-03-22 14:45:04.262 Type: SSH_FXP_STATUS, Size: 28, Number: 19724
< 2013-03-22 14:45:04.262 Status code: 1
> 2013-03-22 14:45:04.262 Type: SSH_FXP_CLOSE, Size: 13, Number: 19972