[axel-devel] [axel-Bugs][311324] 4GB file size limit

axel-bugs at alioth.debian.org axel-bugs at alioth.debian.org
Sun Dec 28 18:31:47 UTC 2008


Bugs item #311324, was opened at 28/12/2008 18:31
Status: Open
Priority: 3
Submitted By: R VK (rvk-guest)
Assigned to: Nobody (None)
Summary: 4GB file size limit 


Initial Comment:
Hi,

Before all thanks a lot to developers for this great tool.

But I couldn't download files >=4294966272 bytes (4GB). I got the following error :
"Connection 0 finished
Write error!"

So by looking at the axel.c file, I've declared j as a long long integer :
--- axel-2.2/axel.c	2008-10-13 23:08:27.000000000 +0200
+++ axel-2.2.1/axel.c	2008-12-28 19:10:36.000000000 +0100
@@ -261,8 +261,8 @@
 void axel_do( axel_t *axel )
 {
 	fd_set fds[1];
-	int hifd, i, j;
-	long long int size;
+	int hifd, i;
+	long long int j, size;
 	struct timeval timeval[1];
 	
 	/* Create statefile if necessary				*/


And then no more file size limit.
I Hope that it could help.

Greets,

Rodrigue

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413085&aid=311324&group_id=100070



More information about the axel-devel mailing list