Forum Moderators: coopster

Message Too Old, No Replies

upload with php form, corrupts files.

uploads and corrupts my files.

         

bneitsch

9:39 pm on Aug 28, 2006 (gmt 0)

10+ Year Member



I have a form build with php script that uploads a file to my ftp site and emails me a message but I then can not access the file because of access rights or the file is corrupt. I am not sure which one it is. Has this ever happened to anyone?

thanks
Brian...I can paste the code here if need be.

henry0

9:55 pm on Aug 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Brian Welcome to WebmasterWorld!
Please show us some script.

Keep the sample somehow short and related to the problem area.

Filipe

3:13 am on Aug 31, 2006 (gmt 0)

10+ Year Member



Sometimes sloppy uploads come from the wrong encoding type on the upload form. For example, you commonly need to use enctype="multipart/form-data" for transferring binary files.