[REBOL] Re: Reading empty directories via FTP error
From: atruter:labyrinth:au at: 12-Nov-2003 12:09
> Hi Ashley,
>
> For your errors, the 226 error looks like something my patch file fixes.
> But
> as you have not mentioned trying it, I'll repeat the URL again:
> http://www.codeconscious.com/rebsite/rebol-library/patches.r
No luck ;(
>> write site/test/a2 "a"
URL Parse: userid password www.site.com.au none public_html/test/ a2
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 1 of 50 allowed."
Net-log: {220-Local time is now 11:53 and the load is 1.11. 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/test"
Net-log: [
["TYPE I"] ["200"]]
Net-log: "200 TYPE is now 8-bit binary"
Net-log: [
["STOR" port/target] ["150" "125"]]
Net-log: "150 Connecting to port 1263"
Net-log: ["low level write of " 1 "bytes"]
Net-log: [
none "226"]
Net-log: "226-66555.9 Mbytes free disk space"
>> write site/test/b2 "b"
URL Parse: userid password www.site.com.au none public_html/test/ b2
** User Error: Server error: FTP 226-File successfully transferred
** Near: write site/test/b2 "b"
I'm wondering if it isn't just easier to [under Windows] do a "Map Network
Drive" and then work on the remote file systems directly. Anyone had any
luck with this?
Regards,
Ashley