Re: Upload only new/updated files using SFTP (General questions)
Hi Dave,
wodSFTP doesn't compare on it's own, so this is something that you will have to implement. I would suggest that you try using GetAttributes method, along with Attributes event, to check properties (such as Date and size) of remote file and only call Putfile for file that satisfies your condition.
Also, when doing multiple file uploads, you can use ListAttributes method and AttributesData event instead, since ListAttributes will list properties for each file found in specified directory. You can then compare local and remote file, and create a list of files that need to be uploaded.
Hope this helps.
Regards,
Damba
Complete thread:
- Upload only new/updated files using SFTP - Davefyfe, 2009-01-19, 13:59
- Re: Upload only new/updated files using SFTP - wodDamir, 2009-01-19, 14:16
- Upload only new or updated files using putfiles - Brad Jensen, 2011-09-15, 01:40
- Re: Upload only new or updated files using putfile - woddrazen, 2011-09-15, 08:40
- Upload only new or updated files using putfiles - Brad Jensen, 2011-09-15, 01:40
- Re: Upload only new/updated files using SFTP - wodDamir, 2009-01-19, 14:16