> How can I handle this error. I think in this case read
> should return an empty list, not throw an error.
> 
> Daniel

To handle the error, surround your reading
code like this:

        if error? set/any 'err try [
                list: read ftp-dir
        ][
                ; an error occurred
                ; set list to empty
                list: copy []
        ]


Anton.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to