homepage Welcome to WebmasterWorld Guest from 54.167.75.155
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Uploading .zip files via http post
RussellC




msg:911099
 5:23 pm on Jan 31, 2003 (gmt 0)

I created a php script to upload large files. It is mainly used for uploading large plain text directory listings. Today someone uploaded a .zip file and it worked but you cant open the .zip file. It changed to file size from around 300k to about 750k and made it unreadable. Is there somethign I have to do to make this work? The server is a Redhat Linux 8.0 box with apache 2.0 and the latest vers of php and mysql.
Thanks.

 

seindal




msg:911100
 4:32 am on Feb 1, 2003 (gmt 0)

Have you inspected the uploaded file with an editor to see if it has been encoded in some way.

Maybe you have seen in emails that some non-ascii characters are displayed as =XX, for example =0A for ascii 10, newline.

If for some reason the file has be subjected to some similar kind of binary to clear text encoding, that would explain the increase in size, including the order of magnitude of the increase.

Just a guess, though.

René

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved