script problem
I have the below script that works but, when I execute it, it asks for the username and then it runs the script. Why is it asking for a username when it is passed in by the script below.
This is my command using WinSCP3.com utility:
C:\WinSCP3.com winscp3.exe /console /script="C:\sftpscript.txt"
script:
option batch on
option confirm off
open user:pword@sftp.mysite.com
cd /oufiles
option transfer binary
get File1-31-07.pgp C:\
exit
thanks,
Mike
This is my command using WinSCP3.com utility:
C:\WinSCP3.com winscp3.exe /console /script="C:\sftpscript.txt"
script:
option batch on
option confirm off
open user:pword@sftp.mysite.com
cd /oufiles
option transfer binary
get File1-31-07.pgp C:\
exit
thanks,
Mike