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:
Try upgrading to the latest version of WinSCP. It should reconnect in such scenario.
> 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.