[REBOL] Re: Reading empty directories via FTP error
From: atruter:labyrinth:au at: 13-Nov-2003 13:13
Hi Brett,
> Carl and Ashley could you incorporate the code below and test it please:
No luck with the "empty dir" problem. ;(
>> URL Parse: userid password www.site.com.au none public_html/test3/ none
Net-log: ["Opening" "tcp" "for" "FTP"]
connecting to: www.site.com.au
Net-log: [
none ["220" "230"]]
Net-log: {220---------- Welcome to Pure-FTPd 1.0.14 ----------}
Net-log: "220-You are user number 2 of 50 allowed."
Net-log: {220-Local time is now 13:08 and the load is 1.29. Server port:
21.}
Net-log: "220-This is a private system - No anonymous login"
Net-log: {220 You will be disconnected after 30 minutes of inactivity.}
Net-log: [
["USER" port/user] "331"]
Net-log: "331 User userid OK. Password required"
Net-log: [
["PASS" port/pass] "230"]
Net-log: "230-Your bandwidth usage is restricted"
Net-log: "230-User userid has group access to: 2000 "
Net-log: "230 OK. Current directory is /"
Net-log: [
"SYST" "*"]
Net-log: "215 UNIX Type: L8"
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 OK. Current directory is /public_html/test3"
Net-log: [
["TYPE A"] ["200"]]
Net-log: "200 TYPE is now ASCII"
Net-log: [
["LIST"] ["150" "125"]]
Net-log: "150 Connecting to port 1099"
Net-log: [
none "226"]
Net-log: "226-Options: -l "
Net-log: "226 0 matches total"
Net-log: [
["PORT" port/locals/active-check] "200"]
Net-log: "200 PORT command successful"
** Access Error: Port none not open
** Where: parse-dir-list
** Near: read join site %test3/
>>
Regards,
Ashley