Duplicated copy of files

Find a Bug in the app, site or forums? Please report it immediately so we can squash it as soon as possible.

Duplicated copy of files

Postby genetix » Fri Feb 17, 2017 12:10 pm

Hmm, first of uGet is probably best damn downloader I've seen for a while, no spam or other crap and works almost flawless.

Few things:

"Bug" A. Duplicates:

- For some reason files are being duplicated when multiple connections are used to get the file at download properties. Program returns:

filename.ext
filename.ext.0
filename.ext.1
filename.ext.0.0

in worst cases.. all 4 files match MD5 and seems to be identical while there is no identical name downloads which would explain above. It's kinda nasty when for example I use uGet to download anything between 2-20GB files in 20GB case that will take 80GB, heh.

Feature:

- DHT network, if torrent, properties and trackers.
- At least a files inside (to exclude some of torrent content) would be nice.
genetix
 
Posts: 2
Joined: Fri Feb 17, 2017 12:00 pm
uGet Version: 2.0.8
Operating System: Windows Nt 6.x
System Architecture: x64
Windows Version: 7/8/8.1/10 (tested)

Re: Duplicated copy of files

Postby chhuang » Wed Feb 22, 2017 3:33 pm

If you download filename.ext, uGet will...
1. check exist filename.ext and filename.ext.aria2 in disc.
2 if you have filename.ext but filename.ext.aria2 not found, create filename.ext.0
3 if file size is difference between remote file and local file, create filename.ext.0

if filename.ext.0 exists, uGet may create filename.ext.0.0 in above case.
Last edited by chhuang on Mon Mar 13, 2017 8:28 pm, edited 2 times in total.
chhuang
Site Admin
 
Posts: 193
Joined: Tue Sep 04, 2012 6:35 am
uGet Version: 2.1.4
Operating System: Linux
System Architecture: 64bit
Linux Distro: Fedora
Windows Version: 7

Re: Duplicated copy of files

Postby genetix » Tue Mar 07, 2017 5:25 am

chhuang wrote:If you download filename.ext, uGet will...
1. check exist filename.ext and filename.ext.aria2 in disc.
2. if you have filename.ext but filename.ext.aria2 not found , create filename.ext.0
3. if size of filename.ext is different from remote filename.ext, create filename.ext.0

if filename.ext.0 exists, uGet may create filename.ext.0.0 in above case.


That's a really interesting style of handing "if exists". I mean I code some and usually when something exists it's renamed, overrided, appended or deleted. What I mean is:

1. if exist 'filename.ext' -> dialog append/override/cancel
2. if "filename.ext"-LOCKED -> skip -> notify -> cancel

Of cource I don't understand the ".aria2"-concept should read about it a bit I suppose, but I'm guessing it's some sort of sparse file. So, why would uGet ever write to "filename.ext"-original filename, if temporary file is created as ".aria2", if exists ".aria2.0" with dialog 1. above ?
genetix
 
Posts: 2
Joined: Fri Feb 17, 2017 12:00 pm
uGet Version: 2.0.8
Operating System: Windows Nt 6.x
System Architecture: x64
Windows Version: 7/8/8.1/10 (tested)

Re: Duplicated copy of files

Postby chhuang » Mon Mar 13, 2017 8:34 pm

Program use aria2 control file (.aria2) to resume download.
https://aria2.github.io/manual/en/html/technical-notes.html

When download completed, program will delete .aria2 file.
chhuang
Site Admin
 
Posts: 193
Joined: Tue Sep 04, 2012 6:35 am
uGet Version: 2.1.4
Operating System: Linux
System Architecture: 64bit
Linux Distro: Fedora
Windows Version: 7


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron