Final Update:
Oh I figuted it out! My script was pointing to a version of Winscp from 2005! It was version 3.
I have changed it to point to the proper directory and the option is now accepted. Whoops!
--------
Maybe I am doing something wrong? I tried the option but I got this message in the script:
confirm off
Unknown value 'continue' of option 'batch'.
Initialisation...
Searching for host...
Cannot open remote file '/myfiles/file.gz'.
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3
(A)bort, (R)etry, (S)kip, Ski(p) all:
and then it hangs at the prompt.
I am using version from 2008.
----
I upgraded to the latest release and get the error when running a script:
Unknown value 'continue' of option 'batch'.
Here is what the script looks like on the first few lines that is read into winscp:
ECHO is off.
option confirm off
option batch continue
open user:password@server.address.com
---
I tried running it without a script, by hand from the prompt, this is what I see:
C:\Program Files\WinSCP>winscp
winscp> option
echo off
batch off
confirm on
transfer automatic
reconnecttime off
winscp> option batch
batch off
winscp> option batch continue
batch continue
winscp>
Oh I figuted it out! My script was pointing to a version of Winscp from 2005! It was version 3.
I have changed it to point to the proper directory and the option is now accepted. Whoops!
--------
Maybe I am doing something wrong? I tried the option but I got this message in the script:
confirm off
Unknown value 'continue' of option 'batch'.
Initialisation...
Searching for host...
Cannot open remote file '/myfiles/file.gz'.
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3
(A)bort, (R)etry, (S)kip, Ski(p) all:
and then it hangs at the prompt.
I am using version from 2008.
----
I upgraded to the latest release and get the error when running a script:
Unknown value 'continue' of option 'batch'.
Here is what the script looks like on the first few lines that is read into winscp:
ECHO is off.
option confirm off
option batch continue
open user:password@server.address.com
---
I tried running it without a script, by hand from the prompt, this is what I see:
C:\Program Files\WinSCP>winscp
winscp> option
echo off
batch off
confirm on
transfer automatic
reconnecttime off
winscp> option batch
batch off
winscp> option batch continue
batch continue
winscp>