Topic "Download, delete, log"

Author Message
[View user's profile]

Joined: 2012-06-04
Posts: 1
I'm completely new to WinSCP and just beginning my learning.

I need to set up an automatic SFTP transfer.

I need to come up with a script that downloads files from several folders. Files from each individual folder on the SFTP server need to be downloaded into a specific folder on a computer here. The folder names are different on the two systems, but there is a one-to-one mapping.

All downloaded files must be logged.

After the files are successfully downloaded, I need to delete them off the remote server.

Does anyone have a sample script they can share to help me get started?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Please start with guide to scripting:
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License