I think I found where the missing bracket should be and solved my other query about the logic change. Based on this I've made a patch based on Scott's solution. It needs to be run before the FTP scheme is first used in a REBOL session.
I've put it in http://www.codeconscious.com/rebsite/rebol-library/patches.r Can you confirm it works for you Carl? Regards, Brett. ----- Original Message ----- From: "Brett Handley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 11, 2003 11:11 AM Subject: [REBOL] Re: Reading empty directories via FTP error > > 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. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
