JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 10.03.2020, 14:40
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default Different hosters and file sizes but with same name

I messed up and renamed two different files to the same name in the same package. Both file has different in file sizes.

The 2nd file has the status of 'Finished(Mirror)' but the strangest thing is that the 2nd file Filesize also inherited the file size of the 1st.

Rename 2nd file in jd to its original name resulted in renamed the actual downloaded on the harddrive thru file 1 url.

might need filesize check to actually know for sure both files are the same not just the name.
Reply With Quote
  #2  
Old 10.03.2020, 16:10
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 63,166
Default

Hi,

this is pretty much our default mirror handling.

Quote:
Originally Posted by zreenmkr View Post
might need filesize check to actually know for sure both files are the same not just the name.
You can do exactly this.
Settings --> Advancved Settings --> generalsettings: mirror detection decision
--> Change this to FILENAME_FILESIZE

Please keep in mind that this may result in other issues as most websites will only provide unsafe filesize information e.g. "10.8 MiB".
For services with an API which often provide filesizes by bytes e.g. uploaded.net, this will work great but the majority of all services only provides unsafe information.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 11.03.2020, 10:41
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

cool, changed from AUTO to FILENAME_FILESIZE

Quote:
most websites will only provide unsafe filesize information e.g. "10.8 MiB".
In the cased described what is safest tolerant for: Settings --> Advancved Settings --> generalsettings: mirror detection file size equality

I do notice some duplication files listed as 10.80MiB vs 10.79MiB - no problems here with the default setting.

The incident I had was, 1st file is 204.50MiB vs 2nd file is 242.23MiB. So it is not even close. And why 2nd file of 243.23MiB was set to 204.50Mib to match 1st file size on the 'Size' column?
Reply With Quote
  #4  
Old 11.03.2020, 10:51
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,460
Default

I don't think it even gets checked under auto, reason for the resizing ? No idea, guess jiaz would be best to answer that.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 03:13.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.