[DownloadWith] file: URLs

Klein Cristian cristiklein at c7.campus.utcluj.ro
Tue Apr 13 23:18:23 EDT 2004


I have modified the file objDownloadWith.js, so that it is able to handle
file: URLs.

It basically converts file://host/path1/path2/file%20name.txt to
"\\host\path1\path2\file name.txt" (note the quotes and the unescaping) and
passes these arguments to the application just like http: and ftp: does.

I though that someone is interesed, so I posed the file I changed.

BFN,
Cristi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: objDownloadWith.js
Type: application/octet-stream
Size: 3498 bytes
Desc: not available
Url : http://mozdev.org/pipermail/downloadwith/attachments/20040413/82038ba2/objDownloadWith.obj


More information about the DownloadWith mailing list