Exporting files with spaces in filenames

David Johnson-Davies <[email protected]> Fri, 20 Feb 2004 10:09:28 +0000
Newsgroups gmane.lisp.cl-http
Message-ID <BC5B8D58.EFCF%[email protected]>
Can anyone help?

I am exporting a directory of GIF images with:

(export-url "/gifs/" :directory "recursive-p t)

so I can link to them in Web pages. However, some of the filenames contain
spaces, eg "my font.gif", and it doesn't seem to work whether I put:

<a href="http://www.mysite.com/my%20font.gif">Link</a>

or:

<a href="http://www.mysite.com/my font.gif">Link</a>

Is there some way I can turn on escaping of filenames on export, or do I
need to do this by hand somehow?

David Johnson-Davies

+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.

Tel: +44 1223 314934, Fax: +44 1223 462562
Email: [email protected], Web: http://www.interface.co.uk/
+------------------------------------------------------------+