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: carl:cybercraft at: 24-Dec-2003 22:46

On 11-Nov-03, Brett Handley wrote:
> 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 > > Can you confirm it works for you Carl?
I'm afraid it doesn't, but Scott's solution does (after I put the missing bracket in.) Except... Except I'd got in touch with Nebularis, (one of my hosts), explaining the problem to them and asking if they got the same error using REBOL - and they did - and they fixed it: "I got the ftp listings working via REBOL. My assumption that REBOL expects certain response on an empty directory was correct. This just required a simple modification to the FTP server." Which is fine as far as it goes, except if I've implimented Scott's solution I can no longer access the Nebularis server... ** Access Error: Network timeout ** Where: confirm That may be just due to the logic error you think is in Scott's code, though. So, could you provide a copy of parse-dir-list the way you think it should be modified and I'll try it to see how it behaves. And thanks to you and Scott for your replies. It's nice to finally be getting somewhere with this. -- Carl Read