FtpWebRequest and the PWD, SIZE and MDTM methods

As you may have already noticed, the FtpResponseStream does not contain the result of PWD, SIZE and MDTM methods. You can get those from the FtpWebResponse properties   To get the result of the PWD method (WebRequestMethods.Ftp.PrintWorkingDirectory) check the FtpWebResponse.StatusDescription property To get the result of the SIZE method (WebRequestMethods.Ftp.GetFileSize) check FtpWebResponse.ContentLength property To get…

1