cURL / Mailing Lists / curl-library / Single Mail

curl-library

Error message from FTP operation

From: Wei Weng <wweng_at_kencast.com>
Date: Thu, 3 Jul 2003 10:43:14 -0400

Is there an API that I can use to retrieve FTP response/error message from an
FTP operation?

For example, If I do the following:

RNFR /temp/temp.txt
550 /temp/temp.txt: No such file or directory.

I want to get the "/temp... no such file or directory." as an error message.

Do I have to parse the returned headers (with the response code in the front)
myself?

Thanks

Wei

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-03