faqts : Computers : Programming : Languages : PHP : Common Problems : File Uploading

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

15 of 57 people (26%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

Why are my uploaded files always zero (0) bytes?

Jan 30th, 2002 13:08
Lee Forkenbrock, Nathan Wallace, Lee Forkenbrock


Make sure you are uploading in binary mode and not ascii.  Sometimes a 
binary file will come up 0 bytes if it is transfered in ascii mode