no file sent on sftp

Advertisement

pam.forrest
Joined:
Posts:
1

no file sent on sftp

I'm trying to sftp a file using winscp but it does not send the file to the site.
It looks like it is working fine by changing directories etc... but no file on site.
log file below (see below)
and put statement is
put \\cmk-na\us\IT-AUTOMATION\IT-AppDev_HRFinance\FTP_Process\BN_UNUM\Outbound\test*.* -nopermissions -nopreservetime

. 2011-11-14 14:15:54.158 Using SFTP protocol.
. 2011-11-14 14:15:54.158 Doing startup conversation with host.
> 2011-11-14 14:15:54.158 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2011-11-14 14:15:54.189 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2011-11-14 14:15:54.189 SFTP version 3 negotiated.
. 2011-11-14 14:15:54.189 We believe the server has signed timestamps bug
. 2011-11-14 14:15:54.189 We will use UTF-8 strings for status messages only
. 2011-11-14 14:15:54.205 Getting current directory name.
. 2011-11-14 14:15:54.205 Getting real path for '.'
> 2011-11-14 14:15:54.205 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2011-11-14 14:15:54.251 Type: SSH_FXP_NAME, Size: 51, Number: 16
. 2011-11-14 14:15:54.251 Real path is '/Home/crossmark'
. 2011-11-14 14:15:54.251 Startup conversation with host finished.
. 2011-11-14 14:15:54.251 Cached directory change via "TCS" to "/Home/crossmark/TCS".
. 2011-11-14 14:15:54.251 Getting current directory name.
. 2011-11-14 14:15:54.251 Cached directory change via "In" to "/Home/crossmark/TCS/In".
. 2011-11-14 14:15:54.251 Getting current directory name.
. 2011-11-14 14:15:54.283 Copying 1 files/directories to remote directory "/Home/crossmark/TCS/In"
. 2011-11-14 14:15:54.283 PrTime: No; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask:
. 2011-11-14 14:15:54.283 TM: B; ClAr: No; CPS: 0; ExclM(No):
. 2011-11-14 14:15:54.283 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2011-11-14 14:15:54.283 File: "\\cmk-na\us\IT-AUTOMATION\IT-AppDev_HRFinance\FTP_Process\BN_UNUM\Outbound\crossmark_diselig.txt"
. 2011-11-14 14:15:54.298 Copying "\\cmk-na\us\IT-AUTOMATION\IT-AppDev_HRFinance\FTP_Process\BN_UNUM\Outbound\crossmark_diselig.txt" to remote directory started.
. 2011-11-14 14:15:54.298 Binary transfer mode selected.
. 2011-11-14 14:15:54.298 Opening remote file.
> 2011-11-14 14:15:54.298 Type: SSH_FXP_OPEN, Size: 69, Number: 259
< 2011-11-14 14:15:54.486 Type: SSH_FXP_HANDLE, Size: 13, Number: 259
> 2011-11-14 14:15:54.486 Type: SSH_FXP_WRITE, Size: 4121, Number: 774
. 2011-11-14 14:15:54.486 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-11-14 14:15:54.486 Type: SSH_FXP_CLOSE, Size: 13, Number: 1796
< 2011-11-14 14:15:54.517 Type: SSH_FXP_STATUS, Size: 26, Number: 774
< 2011-11-14 14:15:54.517 Type: SSH_FXP_STATUS, Size: 26, Number: 1030
< 2011-11-14 14:15:54.517 Type: SSH_FXP_STATUS, Size: 26, Number: 1286
< 2011-11-14 14:15:54.689 Type: SSH_FXP_STATUS, Size: 26, Number: 1542
< 2011-11-14 14:15:54.689 Type: SSH_FXP_STATUS, Size: 26, Number: 1796
< 2011-11-14 14:15:54.689 Status code: 0

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: no file sent on sftp

So the file that can be seen being uploaded in the log (\\cmk-na\us\IT-AUTOMATION\IT-AppDev_HRFinance\FTP_Process\BN_UNUM\Outbound\crossmark_diselig.txt) does not exist in /Home/crossmark/TCS/In after the upload finishes?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum