Voltar ao ranking

robinrodricks/FluentFTP

C#

An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#.

ftpftp-clientftpsssltlsunixiisnet-corenet-standardnet-frameworkuwp
Crescimento de estrelas
Estrelas
3.4k
Forks
678
Crescimento semanal
Issues
19
1k2k3k
out. de 2016jan. de 2020abr. de 2023jul. de 2026
README

FluentFTP

Version Downloads GitHub contributors License OpenSSF Best Practices

A project by Robin Rodricks & Michael Stiemke

FluentFTP is a fully managed FTP and FTPS client library for .NET & .NET Standard, optimized for speed. It provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP transfers, UTF-8 support, Async/await support, Powershell support and more.

It is written entirely in C#, with no external dependency. It has an extensive automated test suite which tests all its functionality against local FTP server docker containers.

FluentFTP is released under the permissive MIT License, so it can be used in both proprietary and free/open source applications.

Features

Features

  • Full support for FTP, FXP, FTPS, FTPS with TLS 1.3, FTPS with client certificates and FTPS Proxies
  • Full support for over 30 FTP server types with integration tests for all major servers
  • File management:
    • File and directory listing for all major server types (Unix, Windows/IIS, Azure, Pure-FTPd, ProFTPD, Vax, VMS, OpenVMS, Tandem, HP NonStop Guardian, IBM z/OS and OS/400, Windows CE, Serv-U, etc)
    • Fully recursive directory listing and directory deletion (manual recursion and server-side recursion)
    • Easily upload and download a file from the server with progress tracking
    • Easily upload and download a directory from the server with easy synchronization modes
    • Easily transfer a file or folder directly from one server to another using the FXP protocol
    • Conditionally transfer files using rule based whitelisting and blacklisting
    • Automatically verify the hash of a file & retry transfer if hash mismatches
    • Configurable error handling (ignore/abort/throw) for multi-file transfers
    • Easily read and write file data from the server using standard streams
    • Create, append, read, write, rename, move and delete files and folders
    • Recursively deletes folders and all its contents
    • Get file/folder info (exists, size, security flags, modified date/time)
    • Get and set file permissions (owner, group, other)
    • Absolute or relative paths (relative to the "working directory")
    • Compare a local file against a remote file using the hash/checksum (MD5, CRC32, SHA-1, SHA-256, SHA-512)
    • Dereference of symbolic links to calculate the linked file/folder
    • Throttling of uploads and downloads with configurable speed limit
    • FTP monitors to monitor folders on FTP servers and trigger events when files are added/changed/removed
  • FTP protocol:
  • Asynchronous support:
    • Synchronous and asynchronous methods using async/await for all operations
    • Asynchronous support for the IAsyncEnumerable pattern for GetListing methods (see GetListingAsyncEnumerable)
    • All asynchronous methods can be cancelled midway by passing a CancellationToken
    • All asynchronous methods honor the ReadTimeout and automatically cancel themselves if timed out
    • Asynchronous support for progress tracking of file transfers during data upload/download
    • Implements its own internal locking in an effort to keep transactions synchronized
  • Extensible:
    • Easily add custom logging/tracing functionality using industry-standard ILogger interface
    • Easily add support for custom non-standard FTP servers (see the Custom Servers page)
    • Easily add support for more file or directory filtering rules (simply extend FtpRule)
    • Easily add support for more proxy types (simply extend FtpClientProxy)
    • Easily add unsupported directory listing parsers (see the CustomParser example)
    • Easily add your own Powershell commands by extending the scripts in FluentFTP.ps1

Releases

Stable binaries are released on NuGet, and contain everything you need to use FTP/FTPS in your .Net/CLR application.

| Package | Latest Version | Downloads | Docs | |--------------- |----------- |----------- |-----------| | FluentFTP | Version | Downloads | FluentFTP Docs | | FluentFTP.Logging | Version | Downloads | Logging Docs | | FluentFTP.GnuTLS | Version | Downloads | GnuTLS Docs |

For usage see the Quick Start Example and the Documentation wiki.

For features and fixes per release see Release Notes.

Server Support

FluentFTP is a client library that can connect to these FTP servers and perform all FTP operations.

