Skip to content

Commit 62c5740

Browse files
chore(deps): update to FluentFTP 53.0.2
1 parent 12d2094 commit 62c5740

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/TagBites.IO.Ftp/FtpFileSystemOperations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ private LinkInfo GetInfo(string fullName)
367367
if (fullName == "/")
368368
{
369369
// BUG WORKAROUND: IF file system doesn't support MLST command there is problem with root directory
370-
if (!client.HasFeature(FtpCapability.MLSD))
370+
if (!client.HasFeature(FtpCapability.MLST))
371371
return GetInfo(fullName, new FtpListItem("/", 0, FtpObjectType.Directory, DateTime.MinValue));
372372
}
373373

@@ -390,7 +390,7 @@ private async Task<LinkInfo> GetInfoAsync(string fullName)
390390
if (fullName == "/")
391391
{
392392
// BUG WORKAROUND: IF file system doesn't support MLST command there is problem with root directory
393-
if (!client.HasFeature(FtpCapability.MLSD))
393+
if (!client.HasFeature(FtpCapability.MLST))
394394
return GetInfo(fullName, new FtpListItem("/", 0, FtpObjectType.Directory, DateTime.MinValue));
395395
}
396396

src/TagBites.IO.Ftp/TagBites.IO.Ftp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</Choose>
4949

5050
<ItemGroup>
51-
<PackageReference Include="FluentFTP" Version="46.0.2" />
51+
<PackageReference Include="FluentFTP" Version="53.0.2" />
5252
</ItemGroup>
5353

5454
</Project>

0 commit comments

Comments
 (0)