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

[REBOL] exists? and URL!

From: jelinem1::nationwide::com at: 3-Oct-2001 15:22

; First strangeness:
>> exists? ftp://user:[pass--members--home--net]/junk1/
connecting to: == false
>> exists? ftp://user:[pass--members--home--net]/junk1/
== true ; Second strangeness: directories junk1, junk2 do not currently exist
>> make-dir/deep %/d/junk1/junk2 ; This correctly creates junk1, and junk2
as a subdirectory == %/d/junk1/junk2/
>> make-dir/deep ftp://user:[pass--members--home--net]/junk1/junk2/
connecting to: ** User Error: Server error: tcp 550 .//junk1/: No such file or directory ** Near: m-dir path return path The second strangeness is actually my problem. Guess I'll have to look at the source for make-dir and in any case code my own that works for URLs. - Michael