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

Damir

Thank you very much!
Damir

In addition,
option batch on
command doesn't help.

Sincerely,
Damir

Is it possible to change default confirmation answer?

Hello!

I'm using WinSCP.com (Version 5.13.8 (Build 9278) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional) to download files via FTP from a remote computer to a local Windows IIS ftp server. Our network is quite unstable and I have to reconnect often.
Here's the contents of Batch file that I'm using:
"C:\Program Files\WinSCP\WinSCP.com" ^

  /log="D:\WinSCP.log" /ini=nul ^
  /command ^
    "open ftp://anonymous:anonymous%%40example.com@10.2.2.21/" ^
    "cd "Sterlitamak" " ^
    "lcd "D:\Beholder\Audio" " ^
    "synchronize remote -transfer=binary -filemask=*>1M>=%%TIMESTAMP-1D#yyyy-mm-dd%%<%%TIMESTAMP#yyyy-mm-dd%% -resumesupport=on" ^
    "exit"

and in WinSCP.com's window I get something like this:
Connecting to 10.2.2.21 ...

Connected
Starting the session...
Session started.
TV-591,25( |      259799 KB |    0,0 KB/s | binary |  12%
Lost connection.
Timeout detected. (data connection)
Copying files to remote side failed.
(A)bort, (R)econnect (0 s): Reconnect
Connecting to 10.2.2.21 ...
Connected
Starting the session...
Session started.
TV-591,25( |            0 B |    0,0 KB/s | binary |   0%
Error transferring file 'TV-591,25(190302-2200).wmv'.
Copying files to remote side failed.
The process cannot access the file because it is being used by another process.
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort

I would like my script to choose "Retry" after a few seconds instead of "Abort"

Thanks in advance, would be great to get this problem solved!

Kind regards