Do no continue uploading after Internet connection lost
Hello, All!
I need to upload some files with possibility to continue uploading, in case of Internet connection lost.
If I abort uploading manually, uploading can be continued normally.
But if I am trying to disconnect Internet by network card, uploading cannot be continued.
Asking for advise, please.
Thanks in advance.
I need to upload some files with possibility to continue uploading, in case of Internet connection lost.
If I abort uploading manually, uploading can be continued normally.
But if I am trying to disconnect Internet by network card, uploading cannot be continued.
"C:\Program Files (x86)\WinSCP\WinSCP.com" /passive /log="D:\winscp.log" /rawconfig="Interface\SessionReopenAuto" /command ^ "open ftp://username:password@host_address" ^ "option batch on" ^ "cd /" ^ "put D:\VM\Debian2 -resume" ^ "close" ^ "exit"
< 2023-10-03 16:32:52.090 Script: Session started. . 2023-10-03 16:32:52.090 File: 'D:\VM\Debian2\Debian 2-s001.vmdk' [2023-09-20T06:00:53.922Z] [2535194624] . 2023-10-03 16:32:52.090 Copying "D:\VM\Debian2\Debian 2-s001.vmdk" to remote directory started. . 2023-10-03 16:32:52.090 Binary transfer mode selected. . 2023-10-03 16:32:52.091 Starting upload of D:\VM\Debian2\Debian 2-s001.vmdk > 2023-10-03 16:32:52.091 CWD /Debian2 < 2023-10-03 16:32:52.214 250 Directory successfully changed. > 2023-10-03 16:32:52.214 PWD < 2023-10-03 16:32:52.339 257 "/Debian2" is the current directory > 2023-10-03 16:32:52.339 TYPE A < 2023-10-03 16:32:52.470 200 Switching to ASCII mode. > 2023-10-03 16:32:52.470 PASV < 2023-10-03 16:32:52.594 227 Entering Passive Mode (host_address,85,114). > 2023-10-03 16:32:52.594 LIST . 2023-10-03 16:32:52.594 Connecting to host_address:21874 ... < 2023-10-03 16:32:52.842 150 Here comes the directory listing. . 2023-10-03 16:32:52.843 -rw------- 1 1001 1001 469584416 Oct 03 16:31 Debian 2-s001.vmdk . 2023-10-03 16:32:52.843 Data connection closed < 2023-10-03 16:32:52.965 226 Directory send OK. . 2023-10-03 16:32:52.965 Warning: Timezone difference was not detected yet, timestamps may be incorrect > 2023-10-03 16:32:52.966 TYPE I < 2023-10-03 16:32:53.089 200 Switching to Binary mode. > 2023-10-03 16:32:53.089 PASV < 2023-10-03 16:32:53.212 227 Entering Passive Mode (host_address,78,213). > 2023-10-03 16:32:53.213 REST 469584416 < 2023-10-03 16:32:53.335 350 Restart position accepted (469584416). > 2023-10-03 16:32:53.335 STOR Debian 2-s001.vmdk . 2023-10-03 16:32:53.335 Connecting to host_address:20181 ... . 2023-10-03 16:33:08.709 Timeout detected. (control connection) . 2023-10-03 16:33:08.709 Copying files to remote side failed. . 2023-10-03 16:33:08.709 Connection was lost, asking what to do. . 2023-10-03 16:33:08.709 Asking user: . 2023-10-03 16:33:08.709 **Lost connection.** ("Timeout detected. (control connection)","Copying files to remote side failed.") < 2023-10-03 16:33:08.709 Script: Lost connection. < 2023-10-03 16:33:08.709 Script: Timeout detected. (control connection)
Thanks in advance.