Hi,
we use a script to copy files from a remote location
winscp /log=%logfile% /console session name /script="c:\folder path" /command "cd %remotefolder1%" "get file1%Today%.*" "get file2%Today%.*" "cd %remotefolder2%" "get file3%Today%.*" exit
when i logon through the application we have to use a public key file with a password. if i use the above command i assume it wont work, is it possible to add this in the command line so that it will work through the command line?
thanks