Spaces in filenames?

Rob Harris robh at apearl.net
Thu Feb 21 05:49:35 UTC 2008


Aaah, I forgot the %20 trick, I'll modify the program accordingly.

Thanks,  RobH.
----- Original Message ----- 
From: "Geoff Shang" <Geoff at quitelikely.com>
To: "Linux for blind general discussion" <blinux-list at redhat.com>
Sent: Wednesday, February 20, 2008 9:21 PM
Subject: Re: Spaces in filenames?


Rob Harris wrote:

> Are spaces allowed in filenames?

Absolutely!

> I shovelled some songs to my web site
> which is running apache and it is giving an error with the link yet the
> names are copied absolutely by a program generating the link list.  Do I
> have to modify all the files names and re-run and indeed re-upload all
this
> stuff?

URLs cannot contain spaces.  You either need to replace them with plus
signs (which I hardly ever see anyone do these days), or escape them as %20
(20 hexadecimal = 32 decimal which is the character number of the space
character).  So to post a link to a file called The Beatles - Help.mp3 you
use something like this:

http://yourserver.com/the%20beatles%20-%20help.mp3

If this doesn't answer your question, maybe give us a filename and the URL
for it which doesn't work.

Geoff.

_______________________________________________
Blinux-list mailing list
Blinux-list at redhat.com
https://www.redhat.com/mailman/listinfo/blinux-list


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.8/1287 - Release Date: 19/02/2008
10:55





More information about the Blinux-list mailing list