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

[REBOL] Reading empty directories via FTP error

From: carl:cybercraft at: 24-Dec-2003 22:45

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