.NET Framework provides comprehensive support for the FTP protocol with the FtpWebRequest and FtpWebResponse classes. These classes are derived from WebRequest and WebResponse. In most cases, the WebRequest and WebResponse classes provide all that's necessary to make the request, but if you need access to the FTP-specific features exposed as properties, you can typecast these classes to FtpWebRequest or FtpWebResponse.
This article is specific to projects that target .NET Framework. For projects that target .NET 6 and later versions, FTP is no longer supported.
FTP and proxies
Submit and view feedback for