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

[REBOL] Re: Reading empty directories via FTP error

From: brett:codeconscious at: 11-Nov-2003 11:11

Hi Scott, Well done on isolating the error. I'm just wondering though if your corrected function has the right logic. The original function closes the port outside the IF block for "IF empty? file-list" but you have moved it inside along with the lines starting port/locals/dir-cache: So I guess I'm wondering if there needs to be another close for the case when the IF fails and also whether those extra lines for the directory cache should have been moved? I don't know one way or the other - just looking at what has changed. Regards, Brett.