Buscar este blog

domingo, 3 de septiembre de 2017

WINSCP Scripting Cheat sheet

Invoke the script from command line:
WinSCPPortable.exe /script="D:\PortableApps\WinSCPPortable\myScript.txt" /log="D:\PortableApps\WinSCPPortable\myScript.log /console" /loglevel=2

Script code:
open ftp://user:pass@host

get 80/00/95/FB.pdf D:\tmp\local\80\00\95\FB.pdf
get 80/00/96/02.pdf D:\tmp\local\80\00\96\02.pdf

exit

References: