Keep IE from appending [1] on the end of file downloads?

  • Thread starter Thread starter yeager.josh
  • Start date Start date
Y

yeager.josh

When you download a file, IE gives you the option to either open it
directly, or to save it first. If you choose to open it, IE saves it in
Temporary Internet Files, and appends [1] to the file name.

Now, this is usually fine. But, if you open an Excel file that way, the
bracket symbols in the filename cause Excel to throw an error if you
try to rename a worksheet.

Is there any way on the server side to make IE leave off the [1] part,
and just save the file with its original name?

Thanks,
Josh
 
WYSIWYG. If you don't want the filename appended, Save the download to
another location.
 
Well, the problem is, I don't have any control over whether my users
click "Save" or "Open". I was hoping that my application could do
something to change the behavior, regardless of what the users do.
 
You could set the default to Save. (Please include all of previous
message(s) in your replies to the newsgroup.)
 
Well, the problem is, I don't have any control over whether my users
click "Save" or "Open". I was hoping that my application could do
something to change the behavior, regardless of what the users do.
 
I have the same issue, I run an online racing league, and our carfiles have a
..cts.car extension, and IE wants to append a [1] to every filename when you
try to save them. Other browsers do not do this, so it is a problem with IE.
I've been trying to find a solutions, but haven't had any luck, I was
hoping someone here could help.
 
marrant said:
I have the same issue, I run an online racing league, and our
carfiles have a .cts.car extension, and IE wants to append a [1] to
every filename when you try to save them. Other browsers do not do
this, so it is a problem with IE. I've been trying to find a
solutions, but haven't had any luck, I was hoping someone here could
help.

Generally this happens because there is already a file by the same name in
TIF.

--
Frank Saunders, MS-MVP OE
Please respond in Newsgroup only. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com./athome/security/protect/default.aspx
http://defendingyourmachine.blogspot.com/
 
....
I run an online racing league, and our carfiles have a .cts.car extension,
and IE wants to append a [1] to every filename when you try to save them.


That's because you are trying to save the file without renaming it.
Try using File, Save As... instead (and then change the name
any way you want)?


---
 
That would be fine, but the people need to have the same filename as is
uploaded to the webserver. Other browsers do not append the [1] to the
filename, just IE, and it's not an issue of having a file with the same name
already on your system, it does it no matter what. I can try to download a
file that was submitted by someone else, that isn't on my system and it does
it. We've tried using the file save as, and it still wants to append the
same thing, granted we can just delete those brackets and the number, but
alls it takes is to miss one, and the files you downloaded won't work for
you. It seems that IE has an issue if there is more than one period in the
filename. We ran a test and posted all sorts of files with a single period
in the filename and they downladed fine, without and appendages, and if the
file already existed it prompted us to overwrite them, but the files we use
have 2 periods in them ie: marrant.cts.car We added a second period and 3
letters between the two periods to a file that worked fine as a single
period, and IE immediately wanted to append a [1] to the file name. I
realize this may seem like nothing to most of you, but as an online racing
league, everyone member has to have the exact same set of carfile names in
order to run, and all carfile names have 2 periods in them. We average over
100 new files a week, that all members have to download, so trying to get
them all to simply delete the appendages is not an easy thing. I was just
trying to find out why it would do this, and a possible solution short of
recommending that all league members use a different browser to download
files.

Robert Aldwinckle said:
....
I run an online racing league, and our carfiles have a .cts.car extension,
and IE wants to append a [1] to every filename when you try to save them.


That's because you are trying to save the file without renaming it.
Try using File, Save As... instead (and then change the name
any way you want)?
 
....
We average over 100 new files a week, that all members have to download,
so trying to get them all to simply delete the appendages is not an easy thing.


Good point.

I was just trying to find out why it would do this, and a possible solution short of
recommending that all league members use a different browser to download
files.


The only thing that I can think of then is that you use .cab files or .zip files
which contain the files you want your members to download.

I think the reason that you are seeing the instance qualifier is that you are
misusing the TIF although it is not clear to me how you are getting those
files downloaded. What happens if you switch to FTP protocol for the
downloads instead?


Robert
---
 
The database the drivers upload their files to will not allow ftp access.
This is part of a CMS that allows the users to upload files to a central
database that runs the site.

We use the filenames that are used in the sim for a couple of reasons, One
we have a large amount of bandwidth usage each month, and to limit people
from using our database to transfer files other than what they are supposed
to, the only extensions they can upload are the ones we've specified. We've
used this to make it easier for our members, since they can normally just
download the file to the correct folder and don't have to worry about
unzipping it. When you are dealing with the number of files we are on a
weekly basis, this is the easiest way.

The way the files are downloaded is simple. after the members upload a file,
the CMS puts a hyper link to the file. You simply click on the file and it
downloads. Normally you are asked if you want to open the file, or save it
to disk, but either way it has the appendage to it.

Like I said before I'm at a loss, if there is a file by the name of text.txt
it will work fine, even if you have that file already in the folder you are
saving to. You are simply prompted to overwrite or not. But if you take the
exact same file, and rename it text.abc.txt then you get the appendage as
soon as you click on it. Thats why I was wondering how IE handled more than
one period in the filename.
 
....
The way the files are downloaded is simple. after the members upload a file,
the CMS puts a hyper link to the file. You simply click on the file and it
downloads. Normally you are asked if you want to open the file, or save it
to disk, but either way it has the appendage to it.

Instead of clicking does it make any difference if you right-click
and choose Save As...? E.g. perhaps doing it then would allow
you to direct the file transfer before it starts instead of after?

Like I said before I'm at a loss, if there is a file by the name of text.txt
it will work fine, even if you have that file already in the folder you are
saving to. You are simply prompted to overwrite or not. But if you take the
exact same file, and rename it text.abc.txt then you get the appendage as
soon as you click on it. Thats why I was wondering how IE handled more than
one period in the filename.


I don't know but I wouldn't be surprised to find out that the first period
is where the "extension" starts. Then because the extension is more
than 3 characters it would require a new 8.3 name (e.g. using tilde and
numbers). Perhaps that is where the version symptom arises?
You could test this and see in a cmd window with the dir/x command.


Good luck

Robert
---
 
Back
Top