Forum Moderators: travelin cat
I wonder if anyone can help me. I have created a website that uploads images to a server, which runs fine on a PC, but whenever it someone tries it on a mac, it fails with an error message. I can post the code and error messge on here if someone will be able to help out. If so please let me know. Thanks guys
Mark
Better than sifting through code by hand might be using a good syntax checker. Often these sorts of problems are the result of one browser being more forgiving than another. If you stick to the standards, *usually* cross-platform inompatibilities disappear.
That leads to another question -- is/are the Mac user(s) going to your site with a specific browser? You may also want to find out if your users are on Mac OS 9 or earlier (classic Mac) or Mac OS X (their new Unix-based OS).
FYI, here's a link to a list of Mac browsers. Two of the most common are Safari and MSIE.
[darrel.knutson.com...]
The line of code it is causing that error on is 'myFile.PostedFile.SaveAs(Server.MapPath("..\images\" & strFileNameOnly))'
The mac users are using IE5 but im not sure what version of the mac os they are using. I have tried it on a PC using IE5 and it does work.
Any further help would be appreciated again.
Thanks guys