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

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

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

On 15-Nov-03, Brett Handley wrote:
> Hi Carl, >> I tried them and ftp worked with no problems on the two sites I've >> talked about till now. >> But I have access to one other server, so yesterday I thought I'd >> try >> it with your parse-dir-list fix - but imediately noticed access >> via >> REBOL's FTP wasn't returning all the file-names in the first >> directory I looked at! This is nothing to do with your code, as it >> happens with REBOL's original code. There's 24 files and >> directories >> in the directory when I look at it with my FTP client, but REBOL >> only >> returns 10 of them. Anyone heard of this problem before? > Eeek! As Romano pointed out - parse rules. But I'm not so happy that > there is no error generated. > Carl can you try this on the server with the above problem - all it > does is poke in NET-LOG tracing statements to emit the results from > LIST and NLST (file-list really). If the info returned by LIST or > NLST is not sensitive it would good to see it (permissions/names > changd for safety if necessary) and/or perhaps you could send it > "off-list". > http://www.codeconscious.com/ftp-testing/patch-ftp-list-logging.r
I get a file-not-found with that I'm afraid. URL wrong or script not uploaded, perhaps? For what it's worth, this is what trace/net returns from my third server...
>> read -url-
URL Parse: -user- -password- -url- none web/ none Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful." Net-log: [ ["TYPE A"] ["200"]] Net-log: "200 Type set to A." Net-log: [ ["LIST"] ["150" "125"]] Net-log: {150 Opening ASCII mode data connection for file list.} Net-log: [ none "226"] Net-log: "226 Transfer complete." == [ -10 files, not 24 like it should be- ] -- Carl Read