Script authenticates but file does not get copied

Advertisement

tyntema
Guest

Script authenticates but file does not get copied

This is my log ... Trying to figure out why this does not copy the file. I can manually copy. I've changed the file location, since it seems like a permissions issue, no luck. TIA

2018-11-21 14:45:23.444 Using SFTP protocol.
. 2018-11-21 14:45:23.444 Doing startup conversation with host.
> 2018-11-21 14:45:23.460 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2018-11-21 14:45:23.507 Type: SSH_FXP_VERSION, Size: 124, Number: -1
. 2018-11-21 14:45:23.507 SFTP version 3 negotiated.
. 2018-11-21 14:45:23.507 Unknown server extension posix-rename@openssh.com="1"
. 2018-11-21 14:45:23.507 Supports statvfs@openssh.com extension version "2"
. 2018-11-21 14:45:23.507 Unknown server extension fstatvfs@openssh.com="2"
. 2018-11-21 14:45:23.507 Supports hardlink@openssh.com extension version "1"
. 2018-11-21 14:45:23.507 We believe the server has signed timestamps bug
. 2018-11-21 14:45:23.507 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2018-11-21 14:45:23.507 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2018-11-21 14:45:23.507 Changing directory to "/cygdrive/d/copssh/home/mf-melbourne-us/Payments".
. 2018-11-21 14:45:23.507 Getting real path for '/cygdrive/d/copssh/home/mf-melbourne-us/Payments'
> 2018-11-21 14:45:23.507 Type: SSH_FXP_REALPATH, Size: 60, Number: 16
< 2018-11-21 14:45:23.569 Type: SSH_FXP_NAME, Size: 123, Number: 16
. 2018-11-21 14:45:23.569 Real path is '/cygdrive/d/copssh/home/mf-melbourne-us/Payments'
. 2018-11-21 14:45:23.569 Trying to open directory "/cygdrive/d/copssh/home/mf-melbourne-us/Payments".
> 2018-11-21 14:45:23.569 Type: SSH_FXP_LSTAT, Size: 60, Number: 263
< 2018-11-21 14:45:23.616 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2018-11-21 14:45:23.616 Getting current directory name.
. 2018-11-21 14:45:23.694 Listing directory "/cygdrive/d/copssh/home/mf-melbourne-us/Payments".
> 2018-11-21 14:45:23.694 Type: SSH_FXP_OPENDIR, Size: 60, Number: 523
< 2018-11-21 14:45:23.741 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> 2018-11-21 14:45:23.741 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2018-11-21 14:45:23.804 Type: SSH_FXP_NAME, Size: 379, Number: 780
> 2018-11-21 14:45:23.804 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< 2018-11-21 14:45:23.861 Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< 2018-11-21 14:45:23.861 Status code: 1
> 2018-11-21 14:45:23.861 Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
. 2018-11-21 14:45:23.861 ..;d;0;2018-10-09T11:29:53.000Z;3;"mf-melbourne-us" [10018];"Users" [545];rwxr-xr-x;0
. 2018-11-21 14:45:23.861 munis to mobileeyes.txt;-;3957;2018-11-21T15:03:30.000Z;3;"mf-melbourne-us" [10018];"Users" [545];rw-r--r--;0
. 2018-11-21 14:45:23.898 Startup conversation with host finished.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,276
Location:
Prague, Czechia

Re: Script authenticates but file does not get copied

Please post your script and attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Guest

Re: Script authenticates but file does not get copied

Solved - the log file path was incorrect and I believe this was the problem. Please delete my post.

Reply with quote

Advertisement

You can post new topics in this forum