Script doesn't work in one case
I have over a dozen WinSCP scripts working just fine. However a new one just implemented isn't working properly and I'm out of ideas.
Here is the script code:
The script above is called by this command:
The scp log shows that everything is fine until I get to the 'put' command. Nothing happens and the script quietly and properly terminates.
I can do the transfer manually from the command line using winscp.com and every command works fine. I can do it manually using the GUI and I receive a complaint about permissions but the file transfers.
Any and all ideas and suggestions would be most appreciated - this is making me crazy!!! :shock:
Thanks in advance.
Tom
Here is the script code:
open PGroup pwd lcd d:\mywork lls *.dat put -nopreservetime -nopermissions *.dat dir *.dat exit
The script above is called by this command:
winscp.com /script=d:\scp_scripts\pgroup.scp
The scp log shows that everything is fine until I get to the 'put' command. Nothing happens and the script quietly and properly terminates.
I can do the transfer manually from the command line using winscp.com and every command works fine. I can do it manually using the GUI and I receive a complaint about permissions but the file transfers.
Any and all ideas and suggestions would be most appreciated - this is making me crazy!!! :shock:
Thanks in advance.
Tom