Topic "Scripted Downloads"

Author Message


I created a stored session I can use from a Windows .bat to upload a named file to a remote server: WinSCP.exe <session_name> /upload <filename>.

I also have a stored session for downloading which I can use from the GUI. I need to have a download .bat also, to download and delete all files from a remote folder. I cannot figure out the Command structure to do this as there is no /download command. Can someone help please?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26871
Location: Prague, Czechia
The /upload (and similar) command-line parameters are not intended for automation.
For automation, use scripting:
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License