NYCPHP Meetup

NYPHP.org

[nycphp-talk] windows 98 or 2000, file uploads and name length

Marc Antony Vose suzerain at suzerain.com
Tue May 4 17:39:21 EDT 2004


Hi there:

I'm primarily an OS X user, but I have an XP box that I am testing on.

I've got a client who is using a tool I created to manage all the 
content on their site.  It includes file upload capability, and some 
of their files were getting mangled somehow in the upload process.

It looks like the browser they are using (Windows 98, IE 5, or IE 6 
on Windows 2000) is chopping the file name and inserting an ellipsis 
character.  This seems really stupid to me, since the ellipsis 
character is not part of the valid ASCII set.  Anyway, they have 
files whose names are getting changed to something like:

ABU_REP_70_2004_04_01_Certificate_for_FSC_web_page_tradema....pdf

which translates to:

ABU_REP_70_2004_04_01_Certificate_for_FSC_web_page_tradema%E2%80%A6.pdf

Therefore, browsers can't find the file, even though it is uploaded 
to the proper location.

She sent me a file that she can't upload, which is called:

FSC_STD_20_001_General_requirements_for_FSC_certification_bodies_V1_0.PDF

Obviously, this file name is long -- maybe even obnoxiously long -- 
but it's only 73 characters.

My problem is...I have tried and tried, and I can't NOT get this file 
to upload properly, on either my Mac or my XP box.

Is there some file length restriction in Internet Explorer for 
Windows 98 or 2000?  Is there something else causing these files to 
end up with phantom ellipses?

Just hoping someone has encountered this before.



-- 
Marc Antony Vose
http://www.suzerain.com/

Life feeds on life.
-- Tool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040504/32ab91c9/attachment.html>


More information about the talk mailing list