Topic "Synchronize not working"

Author Message
fox7

Guest


I try synchronize two directories with command:

Code:

"c:\Program Files (x86)\winscp\WinSCP.com" /log="winscp.log" /loglevel=2 /command "open login:pass@server:port -timeout=60" "synchronize remote -delete -transfer=binary e:\local /remote" "close" "exit"


Winscp finds the file "remote_file1" is not in the local directory and delete this file (file really is deleted), but show error: Error deleting file "remote_file1" No such file or directory.
Log:

Code:

. 2016-05-30 11:14:25.216 Synchronizing local directory 'e:\local' with remote directory '/remote', params = 0x3 (Delete, NoConfirmation)
. 2016-05-30 11:14:25.227 Deleting file "/remote/remote_file1".
> 2016-05-30 11:14:25.227 Type: SSH_FXP_REMOVE, Size: 87, Number: 66317
> 2016-05-30 11:14:25.227 0D,00,01,03,0D,00,00,00,4E,2F,42,61,63,6B,75,70,2F,42,61,73,65,73,2F,6D,73,
> 2016-05-30 11:14:25.227 73,71,6C,2F,63,61,6C,6C,63,65,6E,74,65,72,2F,63,61,6C,6C,63,65,6E,74,65,72,
> 2016-05-30 11:14:25.227 5F,62,61,63,6B,75,70,5F,32,30,31,36,5F,30,35,5F,31,39,5F,30,32,30,30,30,31,
> 2016-05-30 11:14:25.227 5F,31,39,31,30,36,37,36,2E,62,61,6B,
. 2016-05-30 11:14:25.227 Sent 91 bytes
. 2016-05-30 11:14:25.227 There are 0 bytes remaining in the send buffer
. 2016-05-30 11:14:25.227 Looking for network events
. 2016-05-30 11:14:25.227 Timeout waiting for network events
. 2016-05-30 11:14:25.228 Waiting for another 4 bytes
. 2016-05-30 11:14:25.228 Looking for incoming data
. 2016-05-30 11:14:25.228 Looking for network events
. 2016-05-30 11:14:25.258 Detected network event
. 2016-05-30 11:14:25.258 Enumerating network events for socket 1040
. 2016-05-30 11:14:25.258 Enumerated 1 network events making 1 cumulative events for socket 1040
. 2016-05-30 11:14:25.258 Handling network read event on socket 1040 with error 0
. 2016-05-30 11:14:25.258 Received 28 bytes (0)
. 2016-05-30 11:14:25.258 Read 4 bytes (24 pending)
. 2016-05-30 11:14:25.258 Read 24 bytes (0 pending)
< 2016-05-30 11:14:25.258 Type: SSH_FXP_STATUS, Size: 24, Number: 66052
< 2016-05-30 11:14:25.258 65,00,01,02,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
. 2016-05-30 11:14:25.258 Discarding reserved response
. 2016-05-30 11:14:25.258 Waiting for another 4 bytes
. 2016-05-30 11:14:25.258 Looking for incoming data
. 2016-05-30 11:14:25.258 Looking for network events
. 2016-05-30 11:14:25.330 Detected network event
. 2016-05-30 11:14:25.330 Enumerating network events for socket 1040
. 2016-05-30 11:14:25.330 Enumerated 1 network events making 1 cumulative events for socket 1040
. 2016-05-30 11:14:25.330 Handling network read event on socket 1040 with error 0
. 2016-05-30 11:14:25.330 Received 33 bytes (0)
. 2016-05-30 11:14:25.330 Read 4 bytes (29 pending)
. 2016-05-30 11:14:25.330 Read 29 bytes (0 pending)
< 2016-05-30 11:14:25.330 Type: SSH_FXP_STATUS, Size: 29, Number: 66317
< 2016-05-30 11:14:25.330 65,00,01,03,0D,00,00,00,02,00,00,00,0C,4E,6F,20,73,75,63,68,20,66,69,6C,65,
< 2016-05-30 11:14:25.330 00,00,00,00,
< 2016-05-30 11:14:25.330 Status code: 2, Message: 66317, Server: No such file, Language: 
. 2016-05-30 11:14:25.330 Asking user:
. 2016-05-30 11:14:25.330 Error deleting file '/remote/remote_file1'. ("No such file or directory.
. 2016-05-30 11:14:25.330 Error code: 2
. 2016-05-30 11:14:25.330 Error message from server: No such file")

fox7

Guest


Perhaps it is important - remote server is Synology DS413j and before everything worked.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
When you delete a file manually, do you also get an error?
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License