Rebex.Sftp 8.0.9820

Prefix Reserved
dotnet add package Rebex.Sftp --version 8.0.9820
                    
NuGet\Install-Package Rebex.Sftp -Version 8.0.9820
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rebex.Sftp" Version="8.0.9820" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rebex.Sftp" Version="8.0.9820" />
                    
Directory.Packages.props
<PackageReference Include="Rebex.Sftp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rebex.Sftp --version 8.0.9820
                    
#r "nuget: Rebex.Sftp, 8.0.9820"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Rebex.Sftp@8.0.9820
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rebex.Sftp&version=8.0.9820
                    
Install as a Cake Addin
#tool nuget:?package=Rebex.Sftp&version=8.0.9820
                    
Install as a Cake Tool

Rebex SFTP - The C# SFTP library for .NET

Rebex SFTP trial

Free trial | Sample code | API reference | What's new | Pricing | Support

Rebex SFTP is an SFTP client library for .NET developers. It provides secure remote file system access over an SSH channel using the SFTP protocol. With Rebex SFTP, it's simple to transfer files between your application and Unix/Windows SSH servers. For server-side, use Rebex.FileServer package.

20+ years of active development. Rebex SFTP has been continuously developed and maintained since 2006, with regular updates and new features.

Key features

Getting started

Connect, authenticate and download

// get a free trial key at https://www.rebex.net/support/trial/
Rebex.Licensing.Key = "==put-your-license-key-here==";

using (var sftp = new Rebex.Net.Sftp())
{
    sftp.Connect("test.rebex.net", 22);

    // verify server's fingerprint
    string fingerprint = sftp.ServerKey.Fingerprint.ToString();
    if (fingerprint != expectedFingerprint)
    {
        throw new Exception("Unexpected server key fingerprint.");
    }

    sftp.Login("demo", "password");
    sftp.Download("/pub/example/readme.txt", @"C:\MyData");
}

List directory content

// navigate to desired directory
sftp.ChangeDirectory("/pub/example");

// get content of the current directory
var list = sftp.GetList();

// print info about retrieved items
foreach (var item in list)
{
    Console.WriteLine($"{item.Type} {item.Name}");
}

Upload files and directories

// upload a single file
sftp.PutFile(@"C:\MyData\report.txt", "/uploads/report.txt");

// upload all .txt files in a directory
sftp.Upload(@"C:\MyData\*.txt", "/uploads", TraversalMode.MatchFilesShallow);

Delete remote file or directory

// delete remote file
sftp.DeleteFile("/MyData/file.txt");

// delete whole remote directory
// (deletes "/MyData/Temp" directory itself as well)
sftp.Delete("/MyData/Temp", TraversalMode.Recursive);

Bandwidth throttling

// set download and upload speed limits
sftp.MaxDownloadSpeed = 128 * 1024;
sftp.MaxUploadSpeed = 64 * 1024;

Auto-resuming failed transfers

// auto-resume failed directory upload
sftp.Upload(@"C:\MyData\*", "/MyData", 0, 0, ActionOnExistingFiles.ResumeIfPossible);

Supported platforms

  • .NET 11 on Windows, Linux, macOS, Android, iOS
  • .NET 10 on Windows, Linux, macOS, Android, iOS
  • .NET 9 on Windows, Linux, macOS
  • .NET 8 on Windows, Linux, macOS
  • .NET 7 on Windows, Linux, macOS
  • .NET 6 on Windows, Linux, macOS
  • .NET 5 on Windows, Linux, macOS
  • .NET Framework 4.0, 4.5.x, 4.6.x, 4.7.x, 4.8.x
  • .NET Framework 3.5 SP1
  • .NET Core 3.1 on Windows, Linux, macOS
  • Xamarin.Android (10.1 and higher; via .NET Standard 2.1)
  • Xamarin.iOS (13.10 and higher; via .NET Standard 2.1)
  • Mono 6.0 or higher on Linux and macOS

Supported architectures: x86, x64, ARM64.

Licensing

This is a paid commercial product with a free 30-day trial.

When the full license key is provided, NuGet.org repository can be used to retrieve versions of Rebex components covered by your support contract.

