Topic "Scripted Downloads"

Author Message
VernA

Guest


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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
The /upload (and similar) command-line parameters are not intended for automation.
For automation, use scripting:
https://winscp.net/eng/docs/guide_automation
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License