File upload problem
Hi
This is reg tha file upload problem .The problem i am facing is whenever i upload a word document innto my server(Redhat linux 6.2) via FTP or server side scripts, the non aphabetical characters get converted into their ASCII equivalent.(Page break gets conv into ---Page Break--- and so on).The document is not getting corrupted it is getting formated.But if i Zip this word doc it works fine.All other uploads(.txt,.gif,.jpeg work fine).Is there any setting problems???? |
I'd turn binary mode on. It should help.
|
Make sure you use "binary" mode BOTH ways, not just to upload.
|
Yeah, do not use ASCII for the uploading. Instead of it, type "bin" in the ftp console, and everything should work fine. Thanks
|
Re
Hi
Thanks everyone for ur advise but the saga continues. The ftp type works fine if i set the upload type as binary.But i am facing problem in HTTP type of upload.For HTTP upload i am using a PHP script with Apache webserver.Can anyone tell me if have to make these settings in the Apache webserver or PHP.ini |
All times are GMT -5. The time now is 03:43 PM. |