Command-line parameter in scripting is deprecated
Hello,
I just upgraded to the newest version of WinSCP (WinSCP Version 5.5.3 (Build 4214)) and am now getting the following warning:
I went to your history page here:
https://winscp.net/eng/docs/history
When I went there I noticed the following information:
I apologize but that doesn't make sense for me right now. I hope that you can provide clarification.
My setup is as follows:
1) I have a batch file that has the following inside of it:
2) The "winscpbatchfile.txt" that is used above has the following in it:
I then have multiple sections in the text file to back up specific locations on my multiple hard drives. Below is just one:
I did not notice any changes on this page:
https://winscp.net/eng/docs/scripting
Or this page:
https://winscp.net/eng/docs/commandline
Obviously I missed something in your documentation. Can you please provide a clue for the clueless here?
I just upgraded to the newest version of WinSCP (WinSCP Version 5.5.3 (Build 4214)) and am now getting the following warning:
Opening session using command-line parameter in scripting is deprecated. Use 'open' command instead.
https://winscp.net/eng/docs/history
When I went there I noticed the following information:
Before opening session using command-line parameter in scripting, warning is printed, that this is deprecated function.
My setup is as follows:
1) I have a batch file that has the following inside of it:
"C:\Program Files (x86)\WinSCP\winscp.com" /script="C:\Users\kevin\Desktop\Utils\winscpbatchfile.txt" /log=C:\Users\Kevin\Desktop\Utils\FreeNASSyncLogs\FreeNAS-%date:~-4,4%-%date:~4,2%-%date:~-7,2%-%time:~0,2%-%time:~3,2%-%time:~6,2%-%time:~9,2%.log
open sftp://usernameremoved:passwordremoved@freenas option batch continue option transfer binary option confirm off
lcd "C:\Users\kevin\Documents" cd /mnt/share/kevin/users/kevin/Documents synchronize remote -mirror -delete -nopreservetime -filemask=|"*.tmp; C:\Users\kevin\Documents\My Music\; C:\Users\kevin\Documents\My Pictures\; C:\Users\kevin\Documents\My Videos\;"
https://winscp.net/eng/docs/scripting
Or this page:
https://winscp.net/eng/docs/commandline
Obviously I missed something in your documentation. Can you please provide a clue for the clueless here?