Hi, An offtopic quesiton, but I could not think of asking any other list where it might be answered. I have a client uploading a few designs (25-30 Mbs) daily at a remote ftp server. We download them in morning. Since we have a slow connection we daily waste a couple of hours downloading it. Is there any way I can download them at night. The only thing is that I am not sure of the time they upload daily (it changes) and I don't want to download partially uploaded files (we pay per mb). Is there any technical/logical solution to this kind of problem? With warm regards, -Payal
Use rsync with --partial flag SET. It allows you to resume download from where the connection was dropped last time. Regarding Stopping download of partially UPLOADED FILES. you can exclude them using an exclude flag. What needs to be excluded needs to be digged out?? As per my knowledge you can only find that if YOUR client is using programmes by whcih he resumes the download ( As they save in temporary format WINSCP and FTP uses .part rsync created hidden files .) Best of luck !! Thanks SUmit --- Payal Rathod <payal-rsync@scriptkitchen.com> wrote:> Hi, > An offtopic quesiton, but I could not think of > asking any other list > where it might be answered. > I have a client uploading a few designs (25-30 Mbs) > daily at a remote > ftp server. We download them in morning. Since we > have a slow > connection we daily waste a couple of hours > downloading it. Is there > any way I can download them at night. The only thing > is that I am not > sure of the time they upload daily (it changes) and > I don't want to > download partially uploaded files (we pay per mb). > Is there any > technical/logical solution to this kind of problem? > > With warm regards, > -Payal > > -- > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: > http://www.catb.org/~esr/faqs/smart-questions.html >__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com
On Wed, Jan 26, 2005 at 01:17:04PM -0500, Payal Rathod wrote:> I have a client uploading a few designs (25-30 Mbs) daily at a remote > ftp server. [...] I don't want to download partially uploaded files > (we pay per mb).The best thing to do when transferring files via ftp is to use the idiom of uploading to one directory and moving the file into another directory at the end of the transfer. This way the destination directory only gets completed files. This can be done via many ftp tools, such as lftp using a script file. If you don't want to add a separate directory, you could use an upload naming idiom instead, renaming the file at the end of the transfer. Then, you would just have to exclude any file that matches the temp-file naming rule. Finally, it may not hurt that much to download a partial file as long as you re-copy over the same files later on -- that would let rsync continue to copy a file that was still being updated with only a slight penalty in total bandwidth (it would need to transfer the checksums from the receiver to the sender for any file that was being continued). ..wayne..