Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Cannot upload, uploaded to Google drive

There's nothing wrong with those specific file. It's your whole script that fails, because the server aborts the connection:
> 2019-06-14 08:06:18.464 MLSD

. 2019-06-14 08:06:18.464 Connecting to 127.0.0.1:62528 ...
< 2019-06-14 08:06:18.869 421 No-transfer-time exceeded. Closing control connection.
. 2019-06-14 08:06:18.869 Could not retrieve directory listing
. 2019-06-14 08:06:18.869 Asking user:
. 2019-06-14 08:06:18.869 Error listing directory '/send/69_2911203/live'. ("Could not retrieve directory listing","No-transfer-time exceeded. Closing control connection.")
< 2019-06-14 08:06:18.869 Script: Error listing directory '/send/69_2911203/live'.
< 2019-06-14 08:06:18.869 Script: Could not retrieve directory listing

< 2019-06-14 08:06:18.869 No-transfer-time exceeded. Closing control connection.
. 2019-06-14 08:06:18.869 Script: Failed
. 2019-06-14 08:06:18.869 Disconnected from server
. 2019-06-14 08:06:18.869 Script: Failed
< 2019-06-14 08:06:18.869 Script: Lost connection.
< 2019-06-14 08:06:18.869 Script: Disconnected from server
. 2019-06-14 08:06:18.869 Script: Exit code: 1

Try upgrading to the latest version of WinSCP. It should reconnect in such scenario.
james.chim

Cannot upload, uploaded to Google drive

Attached.
martin

Re: Sync script does not sync remote folder

We need a complete log file.
james.chim

Sync script does not sync remote folder

This is how I write the script:
open ftp://********
option reconnecttime off
synchronize remote -delete D:\FTP\MPZ\TH\send /send
exit
The attached log write that it found the new files but it does not copy to the remote folder:
. 2019-06-14 08:05:26.506 Local file 'D:\FTP\MPZ\TH\send\59_2912203\backup\S1_D59_C1_P49.MPZ' [2019-06-13T01:46:01.217Z] [7045] is new
. 2019-06-14 08:05:26.506 Local file 'D:\FTP\MPZ\TH\send\59_2912203\backup\S1_D59_C1_P50.MPZ' [2019-06-13T01:46:33.273Z] [632395] is new