Spaces and other non-standard characters in filenames will cause issues.

You could escape the non-alphanumerics...

<a href="/documents/interview%20with%20john%20smith%20%231.doc">

....but from my experience that will only work with IE. Firefox/Mozilla
will still choke.

We're pretty adamant 'round here that filenames that are to be
accessible via a hyperlink must contain only letters, numbers, and
underscores.

On 7/21/05, E C list <[EMAIL PROTECTED]> wrote:
> Hi Folks,
> 
> In my document management application, I have recently
> run into a problem.  I have some documents which were
> named with pound signs in their name "interview with
> john smith #1.doc" for instance.  When I link to this
> file name, the link doesn't work:
> 
> <a href="/documents/interview with john smith
> #1.doc">Download file a</a>
> 
>   It will generate a 404 file not found.  So the
> question is, why does this happen? Is this a document
> encoding issue?  Can anyone suggest a solution aside
> from just renaming the file before its saved?
> 
> Thank you.
> 
> 
> 
> 
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212402
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to