Ftp.dll - .NET FTP and FTPS component
FTP component and FTPS component for .NET framework. It allows you to transfer files from your application using FTP and FTPS (also known as FTP over SSL/TLS) protocols.
Written entirely in managed code and works with Mono and .NET 2.0, 3.0, 3.5 and 4.0 including Mono.
Features
- FTP and FTPS protocols
- SSL support (FTPS component included)
- Active and Passive FTP modes
- Automatic directory listing parser for the majority of popular FTP servers on Windows, Unix and Netware platforms.
- IPv6 support (in both FTP component and FTPS component)
- UTF-8 support
- Checksum validation for remote (XCRC, XMD5, XSHA1) and local files
- REST command support - resume file transfers after interruption
- MDTM (last modified time) and SIZE (the file size) commands support
- Upload and download to or from memory or disk
- Stream support - read from and write to remote files on the fly
- Creating and deleting files and folders
- Uploading, downloading, deleting files using file (*.txt) or regex patterns
- Deleting folders recursively
What folks are saying about Ftp.dll
- Best FTP component for .NET, reasonable price and superb support.
Quick start samples
-
Upload file using C#
using(Ftp ftp = new Ftp())
{
ftp.Connect("ftp.server.com"); // or ConnectSSL for SSL
ftp.Login("user", "password");
ftp.ChangeFolder("uploads");
ftp.Upload("report.txt", @"c:\report.txt");
ftp.Close();
}
-
Download file using C#
using(Ftp ftp = new Ftp())
{
ftp.Connect("ftp.server.com"); // or ConnectSSL for SSL
ftp.Login("user", "password");
ftp.ChangeFolder("downloads");
ftp.Download("report.txt", @"c:\report.txt");
ftp.Close();
}
-
Upload files using patterns in C#
using (Ftp ftp = new Ftp())
{
ftp.Connect("ftp.server.com"); // or ConnectSSL for SSL
ftp.Login("user", "password");
ftp.CreateFolder("reports-2011");
ftp.UploadFiles("reports-2011", @"c:\reports",
new LocalSearchOptions("*.txt", true));
ftp.Close();
}
-
Download files using patterns in C#
using (Ftp ftp = new Ftp())
{
ftp.Connect("ftp.server.com"); // or ConnectSSL for SSL
ftp.Login("user", "password");
Directory.CreateDirectory(@"c:\reports");
ftp.DownloadFiles("reports-2011", @"c:\reports",
new RemoteSearchOptions("*.txt", true));
ftp.Close();
}
-
Upload file using VB.NET
Using ftp As New Ftp
ftp.Connect("ftp.server.com") ' or ConnectSSL for SSL
ftp.Login("user", "password")
ftp.ChangeFolder("uploads")
ftp.Upload("report.txt", "c:\report.txt")
ftp.Close()
End Using
-
Download file using VB.NET
Using ftp As New Ftp
ftp.Connect("ftp.server.com") ' or ConnectSSL for SSL
ftp.Login("user", "password")
ftp.ChangeFolder("downloads")
ftp.Download("report.txt", "c:\report.txt")
ftp.Close()
End Using
-
Upload files using patterns in VB.NET
Using ftp As New Ftp()
ftp.Connect("ftp.server.com") ' or ConnectSSL for SSL
ftp.Login("user", "password")
ftp.CreateFolder("reports-2011")
ftp.UploadFiles("reports-2011", "c:\reports", _
New LocalSearchOptions("*.txt", True))
ftp.Close()
End Using
-
Download files using patterns in VB.NET
Using ftp As New Ftp()
ftp.Connect("ftp.server.com") ' or ConnectSSL for SSL
ftp.Login("user", "password")
Directory.CreateDirectory("c:\reports")
ftp.DownloadFiles("reports-2011", "c:\reports", _
New RemoteSearchOptions("*.txt", True))
ftp.Close()
End Using
Our customers
Next steps