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: atruter:labyrinth:au at: 15-Nov-2003 22:58

Hi Brett,
> Here you go then (watch line wrap) - try these together
Good news - all issues with the first site have been corrected, bad news is the second site (which had a subset of the problems) now "hangs" on the empty dir read. Trace output follows:
>> Script: {Patch for REBOL FTP protocol 226 response handling.} >> (13-Nov-2003)
No changes to open. Fixed occurrence of FTP 226 handling bug in close.
>> Script: "Patch for REBOL FTP protocol NSLT handling." (14-Nov-2003)
Fixed occurrence of FTP NSLT handling bug in open.
>> Script: "Patch for REBOL FTP protocol error handling." (14-Nov-2003)
Insert missing NET-LOG for PWD in open. Fixed occurrence of FTP error handling bug in open. Fixed occurrence of FTP error handling bug in open. Fixed occurrence of FTP error handling bug in open. Fixed occurrence of FTP error handling bug in query.
>> >> >> >> == ftp://userid:[password--www--site--com]/public_html/ >> URL Parse: userid password www.site.com none public_html/test/ none
Net-log: ["Opening" "tcp" "for" "FTP"] connecting to: www.site.com Net-log: [ none ["220" "230"]] Net-log: {220 ProFTPD 1.2.9 Server (ProFTPD) [froggy.catalog.com]} Net-log: [ ["USER" port/user] "331"] Net-log: "331 Password required for userid." Net-log: [ ["PASS" port/pass] "230"] Net-log: "230 User userid logged in." Net-log: [ "SYST" "*"] Net-log: "215 UNIX Type: L8" Net-log: ["PWD" "25*"] Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful" Net-log: [ ["CWD" either empty? port/path ["./"] [either slash = port/path/1 [port/path] [join "./" port/path]]] "25*"] Net-log: "250 CWD 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." == [%a %b]
>> URL Parse: userid password www.site.com none public_html/test2/ none
Net-log: ["PWD" "25*"] Net-log: ["Opening" "tcp" "for" "FTP"] connecting to: www.site.com Net-log: [ none ["220" "230"]] Net-log: {220 ProFTPD 1.2.9 Server (ProFTPD) [froggy.catalog.com]} Net-log: [ ["USER" port/user] "331"] Net-log: "331 Password required for userid." Net-log: [ ["PASS" port/pass] "230"] Net-log: "230 User userid logged in." Net-log: [ "SYST" "*"] Net-log: "215 UNIX Type: L8" Net-log: ["PWD" "25*"] Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful" Net-log: [ ["CWD" either empty? port/path ["./"] [either slash = port/path/1 [port/path] [join "./" port/path]]] "25*"] Net-log: "250 CWD 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." Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful" Net-log: ["NLST" "Want anything but a 500 series error"] Regards, Ashley