r codes
(that some ftp clients show to users, for example a message "not enough
space left on device")
Thanks in advance, fantam
--
[EMAIL PROTECTED]
st)
> path: (url-obj/path)
> target: (url-obj/target)
> ]
> ]
> ;e.g usage
> ; read authenticate ftp://ftp.securesite.com/private/file.dat
> ; read authenticate http://www.securesite.com/private/file.dat
> ;--
> Cheers,
> Allen K
--
Fantam
ile
Thanks in advance for your thoughts on this.
--
Fantam
quot;Specifying Network Resources" section above for more detail.
--
Fantam
-log: "226 Transfer complete."
>> Net-log: [
>> ["PORT" port/locals/active-check] "200"]
>> Net-log: "200 PORT command successful."
>> ** Access Error: Port none not open.
>> ** Where: read/binary join xoom file
>>
>> So, is this a bug?
>>
--
Fantam
ORT command successful."
> Net-log: [
> ["CWD" either empty? port/path ["./"] [join "./" port/path]] "250"]
> Net-log: "250 CWD command successful."
> Net-log: [
> ["TYPE A"] ["200"]]
> Net-log: "200 Type set to A."
> Net-log: [
> [join "LIST " port/target] ["150" "125"]]
> Net-log: {150 Opening ASCII mode data connection for /bin/ls.}
> Net-log: [
> none "226"]
> Net-log: "226 Transfer complete."
> Net-log: [
> ["PORT" port/locals/active-check] "200"]
> Net-log: "200 PORT command successful."
> ** Access Error: Port none not open.
> ** Where: read join xoom %spaces%20in%20file.txt
--
Fantam
port/path]] "250"]
Net-log: "250 CWD command successful."
Net-log: [
["TYPE A"] ["200"]]
Net-log: "200 Type set to A."
Net-log: [
[join "LIST " port/target] ["150" "125"]]
Net-log: {150 Opening ASCII mode data connection for /bin/ls.}
Net-log: [
none "226"]
Net-log: "226 Transfer complete."
Net-log: [
["PORT" port/locals/active-check] "200"]
Net-log: "200 PORT command successful."
** Access Error: Port none not open.
** Where: read join xoom %spaces%20in%20file.txt
--
Fantam
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?
>>> type? ftp://usr:[EMAIL PROTECTED]/test/test%20test.txt
> == url!
>>
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:[EMAIL PROTECTED]/test/test test.txt
Thanks a lot
--
Fantam
I see. Thanks.
Also, I thought that when you create a word within the body of a function without
declaring it as local, it would still be local, and not a global one,
as it really is.
daniel
> Hi Fantam,
> you're shooting yourself in the foot.
> 1. The solution
>>> list
Marvelous. I'll try to remember all this.
Thanks again.
> Hi Fantam
> You wrote:
>> What a wonderful explanation. Thank you for the insight, Larry.
>>
> You are welcome! I realized after my post that there is another important
> point about 'bind and contex
make block! 100]
count: count + 1
foreach name read dir [
if dir? dir/:name [
append dirtree dir/:name
list-dirs dir/:name
]
]
dirtree
]
print list-dirs dir
halt
--
Fantam
Yes, you are right, nothing is wrong with this method, on the
contrary, it may be the most elegant solution. I just wanted to
understand how it had to be done with 'bind (see Larry's message), how
you can take an existing word and change its context.
> Fantam wrote:
>> I am
What a wonderful explanation. Thank you for the insight, Larry.
> HI Fantam
> The problem is that the word 'member inside the block referenced by 'code is
> bound to the global context when the script is loaded, and it remains so
> when the "do code" is
script:
pcn> REBOL []
pcn> block: ["a" "b" "c"]
pcn> code: [print member]
pcn> foreach member block [do code]
pcn> Upon execution, I get :
pcn> ** Script Error: member has no value.
pcn> ** Where: print member
>>>
pcn> I guess I have to use 'bind or 'use somewhere, but I'm not sure which
pcn> and how.
pcn> Thanks for your help
--
Fantam
aniel
tjwc> Hi Fantam:
>> I am confused. Consider this small script:
>>
>>REBOL []
>>
>>block: ["a" "b" "c"]
>>code: [print member]
>>foreach member block [do code]
tjwc> but this works:
tjwc> block: ["a" &quo
;use somewhere, but I'm not sure which
and how.
Thanks for your help
--
Fantam
Hello all,
Does anybody know a *free*, rebol-friendly web hosting service, ie. one
where you would be allowed to run cgi scripts written in rebol?
Thanks in advance
--
Best regards,
Fantam mailto:[EMAIL PROTECTED]
18 matches
Mail list logo