Upload only new or updated files using putfiles (General questions)
I've looked for sample code on your site to do this, which I think would be a common thing. I want to use putfiles to upoload a set of directories and contents, doing the same thing each day.
Obviously I only want to upload the item if it is new or the file date/time has changed.
Can I use putfiles to do this, then within the loopitem event do a getattributes on the remote (server) file so I can compare it to the file I think I want to upload? Or will doing the getattributes break the putfiles process - causing it to stop after the frist file?
If this method won't work, does anyone have an example of iterating thru directories on the local server, then uploading only the new or changed files to the ftp server, preserving the directory structure?
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