Support

Talk to real people. No scripted or AI responses. Support is provided directly by the engineers who design and build the library.

Email us at support@rebex.net or visit rebex.net/support.

Documentation

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Rebex.Sftp:

Package Downloads
Rebex.TotalPack

Rebex Total Pack is a metapackage that includes all Rebex libraries such as Rebex SFTP, Rebex FTP, Rebex SSH Shell, and more. See https://www.rebex.net/total-pack/ for a complete list. This is a paid commercial product with a free 30-day trial: - Trial mode: Start your free 30-day trial by generating your trial key at https://rebex.net/support/trial-key.aspx - Licensed mode: Purchase the product at https://rebex.net/shop/ and get your full license key at https://rebex.net/protected/nuget When the full license key is provided, NuGet.org repository can be used to retrieve versions of Rebex components covered by your support contract. Supported platforms: - .NET 11 on Windows, Linux, macOS, Android, iOS - .NET 10 on Windows, Linux, macOS, Android, iOS - .NET 9 on Windows, Linux, macOS - .NET 8 on Windows, Linux, macOS - .NET 7 on Windows, Linux, macOS - .NET 6 on Windows, Linux, macOS - .NET 5 on Windows, Linux, macOS - .NET Framework 4.0, 4.5.x, 4.6.x, 4.7.x, 4.8.x - .NET Framework 3.5 SP1 - .NET Core 3.1 on Windows, Linux, macOS - Xamarin.Android (10.1 and higher; via .NET Standard 2.1) - Xamarin.iOS (13.10 and higher; via .NET Standard 2.1) - Mono 6.0 or higher on Linux and macOS

Rebex.FileTransfer

Rebex.FileTransfer is a simple file transfer library that supports SFTP, FTP and FTPS (FTP over TLS) protocols. It is part of Rebex File Transfer Pack - a set of .NET libraries that include dedicated SFTP, SCP and FTP client libraries and a SFTP server library. This is a paid commercial product with a free 30-day trial: - Trial mode: Start your free 30-day trial by generating your trial key at https://rebex.net/support/trial-key.aspx - Licensed mode: Purchase the product at https://rebex.net/shop/ and get your full license key at https://rebex.net/protected/nuget When the full license key is provided, NuGet.org repository can be used to retrieve versions of Rebex components covered by your support contract. Supported platforms: - .NET 11 on Windows, Linux, macOS, Android, iOS - .NET 10 on Windows, Linux, macOS, Android, iOS - .NET 9 on Windows, Linux, macOS - .NET 8 on Windows, Linux, macOS - .NET 7 on Windows, Linux, macOS - .NET 6 on Windows, Linux, macOS - .NET 5 on Windows, Linux, macOS - .NET Framework 4.0, 4.5.x, 4.6.x, 4.7.x, 4.8.x - .NET Framework 3.5 SP1 - .NET Core 3.1 on Windows, Linux, macOS - Xamarin.Android (10.1 and higher; via .NET Standard 2.1) - Xamarin.iOS (13.10 and higher; via .NET Standard 2.1) - Mono 6.0 or higher on Linux and macOS

MACRIM.Transfers

IEntity Extensions related to file transfer technologies

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.9820 347 11/20/2026
8.0.9797 27,591 10/28/2026
8.0.9709 33,514 8/3/2026
8.0.9673 14,290 6/25/2026
8.0.9663 402 6/24/2026
8.0.9643-rc.4 170 5/27/2026
8.0.9531-rc.3 343 2/4/2026
8.0.9440-rc.2 305 11/5/2025
8.0.9392-rc.1 532 9/19/2025
7.0.9796 6,125 10/28/2026
7.0.9649 2,053 6/23/2026
7.0.9561 114,280 3/6/2026
7.0.9448 217,344 11/12/2025
7.0.9391 46,102 9/17/2025
7.0.9313 186,195 6/30/2025
7.0.9209 136,799 3/20/2025
7.0.9147 161,697 1/16/2025
7.0.9119 35,894 12/19/2024
7.0.9083 83,720 11/13/2024
6.0.9280 15,803 6/30/2025
Loading failed