On 09-Nov-03, Brett Handley wrote:

> That's odd. I get an empty block returned when I create an empty
> directory on my website and then read it.

> Maybe you should trace the connection and see what conversation the
> server is having with REBOL.

Except I don't know how to do that. :)

I get the error using different OSs, different versions of REBOL and
from two different ftp servers.  If it's a bug, I'm sure someone must
have hit it before me.

Anyway, I've found I get an empty block returned if I use a port
instead of an URL, so that provides a way around it.  Would've been
easier using an URL though...

Carl.

>> When I attempt to get a directory listing via FTP and the
>> directory is
>> empty I get this error...

>>>> read dir
>> ** Access Error: Port none not open
>> ** Where: parse-dir-list
>> ** Near: read dir

>> I would've expected it to return an empty block, or perhaps none.
>> No
>> problems when there's files in the directory.  Any way round this,
>> other than by examining the error returned?

-- 
Carl Read

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to