[REBOL] Re: Rebol and FTP (recursive stuff in particular)
From: mat::eurogamer::net at: 14-Dec-2000 23:14
HK> I'll double-check with Sterling, but AFAIK current experimental versions
HK> do close the control connection first if another connection to the same
HK> host has to be opened. At least that is the behavior I get here. Which
HK> version are you using ?
HK> "cd .." does not work if a component in the path is a softlink. E.g. if
HK> you have just read "/foo/" and next want to read "/bar/" then "cd .."
HK> does not always get you back to "/", because "/foo" might actually point
HK> to "/a/b/c/d/", and then "cd .." would only get you to "/a/b/c/".
Yes, I had a good think about it. I see what you mean. It's a real can
of worms. FTP clients even have work-arounds for different servers and
HK> "cd ~" works on some servers, but not all, "cd /" works on some servers, but
HK> not all :-).
If it supported a couple of the main ones (ServU, IIS, ProFTP etc) -
this would be a start.
>> then how would you recommend a recursive directory scan be
>> implemented in Rebol?
HK> Just do a sequence of reads.
Well that's the point, it wont close the threads and you get some
arcane internal error the instant your connection is refused because
of too many users logged on. Rather like that internal error FTP
writes started making for no good reason on Serv-U after day or so...
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com