Hi,

another problem of the ftp handler is error handling (see
http://www.rebol.net/list/list-msgs/32024.html)

one patch i tested a little is this:

old:

    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]] [

patched:

        repeat x length? connections [
            conn: system/words/pick connections x
            if all [ conn conn/host = temp conn/user = port/user
             ;romano
             not error? catch [throw-on-error [get-cur-dir conn]]
            ]

this kind of patch can be used also in other points of the handler code, but i
did not tested it (some erros must happen other errors must not), in this
specific case no error must be throw back to the calling code.

---
Ciao
Romano

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to