Skip to content

Commit

Permalink
Update Readme and nuget spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Cardillo committed Sep 21, 2023
1 parent 14ec9f8 commit 0c9a4a2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,19 @@ var adapters = new List<IAdapter>
var fileSystem = new FileSystem(adapters);
```

### FTP adapter
```
var ftpClient = new FtpClient("hostName", "userName", "password");
var adapters = new List<IAdapter>
{
new LocalAdapter("local", "/var/files"),
new FtpAdapter("ftpAdapter1", "/", ftpClient),
};
var fileSystem = new FileSystem(adapters);
```

### SFTP adapter
```
// SFTP connection.
Expand Down Expand Up @@ -115,4 +128,3 @@ await fileSystem.MoveFileAsync("sftp://Foo/Bar.txt", "local://Bar/Foo.txt");
await fileSystem.WriteFileAsync("local://foo/bar.txt", "Bar!");
```

1 change: 1 addition & 0 deletions src/FileSystem.Adapters.Ftp/FileSystem.Adapters.Ftp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Title>Maurosoft FileSystem Ftp adapter</Title>
<Description>The Maurosoft FileSystem Ftp adapter.</Description>
<PackageTags>Maurosoft;file-system;ftp</PackageTags>
<Copyright>Mauro Cardillo</Copyright>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Title>Maurosoft FileSystem Memory adapter</Title>
<Description>The Maurosoft FileSystem Memory adapter.</Description>
<PackageTags>Maurosoft;file-system;memory</PackageTags>
<Copyright>Mauro Cardillo</Copyright>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Title>Maurosoft FileSystem SFTP adapter</Title>
<Description>The Maurosoft FileSystem SFTP adapter.</Description>
<PackageTags>Maurosoft;file-system;sftp</PackageTags>
<Copyright>Mauro Cardillo</Copyright>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/FileSystem/FileSystem.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Title>Maurosoft FileSystem</Title>
<Description>Maurosoft FileSystem is a file system abstraction supporting multiple adapters.</Description>
<PackageTags>Maurosoft;file-system;amazon-s3;azure-blob-storage;azure-file-storage;dropbox;microsoft-onedrive;sftp</PackageTags>
<Copyright>Mauro Cardillo</Copyright>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 0c9a4a2

Please sign in to comment.