Topic "Archive remote files into remote date-based directories"

Author Message
JCK
[View user's profile]

Joined: 2012-02-29
Posts: 1
Hi, how do I archive remote files into a date-based remote directory everyday? i.e. moving all current remote files from, say, /uploadFiles to /yyyymmdd that reside on the ftp server?

Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You need to schedule some script that generates a WinSCP script, including mv command.
Some links that may help:
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/guide_schedule
https://winscp.net/eng/docs/guide_automation_advanced
https://winscp.net/eng/docs/scriptcommand_mv
_________________
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