Page 1 of 2

Cannot download .rar file from server

Posted: Mon Sep 06, 2004 3:38 pm
by James M.
Hey, i havent been here in a while. I have a .rar file that I put on my server for a friend to upload but for some reason it will only uplaods 696kb but the file is bigger then a GB. Does anyone know what the problem is? I am runnin an apache 2.0 server btw.

Posted: Mon Sep 06, 2004 3:42 pm
by feyd
could be script time out, upload time out, size exceeded.. there's mutliple possiblities.

Posted: Mon Sep 06, 2004 3:59 pm
by James M.
He only uploads for less then a second and it only give him that little chunk of the file. I dont have it on a page, its just a folder and you can see all the files. There is no problem with uplaoding .zip files but .zip files can't hold as much as .rar. Would adding .rar as an application type in apache work?

Posted: Mon Sep 06, 2004 4:07 pm
by feyd
I don't remember apache caring much about the filetype, unless it's downloading.. and even then, that's just to use a handler or not..

Posted: Mon Sep 06, 2004 4:11 pm
by James M.
STill confuses me that a .zip file will trnasfer as a file but a .rar file has all that trouble.

Posted: Mon Sep 06, 2004 4:22 pm
by feyd
where is this upload happening? from a script? if so, post it.. I'll move the thread.

Posted: Mon Sep 06, 2004 4:27 pm
by James M.
There is no script all you do is click the link to the files folder and that leads you to a folder, no page, and you see all the files there and just downlaod them. You can just click and download every program type in that folder except .rar files. My friend is downloading off my server which is running off my computer.

Posted: Mon Sep 06, 2004 4:35 pm
by feyd
then stop mixing upload and download in your posts, silly. :P :lol:

Posted: Mon Sep 06, 2004 4:51 pm
by James M.
lol, sorry. So what would usually be the problem when a certain file type cannot be downlaoded correctly from a server?

Posted: Mon Sep 06, 2004 4:58 pm
by feyd
not too sure. A handler/type may be intercepting it and truncating the file. There can be a multitude of reasons.. PM me a link to this file and I can check a few things..

Posted: Mon Sep 06, 2004 4:59 pm
by James M.
Well I am inside a college network and have yet seen anyone outside the network get in so I dont think that will work. Unless you know how to get through.

Posted: Mon Sep 06, 2004 5:03 pm
by feyd
ok.. then write a quick script to retrieve the headers sent when that request it made.. that may lead to some details.

Posted: Mon Sep 06, 2004 5:12 pm
by James M.
All the php i know and I dont know how to do that, or i might know but forgot. Can you explain real quick, Ill most likely catch on an write up a script in a few mins (might be a little rusty since I stopped php so go into 3d for a little bit :) )

edit: BTW i think the sites mailing server is down because I am not getting notifications about replies.

Posted: Mon Sep 06, 2004 5:15 pm
by feyd

Posted: Mon Sep 06, 2004 5:38 pm
by James M.
Here is the header to the file:

Code: Select all

HTTP/1.1 200 OK Date: Mon, 06 Sep 2004 22:39:56 GMT Server: Apache/2.0.48 (Win32) PHP/4.3.7 Last-Modified: Mon, 06 Sep 2004 09:30:24 GMT ETag: "22a73-e905778e-87cb8d20" Accept-Ranges: bytes Content-Length: 3909449614 Content-Type: text/plain; charset=ISO-8859-1