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!

File transfer error?

Status
Not open for further replies.

Kirsle

Programmer
Jan 21, 2006
1,179
US
I've noticed that my Apache HTTP server (on a Win32 box) has some problems in transferring some files. For example, I have this 145 KB HTML document which was a lengthy conversation with somebody on AIM. When I view the file locally (the server is local), I can view the entire conversation from beginning to end. When the HTML file is viewed over the web, you can only view the first half of it. After the first half, the server seems to quit sending it and starts again, so that the second half of the webpage is exactly the same as the first half.

A similar phenomena happens with image files. A lot of images will only halfway download, and the rest of them is solid gray.

I know that the HTML and image files aren't corrupted, because if I run a CGI to read the HTML document and print it to the browser, the entire document gets to the other end in one piece. When the HTML page itself goes to the browser, the first half gets sent, then the first half gets sent again.

Example of the effect as an image:

How the image looks when downloaded through the browser:
How the image looks when saved from the browser and opened in Photoshop (after any "corrupt image" warnings):
Anybody know what could be causing this? Should I just reinstall Apache?

-------------
Kirsle.net | Kirsle's Programs and Projects
 
Updates: I tried reinstalling Apache 2.2.3 (didn't help) and tried downgrading to 2.0.59, which is a version I had a long time back which didn't give me this problem, and that didn't help either. Would firewall programs have anything to do with it?

-------------
Kirsle.net | Kirsle's Programs and Projects
 
Okay, problem resolved. Somehow it was the fault of the McAfee Personal Firewall. So I uninstalled it, restarted the machine, and the server is having no problem sending large HTML files and images now.

-------------
Kirsle.net | Kirsle's Programs and Projects
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top