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:47

On 14-Nov-03, Brett Handley wrote:
> Hi >> > Thinking more on this, given the whole NLST handling (if empty? >> > file-list [....]) is a second bite of the cherry at getting a >> > directory list, and if you can assume that your FTP server will >> > always respond to the LIST command in a way that REBOL can parse, >> > you could probably cut the whole NLST handling from >> > parse-dir-list and happily ignore most of this thread. :-) >> >> Quite possibly, since I've just tried it and it works for me. ;) > Ahah. So I was on the right track. > Not to be beaten by this - I've hammered away at it and eventually > built my own dodgy FTP server to replicate the problem and get a > different perspective on things. I think I see light at the end of > the tunnel!! - or it could be an oncoming heavy vehicle.... > Playing with my dodgy server I've found that my last fix - was soooo > close, but I screwed up by closing the listen-port - I should have > left it open. Here then is some code that makes my dodgy server > happy. While I was at it, I added a net-log call to show the hidden > NLST communication. > Please tell me that's the end of the tunnel :-)
Well - I came out the other side without a scratch, so, daylight for me! No problems at all on either server. Good work, Brett! But what say Ashley? -- Carl Read