Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Spaces and plusses in filenames

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#SpacesAndPlusses or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/SpacesAndPlusses


I have had to solve problems involving spaces and plusses in filenames and Notes. Here are my findings so far. These are continuously updated.





 

The rule of thumb is do not use spaces or plusses "+" in filenames. If you have to, use underscores.

 

In detail: if you use spaces, Domino converts them to plusses.

eg: "My Profile.doc" will be stored in URLs as "My+Profile.doc" .

 

If the user then edits the document using word, and saves the document it will be saved as "My+Profile.doc" and if the document is then reattached to a docinon document the confusion will start because domino will try and launch the attached document "My Profile.doc".

If you actually change the plus in the url to be %2B it will work ok.

So basically don't use plusses or spaces in filenames.

It might be worth putting a warning note next to the File upload buttons on the web page if this happens a lot, or writing code to test this at thr front end. May be I will get a round to this one day.

 

NB Translating spaces to plusses is an old HTML pracice, most applications translate spaces to %20 now. See http://www.notesninjas.com/#CharsInURL for details.

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Lotus Notes 5 All-in-one Certification Exam Guide by Libby Schwarz, Ben Malekzadeh
Sort out your CLP with this book.
See at: Amazon.co.uk | Amazon.com |