Reading your reply made me add lcd to the script.txt.
is it possible to have the files download to 2 destinations?
script.txt = get *.*
exit
Thats it.
Obviously I need to see the Script.txt to help you.
(We are not able to use the .net libraries with powershell at this point in time and we are not able to upgrade winscp either).
The script is in powershell with variables identifying the download path. The download path where I need the files placed is on a UNC path (\\servername\directory\directory\).
# Get File From Remote Site
.\WinSCP.exe /console userid-incoming@xx.xx.xx.xxx /script=Script.txt /Log="$LogPath\$LogFile"
There's no special syntax. Please post your script and the log file or error message.
I am getting an error when saving the unc path in the winscp session. What is the command to include in the /script = script.txt to have the files download to a unc path?