NuGet Package WinSCP .NET assembly

The WinSCP .NET assembly is a .NET wrapper around WinSCP’s scripting interface that allows your code to connect to a remote machine and manipulate remote files over SFTP, FTP, WebDAV, S3 and SCP sessions.

The library is primarily intended for advanced automation tasks that require conditional processing, loops or other control structures for which the basic scripting interface is too limited.

The library is not a general purpose file transfer library. It particularly has a limited support for an interactive processing, and as such it is not well suited for use in GUI applications.

For the same reason it is also difficult to use the assembly within a restricted environment like a web server, that limits or even restricts execution of external processes.

For documentation and examples of use, see project website.

The NuGet package includes the assembly itself and a required WinSCP executable. When installed, it adds the assembly as reference to your project and sets up WinSCP executable to be copied to project output directory, so that it can be found on run-time.


Version: 5.21.3
Author(s): Martin Prikryl
Last Update: Tuesday, September 6, 2022
.NET Fiddle: Online Example
Project Url:
NuGet Url:

Install-Package WinSCP
dotnet add package WinSCP
paket add WinSCP
WinSCP Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0
  • No dependencies.
.NETStandard 2.0
  • No dependencies.
11 packages depend on this package.