This article contains detailed description of scripting/automation functionality. You may want to see simplified guide to the functionality instead. In addition to graphical interface, WinSCP offers scripting/console interface with many commands. The commands can be typed in interactively, or read from script file or another source. Using scripting interface directly is recommended for simple task