Can not download 4.5 GB zip file.

websolpro

New member
Joined
Dec 6, 2008
Messages
3
Hi,

I am using DirectAdmin. I am unable to download 4.5 GB zip file to local computer.

First of all it is not showing its file size.

secondly when i click on file i got error.
Forbidden
You don't have permission to access /Al1baba23bV3sda3a27adsda3xda/Script_Files.zip on this server.

Note: but it is showing file size by SSH/command, ls -l
-rw-r--r-- 1 domainand domainand 4294976292 Dec 8 04:23 Script_Files.zip
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:40 xaa
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:41 xab
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:41 xac
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:42 xad
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:42 xae
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:43 xaf
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:43 xag
-rw-r--r-- 1 domainand domainand 524288000 Dec 7 18:43 xah
-rw-r--r-- 1 domainand domainand 100672292 Dec 7 18:43 xai

Please see screenshot. Thanks.

Is there any download limit in php.ini or httpd.conf ?

What is the veriable ? how i can increase it. Thanks.

Regards,
Web Solution Provider
http://www.websolpro.com
 

Attachments

  • DA-1.gif
    DA-1.gif
    6.6 KB · Views: 166
Last edited:
First, that's a large file; any http or php download is going to probably time out.

Second, 4.5G is very large; make sure your target system can manage files that large (many cannot).

Jeff
 
Short answer: don't even bother with it, split the file.

Long answer:

Unfortunately many *nix systems still have some problems with files >2GB, because of an annoying glibc default backward compatibility feature.

Usually precompiled programs installed from an official linux distribution repository are NOT compiled to support files >2GB, with some ecceptions (I remember pure-ftpd on Debian, for example; if I well remember proftpd will fail instead).

If you really, really want to be able to access that file without splitting it you should try with any simple method known (FTP, SFTP(SSH), HTTP) and if all of this methods fail you will have to compile your own server (and/or client if you are on linux) making sure you configure it to define "_FILE_OFFSET_BITS=64". That's the magic key.

Any Windows client usually supports >2GB files, but pay attention to the 2GB file size limit on FAT32 -- you should download on NTFS.
 
Back
Top