Topic "Compare and sync the files into another local folder"

Author Message
zenpie9

Guest


Hi, I'm trying to implement a script which will compare all files in a local folder to that of the remote folder. But sync those files into another folder in local machine but not to the source local folder. Any suggestion/help really helps me. Thank you!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
So why don't you sync the remote files against the "another local folder"?
Zenpie9

Guest


Thanks for your prompt reply. Our scenario is, the remote files should be downloaded into folderA. And then they will be processed and sent to FolderB. But in some exception cases all files may not be downloaded into folderA. That's why to confirm all files were downloaded into folderA without fail, we need to verify all files at remote location were downloaded into folderB ultimately.

That's why, we need to verify all remote files against files in folderB and then download only missing files into folderA at the end of the day.

I hope I'm clear. If not plz tell me. Thank you for your time & efforts.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
OK. But you cannot really expect a generic tool to support such custom scenario. You have to code it yourself. It should not be that difficult using WinSCP .NET assembly and PowerShell.
https://winscp.net/eng/docs/library_powershell
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