URGENT - "put -nopreservetime" in script does not work, HELP
Hi, I am using 4.1.8. in interactive command line interface mode, the commands listed below work. But if I put them into a script file and run them then Winscp thinks
SCRIPT:
PARTIAL OUTPUT FROM LOG:
Command line usage:
-nopreservetime
and –nopermissions
are file names rather than an option. I am using SFTP. I would note that we are using the old INI file that can with version 3, not sure if that makes a difference.
SCRIPT:
option batch on option batch abort option confirm off open AAAA:BBB@XYZ.com lcd C:\temp\t lls cd IN put -nopreservetime –nopermissions "test.zip" ls bye
... . 2009-03-24 11:34:01.134 Asking user: . 2009-03-24 11:34:01.134 File or folder '–nopermissions' does not exist. () * 2009-03-24 11:34:01.149 (EScpSkipFile) File or folder '–nopermissions' does not exist. . 2009-03-24 11:34:01.149 Closing connection. . 2009-03-24 11:34:01.149 Closing connection.
"c:\Program Files\WinSCP\WinSCP.com" AAAA:BBB@XYZ.com /ini=z:\Admin\INI_files\WinSCP3.ini /script=s.txt /log=test.log