comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: ftp client package
Date: Fri, 21 Nov 2003 08:18:06 GMT
Date: 2003-11-21T08:18:06+00:00	[thread overview]
Message-ID: <2Tjvb.201604$275.749760@attbi_s53> (raw)
In-Reply-To: d37844cb.0311202257.2491ab71@posting.google.com

>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.



  reply	other threads:[~2003-11-21  8:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 16:21 ftp client package Volkert
2003-11-20 18:39 ` tmoran
2003-11-21  6:57   ` Volkert
2003-11-21  8:18     ` tmoran [this message]
2003-11-21 20:13       ` Randy Brukardt
2003-11-24  6:52         ` Volkert
2003-11-24  7:09           ` tmoran
2003-11-24  8:05             ` Adrian Hoe
2003-11-24 16:24               ` Volkert
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox