- martin
Post a reply
Topic review
- martin
Re: Sending Special Code 12
It's difficult to help you with this obfuscated log. But the
*.*
in local path should not be there, definitely.
- Guest
Sending Special Code 12
I am trying to setup WinSCP on a server to copy files daily via a scheduled task to another server. I am running into issues.
Server A to Server B. I can manually run WinSCP on Server A and connect to Server B and transfer files. When I run the Scheduled task it runs into an issue. My synchlog file seems to connect but shows:
. 2014-06-04 09:02:02.223 Prompt (7, SSH password, , &Password: )
. 2014-06-04 09:02:02.224 Using stored password.
. 2014-06-04 09:02:02.224 Sent password
. 2014-06-04 09:02:03.568 Access granted
. 2014-06-04 09:02:03.570 Opened channel for session
. 2014-06-04 09:02:03.769 Started a shell/command
. 2014-06-04 09:02:03.769 --------------------------------------------------------------------------
. 2014-06-04 09:02:03.769 Using SFTP protocol.
. 2014-06-04 09:02:03.771 Doing startup conversation with host.
> 2014-06-04 09:02:03.771 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2014-06-04 09:02:03.772 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2014-06-04 09:02:03.772 SFTP version 3 negotiated.
. 2014-06-04 09:02:03.772 We believe the server has signed timestamps bug
. 2014-06-04 09:02:03.772 We will use UTF-8 strings for status messages only
. 2014-06-04 09:02:03.772 Getting current directory name.
. 2014-06-04 09:02:03.772 Getting real path for '.'
> 2014-06-04 09:02:03.772 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2014-06-04 09:02:03.773 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2014-06-04 09:02:03.774 Real path is '/'
. 2014-06-04 09:02:03.774 Startup conversation with host finished.
< 2014-06-04 09:02:03.774 Script: Active session: [1] username@serverB
> 2014-06-04 09:02:03.774 Script: option nopermissions
. 2014-06-04 09:02:03.774 Script: Failed
> 2014-06-04 09:02:03.775 Script: synchronize remote "Drive Letter:\fileshare\*.* on A" "/Fileshare on B"
< 2014-06-04 09:02:03.775 Script: Comparing...
. 2014-06-04 09:02:03.775 Collecting synchronization list for local directory 'Drive Letter:\fileshare\*.* on A' and remote directory '/Fileshare on B, mode = 0, params = 2
< 2014-06-04 09:02:03.775 Script: Nothing to synchronize.
> 2014-06-04 09:02:03.775 Script: exit
. 2014-06-04 09:02:03.775 Closing connection.
. 2014-06-04 09:02:03.775 Sending special code: 12
. 2014-06-04 09:02:03.775 Sent EOF message
There are files in Server Share A to be copied. What am I missing here?
Server A to Server B. I can manually run WinSCP on Server A and connect to Server B and transfer files. When I run the Scheduled task it runs into an issue. My synchlog file seems to connect but shows:
. 2014-06-04 09:02:02.223 Prompt (7, SSH password, , &Password: )
. 2014-06-04 09:02:02.224 Using stored password.
. 2014-06-04 09:02:02.224 Sent password
. 2014-06-04 09:02:03.568 Access granted
. 2014-06-04 09:02:03.570 Opened channel for session
. 2014-06-04 09:02:03.769 Started a shell/command
. 2014-06-04 09:02:03.769 --------------------------------------------------------------------------
. 2014-06-04 09:02:03.769 Using SFTP protocol.
. 2014-06-04 09:02:03.771 Doing startup conversation with host.
> 2014-06-04 09:02:03.771 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2014-06-04 09:02:03.772 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2014-06-04 09:02:03.772 SFTP version 3 negotiated.
. 2014-06-04 09:02:03.772 We believe the server has signed timestamps bug
. 2014-06-04 09:02:03.772 We will use UTF-8 strings for status messages only
. 2014-06-04 09:02:03.772 Getting current directory name.
. 2014-06-04 09:02:03.772 Getting real path for '.'
> 2014-06-04 09:02:03.772 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2014-06-04 09:02:03.773 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2014-06-04 09:02:03.774 Real path is '/'
. 2014-06-04 09:02:03.774 Startup conversation with host finished.
< 2014-06-04 09:02:03.774 Script: Active session: [1] username@serverB
> 2014-06-04 09:02:03.774 Script: option nopermissions
. 2014-06-04 09:02:03.774 Script: Failed
> 2014-06-04 09:02:03.775 Script: synchronize remote "Drive Letter:\fileshare\*.* on A" "/Fileshare on B"
< 2014-06-04 09:02:03.775 Script: Comparing...
. 2014-06-04 09:02:03.775 Collecting synchronization list for local directory 'Drive Letter:\fileshare\*.* on A' and remote directory '/Fileshare on B, mode = 0, params = 2
< 2014-06-04 09:02:03.775 Script: Nothing to synchronize.
> 2014-06-04 09:02:03.775 Script: exit
. 2014-06-04 09:02:03.775 Closing connection.
. 2014-06-04 09:02:03.775 Sending special code: 12
. 2014-06-04 09:02:03.775 Sent EOF message
There are files in Server Share A to be copied. What am I missing here?