You need to upload files in BINARY MODE

See FAQ

http://forums.buyscripts.in/viewtopic.php?t=31