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

[REBOL] Re: FTP woes

From: rotenca:telvia:it at: 22-Oct-2003 17:08

I have not a real solution, but i think that there are one or more bugs in the open function of the FTP handler. The first suspect code is this: repeat x length? connections [ conn: system/words/pick connections x if all [conn conn/host = temp conn/user = port/user not error? catch [get-cur-dir conn]] it should be: repeat x length? connections [ conn: system/words/pick connections x if all [conn conn/host = temp conn/user = port/user not error? try [get-cur-dir conn]] the simple catch is not enough in this case. But i think that this is not the only point of the FTP handler where this happens and i am not sure if this point is the point which caused your error. The other points are: [not proxy not passive error? catch [listen-port: get-port port]] and either error? catch [net-utils/confirm port/locals/cmd-port active-check] I think that all must be checked to see if the catch is enough and if try is a valid substitute (it could mask some errors which should instead be reported back to the user). --- Ciao Romano