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. Regards, Brett. ----- Original Message ----- From: "Carl Read" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 08, 2003 12:43 PM Subject: [REBOL] Reading empty directories via FTP error > > 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. > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
