From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4bcf77e32d0f6d2c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-21 00:18:08 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!attbi_s53.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: ftp client package References: X-Newsreader: Tom's custom newsreader Message-ID: <2Tjvb.201604$275.749760@attbi_s53> NNTP-Posting-Host: 24.6.135.22 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1069402686 24.6.135.22 (Fri, 21 Nov 2003 08:18:06 GMT) NNTP-Posting-Date: Fri, 21 Nov 2003 08:18:06 GMT Organization: Comcast Online Date: Fri, 21 Nov 2003 08:18:06 GMT Xref: archiver1.google.com comp.lang.ada:2780 Date: 2003-11-21T08:18:06+00:00 List-Id: >Yes something like this... and of course with ftp error code >propagation features (e.g. errors mapped on ada exception ..) ;-) -- Error handling: -- Some errors will raise exceptions, for instance, Claw.Not_Found_Error -- if a socket can't be opened, or Ada.Streams.Stream_IO.Name_Error -- on an attempt to Put a non-existent file. After a Claw.Windows_Error, -- call Get_Error_Code to get the ftp socket's error. (Note that -- Claw.Sockets.Image(Error_Code) can return a String description.) -- Errors due to unexpected ftp responses will raise Response_Error. -- The most recent operation, and its response (the last one if it's -- a multi-step operation) are available via Get_Last_Response.