Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

spaces in file names

 [1/6] from: fantam:mailandnews at: 19-Aug-2000 22:12


Hi, I know you have to enclose file names with spaces within brackets. %"/c/test/test test.txt" But how do you manage file names with spaces in URLs. For example, ftp://usr:[pass--ftp--ftp--com]/test/test test.txt Thanks a lot -- Fantam

 [2/6] from: al:bri:xtra at: 20-Aug-2000 8:37


Fantam wrote:
> But how do you manage file names with spaces in URLs? >> type? ftp://usr:[pass--ftp--ftp--com]/test/test test.txt
== url!
>> to url! join ftp://usr:[pass--ftp--ftp--com]/ %"test/test test.txt"
== ftp://usr:[pass--ftp--ftp--com]/test/test test.txt I hope that helps! Andrew Martin ICQ: 26227169 http://members.xoom.com/AndrewMartin/

 [3/6] from: ralph:abooks at: 19-Aug-2000 16:35


> Hi, > I know you have to enclose file names with spaces within brackets.
<<quoted lines omitted: 5>>
>-- >Fantam
escape the spaces out with a ' ' such as: ftp://usr:[pass--ftp--ftp--com]/test/test test.txt --Ralph Roberts

 [4/6] from: brian::hawley::bigfoot::com at: 19-Aug-2000 15:44


[Fantam--mailandnews--com] wrote:
> I know you have to enclose file names with spaces within brackets. > %"/c/test/test test.txt" > > But how do you manage file names with spaces in URLs. > For example, > > ftp://usr:[pass--ftp--ftp--com]/test/test test.txt
ftp://usr:[pass--ftp--ftp--com]/test/test test.txt Brian Hawley

 [5/6] from: fantam:mailandnews at: 21-Aug-2000 16:56


Excellent. Thanks. And thanks to all the others that offered the solution. It's a pleasure to be on this list!
> Fantam wrote: >> But how do you manage file names with spaces in URLs?
<<quoted lines omitted: 6>>
> ICQ: 26227169 > http://members.xoom.com/AndrewMartin/
->><- -- Fantam

 [6/6] from: jeff:rebol at: 21-Aug-2000 8:21


Howdy, Andrew and Fantam and all:
> >>> to url! join ftp://usr:[pass--ftp--ftp--com]/ %"test/test > >>> test.txt" > > == ftp://usr:[pass--ftp--ftp--com]/test/test test.txt
The to-url is redundant, actually: join ftp://ftp.example.com/ %"spaces in file.txt" == ftp://ftp.example.com/spaces in file.txt You can also do: site: ftp://ftp.example.com/ site/%"spaces in file.txt" == ftp://ftp.example.com/spaces in file.txt Above is handy if you're doing a number of files.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted