Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!
If you have any problems with the registration process or your account login, please contact us.
|
|
|
%20 in file names
microsoft.public.internetexplorer.general
|
|

02-23-2010
|
|
|
|
%20 in file names
When I download files with spaces in the file names IE replaces the
spaces with %20
I haven't noticed this with other versions of IE and I would like it
to leave the file name as it is. is there an option, or patch or
upgrade available for this?
|
|

02-23-2010
|
|
|
|
Re: %20 in file names
IE has always done this. Since spaces in file names are considered illegal
HTML, it's up to the web authors to correct it by using hyphens, underbars,
etc.
<die.spam@hotmail.com> wrote in message
news:6565cd1c-f4ac-4fb0-b49f-efc41843d0a2@b7g2000pro.googlegroups.com...
: When I download files with spaces in the file names IE replaces the
: spaces with %20
:
: I haven't noticed this with other versions of IE and I would like it
: to leave the file name as it is. is there an option, or patch or
: upgrade available for this?
:
|
|

02-23-2010
|
|
|
|
Re: %20 in file names
On Feb 24, 11:27*am, "Tom Willett" <t...@youreadaisyifyoudo.com>
wrote:
> IE has always done this. Since spaces in file names are considered illegal
> HTML, it's up to the web authors to correct it by using hyphens, underbars,
> etc.
>
Yes but spaces in file names are legal on the Windows operating
system. I don't want to have a legal URL, I am downloading Excel
spreadsheets and saving them to a directory, yes IE is treating the
file name like a URL.
|
|

02-23-2010
|
|
|
|
Re: %20 in file names
<die.spam@hotmail.com> wrote in message
news:3bf539a3-b087-41af-a457-5443eee5beec@c37g2000prb.googlegroups.com...
> On Feb 24, 11:27 am, "Tom Willett" <t...@youreadaisyifyoudo.com>
> wrote:
>> IE has always done this. Since spaces in file names are considered
>> illegal
>> HTML, it's up to the web authors to correct it by using hyphens,
>> underbars,
>> etc.
>>
>
> Yes but spaces in file names are legal on the Windows operating
> system. I don't want to have a legal URL, I am downloading Excel
> spreadsheets and saving them to a directory, yes IE is treating the
> file name like a URL.
Well it would do, wouldn't it? What do you expect?
|
|

02-24-2010
|
|
|
|
Re: %20 in file names
> Well it would do, wouldn't it? What do you expect?
For it to treat it for what it really is, a file, not a hyperlink.
|
|

02-24-2010
|
|
|
|
Re: %20 in file names
Hi,
That is done by the programmers of the web site. They have the option of
specifying a filename for the file to be saved as from their server side
code regardless of the correctness of the hyperlink they use to launch the
download. Things get really tricky when you are using filenames that are in
unicode languages.
Regards.
<die.spam@hotmail.com> wrote in message
news:ca2ebade-aba6-463e-ab1a-8fba3cb83ec1@u5g2000prd.googlegroups.com...
> > Well it would do, wouldn't it? What do you expect?
>
> For it to treat it for what it really is, a file, not a hyperlink.
>
|
|

02-24-2010
|
|
|
|
Re: %20 in file names
On Feb 24, 12:49*pm, "rob^_^" <iecustomi...@hotmail.com> wrote:
> Hi,
>
> That is done by the programmers of the web site. They have the option of
> specifying a filename for the file to be saved as from their server side
> code regardless of the correctness of the hyperlink they use to launch the
> download. Things get really tricky when you are using filenames that are in
> unicode languages.
>
> Regards.
>
in some cases that is true, but this is a file someone else has
uploaded to the site, with spaces in the name, on the directory the
file has spaces in its name, if I download it with firefox it has
spaces in its name too. Just IE decides to remove them.
|
|

02-24-2010
|
|
|
|
Re: %20 in file names
Once you download, rename it using - or _ instead of spaces.
<die.spam@hotmail.com> wrote in message
news:785fe92b-1985-46a2-b930-8980c1fcf01a@m35g2000prh.googlegroups.com...
On Feb 24, 12:49 pm, "rob^_^" <iecustomi...@hotmail.com> wrote:
> Hi,
>
> That is done by the programmers of the web site. They have the option of
> specifying a filename for the file to be saved as from their server side
> code regardless of the correctness of the hyperlink they use to launch the
> download. Things get really tricky when you are using filenames that are
> in
> unicode languages.
>
> Regards.
>
in some cases that is true, but this is a file someone else has
uploaded to the site, with spaces in the name, on the directory the
file has spaces in its name, if I download it with firefox it has
spaces in its name too. Just IE decides to remove them.
|
|

02-25-2010
|
|
|
|
Re: %20 in file names
<die.spam@hotmail.com> wrote in message
news:6565cd1c-f4ac-4fb0-b49f-efc41843d0a2@b7g2000pro.googlegroups.com...
> When I download files with spaces in the file names IE replaces the
> spaces with %20
>
> I haven't noticed this with other versions of IE and I would like it
> to leave the file name as it is. is there an option, or patch or
> upgrade available for this?
>
Are you sure the spaces are not there when viewing with Windows Explorer? IE
will replace spaces with %20 because it uses URIs, for instance starting
with file:///, where a space is an illegal character and it will show these
as %20; which is the URI encoded version of the hex value 20, which is the
decimal value 32, and ASCII character 32 is space.
For instance, I've just put a file on a UNC here name \\server\share\test
file.txt . IE shows this in the address bar at
file:///server/share/test%20file.txt, which for a properly formatted URI is
correct. The filename itself does not have %20 in it though.
If you are downloading files and they are having the space replaced with
%20, then I would suggest you try again with all add-ons disabled - if it
works correctly then you have an add-on loaded that is changing the file
name.
--
Dan
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 12:59.
|
|