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

FTP error

 [1/4] from: fantam:mailandnews at: 28-Aug-2000 17:17


Hello, Here is the result of an interactive console session after typing
>>xoom: ftp://myname:[password--ftp--xoom--com]/backup/
and
>> read join xoom %"spaces in file.txt"
As you can see at the bottom, the error is : ** Access Error: Port none not open. ** Where: read join xoom %spaces in file.txt URL Parse: myname password ftp.xoom.com none backup/ spaces in file.txt Net-log: ["Opening tcp for" FTP] connecting to: ftp.xoom.com Net-log: [ none ["220" "230"]] Net-log: {220 ftp.xoom.com FTP server (Version XOOM FTP 1.24.3+local-release Fri Aug 28 15:52:40 P DT 1998) ready.} Net-log: [ ["USER" port/user] "331"] Net-log: "331 Password required for myname." Net-log: [ ["PASS" port/pass] "230"] Net-log: "230 User myname logged in." Net-log: [ "SYST" "215"] Net-log: "215 UNIX Type: L8 Version: BSD-199506" Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful." Net-log: [ ["CWD" either empty? port/path ["./"] [join "./" port/path]] "250"] Net-log: "250 CWD command successful." Net-log: [ ["TYPE A"] ["200"]] Net-log: "200 Type set to A." Net-log: [ [join "LIST " port/target] ["150" "125"]] Net-log: {150 Opening ASCII mode data connection for /bin/ls.} Net-log: [ none "226"] Net-log: "226 Transfer complete." Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful." ** Access Error: Port none not open. ** Where: read join xoom %spaces in file.txt -- Fantam

 [2/4] from: fantam:mailandnews at: 29-Aug-2000 21:22


With a trace/net on, one can see that Rebol parses internally the URL, and I'm wondering if this is not the source of the problem : URL Parse: myname password ftp.xoom.com none backup/ FRANCO22 final.DWP 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: [ [join "LIST " port/target] ["150" "125"]] Net-log: {150 Opening ASCII mode data connection for /bin/ls.} Net-log: [ none "226"] Net-log: "226 Transfer complete." Net-log: [ ["PORT" port/locals/active-check] "200"] Net-log: "200 PORT command successful." ** Access Error: Port none not open. ** Where: read/binary join xoom file So, is this a bug?
> Hello, > Here is the result of an interactive console session after typing
<<quoted lines omitted: 40>>
> ** Access Error: Port none not open. > ** Where: read join xoom %spaces in file.txt
-- Fantam

 [3/4] from: sterling::rebol::com at: 29-Aug-2000 13:53


Are you perhaps behind a firewall? It looks like REBOL's FTP protocol is having trouble establishing the active connection for the data. Try setting: system/schemes/ftp/passive: true and try it again. Sterling

 [4/4] from: fantam:mailandnews at: 30-Aug-2000 0:53


> Are you perhaps behind a firewall? It looks like REBOL's FTP protocol > is having trouble establishing the active connection for the data. > Try setting: > system/schemes/ftp/passive: true > and try it again.
I do have a personal firewall solution on my standalone pc, but even when I turn it off, the problem remains the same. Also, when I turn passive ftp on, I get this :
>> foreach dir xom [print dir text: read join xoom dir]
BFRENCH.DWP connecting to: ftp.xoom.com ** User Error: Server error: tcp connection failed. ** Where: text: read join xoom dir When I turn it off again, everything's fine but same as above: filenames with spaces can't be read.
> Sterling >> With a trace/net on, one can see that Rebol parses internally the URL,
<<quoted lines omitted: 21>>
>> So, is this a bug? >>
-- Fantam

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted