Keepuptodate script - copy files to .zip - possible?

Advertisement

mcpeterc
Joined:
Posts:
9

Keepuptodate script - copy files to .zip - possible?

Hi.

I have a keepuptodate script running 24/7 and it works amazing! Now im wondering if its possible to transfer the files into a .zip file or pack the files before or after they are transfered?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,253
Location:
Prague, Czechia

Re: Keepuptodate script - copy files to .zip - possible?

No. You would have to code this with using of WinSCP .NET assembly (and some language like PowerShell).
For example see:
https://winscp.net/eng/docs/library_example_keep_local_directory_up_to_date
Though with local files, you can use FileSystemWatcher instead of polling the folder for changes:
https://stackoverflow.com/q/29066742/850848

Reply with quote

Advertisement

You can post new topics in this forum