aboutsummaryrefslogtreecommitdiff
path: root/back-end/src/Storage/FtpStorageManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'back-end/src/Storage/FtpStorageManager.cs')
-rw-r--r--back-end/src/Storage/FtpStorageManager.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/back-end/src/Storage/FtpStorageManager.cs b/back-end/src/Storage/FtpStorageManager.cs
index abcf5e1..d64d4ea 100644
--- a/back-end/src/Storage/FtpStorageManager.cs
+++ b/back-end/src/Storage/FtpStorageManager.cs
@@ -29,7 +29,6 @@ using System.Collections.Generic;
using FluentFTP;
using FluentFTP.Exceptions;
-using VNLib.Net.Http;
using VNLib.Utils.Logging;
using VNLib.Utils.Resources;
using VNLib.Plugins;
@@ -102,7 +101,7 @@ namespace Content.Publishing.Blog.Admin.Storage
}
///<inheritdoc/>
- public override async Task SetFileAsync(string filePath, Stream data, ContentType ct, CancellationToken cancellation)
+ public override async Task WriteFileAsync(string filePath, Stream data, string ct, CancellationToken cancellation)
{
//Upload the file to the server
FtpStatus status = await _client.UploadStream(data, GetExternalFilePath(filePath), FtpRemoteExists.Overwrite, true, token: cancellation);