| Claus Mygind 2005-11-18, 11:23 am |
| I came across a small problem with the execellent utility by Micheal Nuwer.
This is a quick utility that allows you to build in file transfers to your
web pages.
Anyway the problem occurs when you have file names with spaces in them ie:
My File.doc.
This is not a problem when using IE but if you are using FireFox the file
name will be truncated to My.
For a better explantion go to this link
http://kb.mozillazine.org/ Filename...br />
_download
The fix is very easy however.
1. Open HTTPFILETRANSFER.CC
2. change the delimiters as follows
Exiting Line:
this.fOut.puts("Content-Disposition: attachment;
filename="+cFilename)
Revised Line:
this.fOut.puts('Content-Disposition: attachment;
filename="'+cFilename+'"')
3. Compile this .cc and any app that references this app and your done.
In other words simply change the existing double quotes to single, then add
closing qoutes after the cFilename variable.
|