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

[REBOL] Re: Goin' nuts, man!

From: gscottjones:mchsi at: 28-Feb-2003 15:37

Hi, Ed,
> Petr Krenzelok wrote: > > URL, please? :-)
From: "Ed Dana"
> Sorry, I ain't postin' it. :) It included a user/password. Private, you > know... > > See my response to Elan.
You like to make things challenging. :) I don't think anyone would have wanted to to post your username and password, nor even necessarily even give the real website, but sometimes posting even a munged version gives ideas as to what may be going wrong. We all know that ftp gives more than its fair share of problems. I assume that you are doing something like the following: ftp-info: read ftp://myname:[mypassword--ftp--mysite--com]/ and that even this simple query is not working. Some of the causes can include problems such as: 1) the username may include an non-standard simple (like the ampersand), like: [myname--mysite--com] 2) your site has limited number of logons under ftp and you have exceeded it I'll put aside these sorts of issues for now. The one error that you gave shows that REBOL is unable to complete the logon because it is not receiving the correct "stimulus/response" pairs. When the ftp scheme asks the net-utils to confirm a proper logon, it passes the following block as a check: open-check: [ none ["220" "230"] ["USER" port/user] "331" ["PASS" port/pass] "230" "SYST" "*" ] It looks for 220 or 230, then sends USER myname. It waits for 331, and then sends PASS mypass. It waits for 230 then sends SYST and waits for *. Likely something not fully standard is being passed, thereby messing up the sequence. The best way to dissect this problem is to type: trace/net on and *then* do your ftp access. The somewhat lengthy listing will give an excellent idea of where REBOL is hanging. Frequently easy patches can be applied to let REBOL play nice with slightly non-standard ftp servers. If you give this a try, and the problem is not obvious, you may wish to post the trace/net response (with any sensitive info munged to your satisfaction) and then we'll have more to go on. I hope that gives you some ideas on how to proceed. --Scott Jones