IE dot (.) bug?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm writing a control that downloads a file to the user, using
Content-disposition:attachment;filename="Foo.bar.doc"
When the file downloads, IE opens it as Foo[1].bar.doc. Is there any way to
work around this behavior? The numbering of the files downloaded is sensitive
(for revision control), so it would be ideal to keep the name the same.

Thanks in advance,
Peter L.
 
I'm writing a control that downloads a file to the user, using
Content-disposition:attachment;filename="Foo.bar.doc"
When the file downloads, IE opens it as Foo[1].bar.doc.

Isn't this due to the fact that you already have foo.bar.doc on your machine
in the place it is downloading too?

-Darrel
 
Nope, the doc isn't located anywhere on my local machine. The problem occurs
only if there is more than one "." Foo.doc will download correctly, but
Foo.bar.doc will add the [1], even on a document that's never been on the
client machine.

Peter l.

darrel said:
I'm writing a control that downloads a file to the user, using
Content-disposition:attachment;filename="Foo.bar.doc"
When the file downloads, IE opens it as Foo[1].bar.doc.

Isn't this due to the fact that you already have foo.bar.doc on your machine
in the place it is downloading too?

-Darrel
 
Nope, the doc isn't located anywhere on my local machine. The problem occurs
only if there is more than one "." Foo.doc will download correctly, but
Foo.bar.doc will add the [1], even on a document that's never been on the
client machine.

I'm not being much help to the specific problem, but may I ask why you're
using two dots in your filename? That might cause confusion with folks that
use the 'hide file exensions' feature in Windows.

-Darrel
 
It's not our choice. Basically it's a naming scheme to identify documents
that must be used by the department we're working with. IE- documents are
named "DPM 4.22", and that convention must be upheld in the filename (DPM
4.22.pdf)

Peter L.
 
...
I'm writing a control that downloads a file to the user, using
Content-disposition:attachment;filename="Foo.bar.doc"
When the file downloads, IE opens it as Foo[1].bar.doc. Is there any way to
work around this behavior? The numbering of the files downloaded is sensitive
(for revision control), so it would be ideal to keep the name the same.

Hi Peter,

I wrote a document management application for our organisation and
experienced exactly the same problem as you have identified - in the first
instance we prevented users from having .'s in there version numbers, but
being the NHS this caused problems as there were already documents (hard
copies) out there that had to be entered onto the system and a 1.1 for
example was neccessary. I never did get a suitable resolution to this. I
suppose - if it could be implemented you could use other characters, ie 1-1,
1-2, 1-2-1 etc - not ideal I know - but it would be
something...alternatively live with the square brackets (as we've done for
now)..

Sorry I cant be more help.

Regards

Rob
 
Back
Top