Hi all,
I'll be as succinct at possible
Scenario:
Trying to copy a 5 gig file over FTP. I have an SSIS package to do this. I have also tried it using Winscp.exe through command prompt. In both cases I get an error saying that No space available on the remote side. It will copy 95% of the file and fail. (See log file dump below)
I am executing WinSCP using the following parameters:
option batch abort
option confirm off
open sftp://xxx:xxxxx@255.255.255.2555 -rawsettings SendBuf=0 -hostkey="ssh-rsa 1024 e4:dd:11:2e:82:34:ab:62:59:1c:c8:62:1d:4b:48:99"
put F:\TEMP_DG\Test_SFTP.bak Test_SFTP.bak
close
exit
I thought maybe it’s some restriction in WinSCP in terms of the file size that can be sent.
However, using the GUI interface of WinSCP I can copy the file over no problem, no errors, no complaints.
Please help because I am really out of ideas here.
Thanks.
> 2014-07-10 11:49:39.350 Script: option transfer binary
< 2014-07-10 11:49:39.350 Script: transfer binary
> 2014-07-10 11:49:39.350 Script: put F:\RDNS_SFTP\RDNS_COPY_ONLY_TEST.bak /
. 2014-07-10 11:49:39.350 Copying 1 files/directories to remote directory "/"
. 2014-07-10 11:49:39.350 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2014-07-10 11:49:39.350 TM: B; ClAr: No; CPS: 0; InclM:
. 2014-07-10 11:49:39.350 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2014-07-10 11:49:39.350 File: "F:\RDNS_SFTP\RDNS_COPY_ONLY_TEST.bak"
. 2014-07-10 11:49:39.352 Copying "F:\RDNS_SFTP\RDNS_COPY_ONLY_TEST.bak" to remote directory started.
. 2014-07-10 11:49:39.352 Binary transfer mode selected.
. 2014-07-10 11:49:39.352 Checking existence of file.
> 2014-07-10 11:49:39.352 Type: SSH_FXP_LSTAT, Size: 37, Number: 263
< 2014-07-10 11:49:39.357 Type: SSH_FXP_STATUS, Size: 32, Number: 263
< 2014-07-10 11:49:39.357 Status code: 2
. 2014-07-10 11:49:39.357 Checking existence of partially transfered file.
> 2014-07-10 11:49:39.357 Type: SSH_FXP_LSTAT, Size: 46, Number: 519
< 2014-07-10 11:49:39.361 Type: SSH_FXP_STATUS, Size: 32, Number: 519
< 2014-07-10 11:49:39.361 Status code: 2
. 2014-07-10 11:49:39.361 Opening remote file.
> 2014-07-10 11:49:39.361 Type: SSH_FXP_OPEN, Size: 63, Number: 771
< 2014-07-10 11:49:39.368 Type: SSH_FXP_HANDLE, Size: 13, Number: 771
> 2014-07-10 11:49:39.368 Type: SSH_FXP_WRITE, Size: 4121, Number: 1286
< 2014-07-10 11:54:53.412 Status code: 14, Message: 4008710, Server: No space available., Language: en
. 2014-07-10 11:54:56.501 31935 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2014-07-10 11:54:56.501 Type: SSH_FXP_CLOSE, Size: 13, Number: 4089092
< 2014-07-10 11:54:56.563 Type: SSH_FXP_STATUS, Size: 27, Number: 4089092
< 2014-07-10 11:54:56.563 Status code: 0
* 2014-07-10 11:54:56.563 (ECommand) Copying files to remote side failed.
* 2014-07-10 11:54:56.563 There is no free space on the filesystem.
* 2014-07-10 11:54:56.563 Error code: 14
* 2014-07-10 11:54:56.563 Error message from server (en): No space available.
* 2014-07-10 11:54:56.563 Request code: 6
< 2014-07-10 11:54:56.563 Script: Copying files to remote side failed.
< 2014-07-10 11:54:56.563 Script: There is no free space on the filesystem.
< 2014-07-10 11:54:56.563 Error code: 14
< 2014-07-10 11:54:56.563 Error message from server (en): No space available.
< 2014-07-10 11:54:56.563 Request code: 6
. 2014-07-10 11:54:56.563 Script: Failed
. 2014-07-10 11:54:56.563 Script: Exit code: 1
. 2014-07-10 11:54:56.563 Closing connection.
. 2014-07-10 11:54:56.563 Sending special code: 12
. 2014-07-10 11:54:56.564 Sent EOF message