I have an FTP class that I can get the response code (or description) as expected:
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
response.StatusCode;
Due to a bug in mono for uploading, we have coded a work around that does not use the FTPWebRequest and related classes but uses the ftp client (on linux).
In .Net/Mono the FtpWebResponse class looks up the code to get the description
response.StatusDescription
How can I look up the description for the return code that I have from my ftp client?