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
626 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
Comment Utility
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
Comment Utility
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
Comment Utility
These are sent from a network xls file saved to my desktop.
0
 
LVL 85

Expert Comment

by:Rory Archibald
Comment Utility
Sent how exactly?
0
 

Author Comment

by:AMC80112
Comment Utility
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
Comment Utility
OK. Are you sending it internally, or externally? (or does it not matter which you do?)
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 85

Expert Comment

by:Rory Archibald
Comment Utility
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
Comment Utility
Internally.
0
 

Author Comment

by:AMC80112
Comment Utility
Added Outlook as a zone earlier.
0
 
LVL 11

Expert Comment

by:SeanStrickland
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the grade.

Cheers,
Sean
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now