Re: Spaces in filenames?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Thanks,  RobH.
----- Original Message ----- 
From: "Geoff Shang" <Geoff@xxxxxxxxxxxxxxx>
To: "Linux for blind general discussion" <blinux-list@xxxxxxxxxx>
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@xxxxxxxxxx
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


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

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]