Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list, with a list item that contains an attachment. I was horrified to see that the link to the attachment doesn't work if the attachment file name contains a space.

I'm amazed that SharePoint will even allow you to store file names with spaces, if it doesn't know how to handle them correctly.

Is there some kind of server setting that you can set to "Handle attachment file name spaces" correctly? Or is this a known limitation with Sharepoint? If yes, please tell me this issue is fixed in 2010?

Update

I've narrowed it down to " +" in the filename a space directly followed by a + sign. Space alone works fine.

share|improve this question
    
Interesting edge case, not seen this before. Just tested on 2010, not an issue - anyone else seen this in 2007? –  Charles Lee Jun 25 '10 at 18:30
    
Nope its definitely not an issue with 2007, looks like its specific to your system. Ive tested on 2007 and 2010 –  MichalPisarek Jun 25 '10 at 23:59
    
I've been able to reproduce this issue quite easily in SP2007. It seems list item attachments allow + characters to be included in the file name, but breaks when trying to access the attachment –  Paul Lucas Sep 1 '10 at 7:24

3 Answers 3

up vote 1 down vote accepted

I'm surprised that you were able to get file names containing + signs into SharePoint as they are on the list of characters that SP just doesn't like. Here's a link to a blog post by Joel Oleson on the subject that lays out just about anything you'd want to know about filenames, folder names and SharePoint 2007.

http://blogs.msdn.com/b/joelo/archive/2007/06/27/file-name-length-size-and-invalid-character-restrictions-and-recommendations.aspx

share|improve this answer

I've also found that some outside emails that come into an internal address with no body or signature will not grab the attachment.

share|improve this answer

There is a known issue with Sharepoint and spaces in file names. Spaces become %20. Files with spaces are 250 characters or longer and eventually your sharepoint site will fill up and become unusable. You need to ensure that file names do not contain spaces, ie replace with underscores or dashes or run the name together removing all spaces.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.