Sftp script error - "invalid session number"
I have saved sessions in Winscp (sftp port 22 with user name and password (no private key) )
and I can connect them via winscp gui with no problam.
When I call them using this following script
open AAA
option confirm off
get / *. csv C: \ WinscpFiles \ Accounts \ AAA \
Close AAA
I get
authenticated
starting the session...
reading remote directory...
session started.
Active session: [1] AAA
confirm off
invalid session number 'AAA'
please advice
Thanks
Miki
and I can connect them via winscp gui with no problam.
When I call them using this following script
open AAA
option confirm off
get / *. csv C: \ WinscpFiles \ Accounts \ AAA \
Close AAA
I get
authenticated
starting the session...
reading remote directory...
session started.
Active session: [1] AAA
confirm off
invalid session number 'AAA'
please advice
Thanks
Miki