I am trying to use the upload service and noticed that the getName()
function of FileItem works for every browser and platform as I would
expect it to except for IE on PC (I don't have a Mac to test with).
It gets the name of the original file on the user's machine, without
path information. With IE, I get the full path, ugly backslashes and
all. The server is on a linux machine, so as you can imagine, the
filenames look interesting. Is there some kind of workaround other
than doing a lastIndexOf("\\") and grabing the end of the string? What
if the file is uploaded from a UNIX machine and has a literal "\" in
the filename? Of course, using backslashes in filenames on a UNIX
system is punishable by death, but I want to make sure the fix is
complete.
I am using TDK 2.1 and IE 6.0 to test. Mozilla 1.0 works fine (under
Windows and Linux).
Later,
--
\ Craig Patrick McDaniel
/_\ Software Engineer
/_/_\ n + 1, Inc.
/_/_/_\ [EMAIL PROTECTED]
/_/_/_/_\ (502) 479-5557
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>