Anyone?? file uploads received, but mangled
| From: | af at ax-im dot com | Date: | Mon, 27 Jan 2003 23:48:55 +0000 |
| Subject: | Anyone?? file uploads received, but mangled | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-133318@lists.php.net to get a copy of this message | ||
Hi all.
Last try -- I know there's a lot of noise in this group, but could someone please offer an
opinion?
Is the following possible to work around, or is it a bug that I should be reporting?
I'm having issues uploading files whose names don't necessarily end with the correct
extension, in particular plain text files which don't end in .txt. (Why they don't is
complicated, and it's impractical to insist that they must.) The files are received, but
altered -- they are prepended with garbage data which makes them difficult to deal with in an
elegant automated way, which is the whole point.
No doubt this is a mime type issue, as the files are received as type
"application/x-macbinary" when sent from OSX IE (its best guess, I suppose). Is there any
way to force plain text, or raw data? All I want to happen is for the files to be uploaded
completely unchanged.
Btw, this happens with PHP 4.2.3 on OSX (entropy.ch), and with the latest 4.3 on OpenBSD.
Thanks,
Alex
af@ax-im.com