Solved

What would cause an attachment to have %20 placed in all the spaces when sent as an email?

Posted on 2011-03-15
12
630 Views
Last Modified: 2012-05-11
When I try to send a file for example PR# 613478 M331SC Chesterfield 3-14-09 the receiver receives the attachment but it has been renamed to
PR#%20613478%20M331SC%20Chesterfield%203-14-09.  This happens about 80% of the time. I thought it might have something to do with the way the file was named but I seem to be the only one in my office that is having this problem.  
I have been unable to find any solutions for it.  Any help would be appreciated.
0
Comment
Question by:AMC80112
  • 4
  • 4
  • 4
12 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35137659
How are you sending the files?
(%20 is the symbol used for a space in an internet URL)
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 35138934
We use software at our company that provides a web report.  We can export excel versions of that report.  If the report name has spaces in it, those spaces are replaced with %20.

Example: "Annual Financial Report.xlsx" is converted to "Annual%20Financial%20Report.xlsx" when it's downloaded from the web.

If you're able, you can replace the spaces with underscores in the web report (if this is applicable to you), so the output would be "Annual_Financial_Report.xlsx" instead.  A little cleaner...
0
 

Author Comment

by:AMC80112
ID: 35139252
These are sent from a network xls file saved to my desktop.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35139258
Sent how exactly?
0
 

Author Comment

by:AMC80112
ID: 35139311
It's sent as an attachment using Outlook over an Exchange server.  I fill out the form save it to my documents, open a new email, attach the saved file and send.  When the file is attached it retains the name from the saved file but when it is received on the other end it has changed.
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35139347
OK. Are you sending it internally, or externally? (or does it not matter which you do?)
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35139356
FWIW, I don't think this is an Excel problem - more likely to be Exchange or Outlook, so it may be worth getting Exchange added as a zone to this question. :)
0
 

Author Comment

by:AMC80112
ID: 35139489
Internally.
0
 

Author Comment

by:AMC80112
ID: 35139499
Added Outlook as a zone earlier.
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 35139501
If you're using something similar to OWA (Outlook Web Access via a web browser), you fit right in with the scenario I painted above.  When you open the excel file from your browser, the browser converts every space to %20 (a process called URL encoding, I believe).  So when you open the file and/or save to your computer, the %20s will remain.  The easiest way around it would be to replace your spaces with underscores when naming your files prior to sending.
0
 
LVL 11

Accepted Solution

by:
SeanStrickland earned 250 total points
ID: 35139523
Here is a list of other %## signs you may see when opening an excel file from an internet browser (you're looking for the HEX codes most likely):

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

If you're using Microsoft Outlook (e.g. Outlook 2007) to open the files, then I would almost guarantee that the %20s are already in the file when you send it across to another user.
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 35139959
Thanks for the grade.

Cheers,
Sean
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question