Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to download files from site

Status
Not open for further replies.

brlarsa

Technical User
Nov 9, 2005
10
SE
Hi
People are unable to download files from my webserver. A file that i know is about 70KB end up 0 byte when downloaded.

My webserver config is:
Windows XP pro
Apache/2.0.39 (Win32) PHP/4.2.2

Example of file to download.
The same file compressed with rar
And heres a whole bunch of rpf files
The file is a replayfile from the game Ghost Recon. For watching a game afterwards.

Is there any modification in httpd.conf to do to make the downloads possible?

Hope anyone can help me :blink:

Regards
larsa
 
The sever has been down for a couple of hours. Its up and runing again.
 
My guess is that it's some mim-type encoding problem. If I just click the link, I get a blank window in FF or IE. When I right-click & save-as, my only option is to save as a text file. This is out of my area of expertise, but something might turn up by researching and related links.
 
Hi

smah said:
My guess is that it's some mim-type encoding problem.
This was my first thought too. But today for both files the returned [tt]Content-type[/tt] is text/plain. ( Yesterday the .rpf had [tt]Content-type[/tt] application/replay. ) So I think there is something else.

If you make the request with [tt]telnet[/tt] and specify HTTP/1.0 protocol ( or send a [tt]Connection[/tt] header with close, to not default to keep-alive ), then will see, that the server send the HTTP response header then the connection is suddenly closed.

Have you any firewall installed ?

Feherke.
 
I could do it when i get home. I am at work now.
 
Do you think its got anything with the firewall to do?
 
Hi

No idea. The webserver seems to work, so the next possibility is firewall. Another thing I would try, is to serve that file with something else then Apache. On Linux with the [tt]netcat[/tt] command line tool, like this :
Code:
cat http_header.txt Farm_replay.rpf | netcat -l -p 80
But no idea for Windows. If you already have another webserver, you may give it a try.

By the way. Look at the access_log and error_log. Maybe is something loged. If nothing usefull, change the [tt]LogLevel[/tt] to debug, to log more details. ( That one refers to system log, not the access. )

Feherke.
 
Hi
Yes i got a linux server aswell runing Trustix.
I use it as a TeamSpeak server and webserver.
I have no problem downloading various filen from that one, including *.rfp files.
I will change to LogLevel on the Windows server to see if something turns up that could be of interest.

Thanks for the help so far.

Larsa
 
This appears in the error log when atempting to download a file from the server

[Fri Nov 11 13:06:10 2005] [info] (23496)Overlapped I/O event is not in a signaled state. : core_output_filter: writing data to the network

And this in the access log

82.182.134.83 - - [11/Nov/2005:13:06:10 +0100] "GET /replays/old/1390_replays.rar HTTP/1.1" 200 62862669

And turning of the firewall didnt do it.

Any ideas?
 
By the way, the debug LogLevel didnt tell anything about it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top