Trouble with Spaces in File Names

  • Thread starter Thread starter mike
  • Start date Start date
M

mike

I have some files I put on the internet page that have spaces in them.

They are actually located like: http://myplace.com/myfiles/excel
file.xls

I serve them out using a cfm script like:

Content-Disposition:attachment; filename=excel file.xls

The when excel opens them it tries to find them in some nebulous
temporary directory first with file.xls, then with excel.xls ( all the
while saying 'the file could not be assessed' with the user pressing ok
), then finally I guess it puts excel file.xls together and it opens up
in excel.

While I'd like to give the user fifty lashes with a wet noodle for
putting spaces in a file name is it possible to tell excel not to parse
the filename coming to it and use the whole thing?

Or, is there some other work aound I am missing?

Mike
 
I have no idea but some weirdness still remains with spaces in filenames so
is there any way you can include quotes, single quotes, or maybe create a
string? You're on your own coding it but the wet noodle would be the
preferred hot fix IMHO :)

Charlie
 
Back
Top