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: sftp

jk wrote:

if i choose abort in ftp then files will be deleted ? pls answer

What files? Please ask a good question, with details, if you want to get a good answer.
jk

sftp

if i choose abort in ftp then files will be deleted ? pls answer
cc

Script will no Abort using Option Batch Abort

For some reason when my network drops my script will not abort.

Heres the command:


"%~dp0\winscp.exe" /console /script="script.txt" 

exit



and the script.txt:

option batch abort

option confirm off
open ftp://user:pass@ftp.site.com/
cd /directory/
synchronize local
exit



When i pull my network cable(to test for network drop) I get:

The requested name is valid, but no data of the requested type was found.

Connection failed.
(A)bort, (R)econnect (5 s):
..
(A)bort, (R)econnect (0 s): Reconnect


It will continue to try and reconnect indefinitely.

Why doesn't the script auto abort? I am using option batch abort. Am I missing something ?