Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rberberi

Re: Keepuptodate keeps transfering files it has already transfered

martin wrote:



Hi. Thanks for your reply. I have already read the faq link. I don't want to use synchronization with timestamps because even if it does not copy old files, it has to go through all the older folder and files and compare, which it should normally not take long but if we are talking about more than 2000 folders then it does take long to copy the new files.
I found a temporary solution where I use keepuptodate and I use Windows Task Scheduler to Start and End the batch file every 30 minutes so that it does not go through thousands of files all the time but only the ones created in the last 30 minutes. Maybe there is a better way to solve this using some WinSCP command but I have not found one yet.
rberberi

Keepuptodate keeps transfering files it has already transfered

Hi. I have a working script which keeps a remote ftp-server directory up to date with a local directory. It sees changes in the local directory, copies the new files and folder structure to the remote one and then waits for changes again. The problem is that when a new file is added, which happens every minute, it copies the new file together with all the other files that were copied since the script started running. Is there a way to copy only the recently added file and not the files that were already copied to the server?