Auto selecting to retry when the Download failed

Advertisement

Yazid
Guest

Auto selecting to retry when the Download failed

Hi,
I have an automated script to download big files from an HTTP server, and during the file downloading, this prompt appears:
Error transferring file '***'.
Could not read body: Secure connection truncated
(A)bort, (R)etry, (S)kip, Ski(p) all:
Then it choose Abort (default).
My question is how to change the default behavior to Retry?

Reply with quote

Advertisement

Yazid
Guest

Hi Martin,
yes it's a WebDAV server, this the script that we use:
# Connect to WebDav using a password
open https://******:******@***** -hostkey="***********************" -rawsettings SendBuf=0

# Download file
get /atyponops/DB/%1%/%1%_%2%_clone.bak %3%

# Exit WinSCP
exit

Reply with quote

Yazid
Guest

Sorry but the logs were not there, this is an example:
Connecting to host...
Authenticating...
Authenticating... 
Authenticated. 
Starting the session... 
Session started. 
Active session: [1] ****@******
****.bak | 124471390 KB | 1080.5 KB/s | binary | 13% 
Error transferring file '/*****.bak'. 
Could not read response body: Secure connection truncated 
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort NULL
The script chooses Abort as default and I need to change it

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Sorry, I previously didn't notice your anonymous post.

WinSCP currently supports automatic retry with SFTP and FTP protocols only.

Reply with quote

Advertisement

You can post new topics in this forum