Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 616 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 616 Bytes

SharpGrip FileSystem Ftp adapter NuGet

Installation

Reference NuGet package SharpGrip.FileSystem.Adapters.Ftp (https://www.nuget.org/packages/SharpGrip.FileSystem.Adapters.Ftp).

Usage

// FTP connection.
var ftpClient = new AsyncFtpClient("hostname", "username", "password");

var adapters = new List<IAdapter>
{
    new LocalAdapter("local", "/var/files"),
    new FtpAdapter("ftp", "/var/files", ftpClient)
};

var fileSystem = new FileSystem(adapters);