Would http://ant-contrib.sourceforge.net/tasks/urlencode.html help?

Jan


> -----Ursprüngliche Nachricht-----
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 14. Dezember 2004 15:12
> An: ant_user (E-Mail)
> Betreff: problem generating file link with blanks
> 
> 
> Hi,
> 
> i'm generating a file:// link out of a filenameproperty.
> 
> Works fine, but if filename contains a blank it fails :
> 
> file://\\lan.xxx.xx/bla/prc\test\04_12\ Base 
> Application_r_1_5_0_rc43.doc
> 
> The file is moved to that location before.
> 
> So, i have to trim the blanks out of the file name, rename 
> it, then move
> and set the link.
> 
> How to trim the blanks out of a filename and rename it with result ?
> 
> Gilbert
> 
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to