I have a script that uploads .ZIP, .SIT or .SEA files via ftp from a web page all works OK except some clients can not upload files even though they are as stated above. I notice that there are various or alternate MIME types for these type of files.
ie.
.zip = application/x-compressed
.zip = application/x-zip-compressed
.zip = application/zip
.zip = multipart/x-zip
.sit = application/x-sit
.sit = application/x-stuffit
.sea = application/sea
.sea = application/x-sea
when I am checking the MIME type before upload do I need to list all these alternates with an OR statement?
How do I know if I have a list of ALL the alternates for each file type when many resources only list one or two?
Can anybody please explain why there is more than one per file type, do various browsers read the file type differently? or different platforms ie. MAC / PC?
I'm sure this is a simple issue but it is bugging the heck out of me!