- Code: Select all
"C:\Program Files\WinSCP3\winscp" /script
open "mySavedSessionName"
get /export/home/myuser/mytestfile.txt c:\localFolder\
keepuptodate c:\localFolder /export/home/myuser
<hit Ctrl-C when done>
exit
If you know the file path/name that you want to edit, this would be simple enough to integrate in a plugin, except maybe the Ctrl-C part