Download only if new?

Moderators: Usher, vaneo, Victoria Nelson, Alex

FDM-newuser

Download only if new?

Postby FDM-newuser » Sat Mar 10, 2012 12:20 am

Hello,

I'm using FDM for the first time. Before I only used the browser's own download manager.

I'd like to know if it's possible to configure FDM for the following:

1. Download files for the first time;
2. Once 1. is complete, then the next time, when redownloading the same files, FDM creates a backup of the previously downloaded files, by renaming them to something like somefile.txt.fdm;

3. Once 2. is complete, then it checks the URL status;
3.3.1. If the URL status is OK, then it downloads the file;
3.3.2. If the URL status is not OK, then it renames the somefile.txt.fdm back to somefile.txt;

4. FDM should only download the new file, if there's a new version of the file in the server; otherwise it should keep the previously downloaded file.

Is it possible to configure it this way? If not, would you be willing to implement this in a future version?


Thank you
FDM-newuser

Re: Download only if new?

Postby FDM-newuser » Tue Mar 13, 2012 2:25 pm

Sorry for asking again so soon, but doesn't anyone have any idea if such can be done? I still couldn't find a way. :(
Usher
Posts: 1809
Joined: Sat Mar 20, 2010 2:37 pm
Location: Poland

Re: Download only if new?

Postby Usher » Tue Mar 13, 2012 3:58 pm

There is no way to know for sure if a file is different without downoading it or its hash. Even if you can check that file sizes and time stamps are unchanged, this info may be unuseful, when new files are available with different names or in diffferent locations.
Andrzej P. Wozniak, FDM user and forum moderator
Read "How to report a bug or a problem with FDM"
and FDM FAQ before posting
friendoffdm

Re: Download only if new?

Postby friendoffdm » Tue Apr 17, 2012 1:34 am

Usher wrote:There is no way to know for sure if a file is different without downoading it or its hash. Even if you can check that file sizes and time stamps are unchanged, this info may be unuseful, when new files are available with different names or in diffferent locations.


But, it's still usefull if the files aren't renamed or in different locations. Which by the way, the download would fail anyway. So, I don't see your explanation a reason not to support this functionality.

Return to “General forum”

Who is online

Users browsing this forum: No registered users and 6 guests