robinrodricks / FluentStorage

A polycloud .NET cloud storage abstraction layer. Provides Blob storage (AWS S3, GCP, FTP, SFTP, Azure Blob/File/Event Hub/Data Lake) and Messaging (AWS SQS, Azure Queue/ServiceBus). Supports .NET 5+ and .NET Standard 2.0+. Pure C#.
MIT License
263 stars 33 forks source link

Added recursion for FluentStorage.FTP #54

Closed beeradmoore closed 7 months ago

beeradmoore commented 7 months ago

Fixes

Issue #53

Description

Uses FtpListOption.Recursive to enable recursion for listing directories.

This also adds cancellationToken being passed through to the FTP client so listing can be cancelled.

I have not run any of the tests to confirm these changes work, but this is copy/pasted where I am using it for an internal tool I am testing out.

robinrodricks commented 7 months ago

Looks great, thanks!

robinrodricks commented 7 months ago

Released!

https://www.nuget.org/packages/FluentStorage.FTP/5.3.0