Ftp.dll is a .NET FTP component and FTPS component. It allows you to transfer files from and to your application using FTP and FTPS (also known as FTP over SSL/TLS) protocols. Includes automatic directory listing parser for the majority of popular FTP servers on Windows, Unix and Netware platforms. Uses transfer compression (zlib) resulting in 3-4 times faster data transfers.
$ dotnet add package Ftp.dllFtp.dll is a .NET FTP component and FTPS component. It allows you to transfer files from and to your application using FTP and FTPS (also known as FTP over SSL/TLS) protocols.
Includes automatic directory listing parser for the majority of popular FTP servers on Windows, Unix and Netware platforms.
Uses transfer compression (zlib) resulting in 3-4 times faster data transfers.
using(Ftp ftp = new Ftp())
{
ftp.Connect("ftp.server.com"); // or ConnectSSL for SSL/TLS
ftp.Login("user", "password");
ftp.ChangeFolder("uploads");
ftp.Upload("report.txt", @"c:\report.txt");
ftp.Close();
}
using(Ftp ftp = new Ftp())
{
ftp.Connect("ftp.server.com"); // or ConnectSSL for SSL/TLS
ftp.Login("user", "password");
ftp.ChangeFolder("downloads");
ftp.Download("report.txt", @"c:\report.txt");
ftp.Close();
}