Welcome to WebmasterWorld Guest from 54.196.232.162

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

upload with php form, corrupts files.

uploads and corrupts my files.

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

New User

5+ Year Member

joined:Aug 28, 2006
posts:1
votes: 0


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.

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

Senior Member from US 

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2003
posts:4388
votes: 2


Brian Welcome to WebmasterWorld!
Please show us some script.

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

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

Preferred Member

10+ Year Member

joined:Apr 25, 2002
posts:470
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members