Post a reply

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

chdchan

Usage tip: Script option to allow session auto-reconnection in batch mode

Script option to allow session auto-reconnection in batch mode

Syntax:
option reconnecttime <seconds to wait>

e.g.
winscp.com /command "option reconnecttime 10" "open ftp://anonymous:anonymous@ftp.symantec.com" "get /AVDEFS/symantec_antivirus_corp/static/symcdefs-core15unix.sh d:\temp\" "exit"

Reference URL:
https://winscp.net/eng/docs/scriptcommand_option