Server FTP/FTPS Integration Tests Special Features
Azure FTP i i ✔️ Detected by Domain, Auto Configuration
Apache FTP i i
ABB IDAL i i
BFTPd i i
Cerberus i i
CrushFTP i i
FileZilla Server i i
FritzBox i i
FTP2S3 Gateway i i
glFTPd i i
GlobalScape EFT i i
Homegate FTP i i
Huawei HG5xxx i i
HP NonStop/Tandem i i ✔️ NonStop File Listing
IBM z/OS i i ✔️ zOS API, File Listing, File Size, Paths
MikroTik RouterOS i i
OpenVMS i i ✔️ VMS File Listing, Paths, Capability Assumption
ProFTPD i i ✔️ SITE RMDIR and SITE MKDIR Commands
PureFTPd i i
PyFtpdLib i i
Rumpus i i
Serv-U i i ✔️ RMDA Command
Solaris FTP i i
Titan FTP i i
TP-LINK i i
VsFTPd i i
Windows CE i i ✔️ Windows File Listing
Windows Server/IIS i i ✔️ Windows File Listing
WS_FTP i i
WuFTPd i i ✔️ Capability Assumption
XLight i i

Platform Support

FluentFTP works on .NET and .NET Standard/.NET Core.

| Platform | Binaries Folder | |--------------- |----------- | | .NET 4.6.2 | net462 | | .NET 4.7.2 | net472 | | .NET 7.0 | net70 | | .NET 8.0 | net80 | | .NET 9.0 | net90 | | .NET Standard 2.0 | netstandard2.0 | | .NET Standard 2.1 | netstandard2.1 |

FluentFTP is also supported on these platforms: (via .NET Standard)

  • Mono 4.6
  • Xamarin.iOS 10.0
  • Xamarin.Android 10.0
  • Universal Windows Platform 10.0

Binaries for all platforms are built from a single Visual Studio Project. You will need the latest Visual Studio to build or contribute to FluentFTP.

Example Usage

To get started, check out the Quick start example in C#.

We also have extensive examples for all methods in C# and VB.NET.

Documentation and FAQs

Check the Wiki.

Tests

We have an extensive automated test suite that tests FluentFTP against many servers. We use docker to orchestrate containerized FTP servers that are used for testing.

Security

We have a state-of-the-art security system to prevent many known FTP attacks.

Sponsorship

FluentFTP has received major sponsorship from these generous organizations:

Microsoft Corporation

Has FluentFTP made a difference for you or your organization? If so, consider becoming a sponsor to help keep the project thriving. Even a small monthly contribution, like $20, can make a meaningful impact.

Contributors

Special thanks to these awesome people who helped create FluentFTP!

Reporting Vulnerabilities

Any security vulnerabilities that are found can be reported to the project owner at r o b i n r o d r i c k s 7 at g m a i l. No other direct correspondence will be entertained.

Software Support

FluentFTP has received free software from these generous organizations:

JetBrains provides cutting-edge IDE and developer productivity tools. Balsamiq provides rapid and effective wireframing and UI design tools. YourKit provides a market-leading intelligent Java Profiler and .NET Profiler.
Repositórios relacionados
rclone/rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

GoGo ModulesMIT Licensegolanggo
rclone.org
58.6k5.2k
curl/curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

COtherhttphttps
curl.se
42.4k7.3k
aria2/aria2

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.

C++GNU General Public License v2.0cpp11http
aria2.github.io
41.5k3.9k
ShareX/ShareX

ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.

C#GNU General Public License v3.0screen-capturescreen-recorder
getsharex.com
38.7k3.9k
electerm/electerm

📻Terminal/ssh/sftp/ftp/telnet/serialport/RDP/VNC/Spice client(Linux, Mac, Windows, Android)

JavaScriptnpmMIT Licenseelectronelecterm
electerm.org
14.5k1.2k
mickael-kerjean/filestash

:file_folder: Universal File Storage Client

GoGo ModulesGNU Affero General Public License v3.0ftpsftp
filestash.app
14.4k998
drakkan/sftpgo

Full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob

GoGo ModulesGNU Affero General Public License v3.0sftp-servergo
sftpgo.com
12.3k944
gdy666/lucky

软硬路由公网神器,ipv6/ipv4 端口转发,反向代理,DDNS,WOL,ipv4 stun内网穿透,cron,acme,rclone,ftp,webdav,filebrowser

GoGo ModulesMIT Licenseddnsipv6
8k727
XiaoYouChR/Ghost-Downloader-3

An AI-boost cross-platform multi-protocol fluent-design concurrent downloader built with Python & Qt.

PythonPyPIGNU General Public License v3.0downloaderpyside6
gd.xychr.com
6.9k405
git-ftp/git-ftp

Uses Git to upload only changed files to FTP servers.

ShellGNU General Public License v3.0git-ftpshell
git-ftp.github.io
5.6k698
iterate-ch/cyberduck

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.

JavaMavenGNU General Public License v3.0webdavsftp
cyberduck.io
4.6k359
winscp/winscp

WinSCP is a popular free file manager for Windows supporting SFTP, FTP, FTPS, SCP, S3, WebDAV and local-to-local file transfers. A powerful tool to enhance your productivity with a user-friendly interface and automation options like .NET assembly.

COthersftpftp
winscp.net
3.7k407