Ftp.dll
2.0.20365.1313
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.
Install-Package Ftp.dll -Version 2.0.20365.1313
dotnet add package Ftp.dll --version 2.0.20365.1313
<PackageReference Include="Ftp.dll" Version="2.0.20365.1313" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ftp.dll --version 2.0.20365.1313
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ftp.dll, 2.0.20365.1313"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
Upload file via FTP/FTPS
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();
}
Download file via FTP/FTPS
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();
}
Upload file via FTP/FTPS
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();
}
Download file via FTP/FTPS
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();
}
Dependencies
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.Security.Cryptography.Xml (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.1)
Used By
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Ftp.dll:
Package | Downloads |
---|---|
Wing.CL
Wing常用类库
|
|
StealthFTPBackHandle
StealthFTPBackHandle
|
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.20365.1313 | 465 | 12/30/2020 |
2.0.20356.1224 | 115 | 12/21/2020 |
2.0.20006.1858 | 12,634 | 1/6/2020 |