-
-
Notifications
You must be signed in to change notification settings - Fork 660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DownloadDirectory may not work on custom systems due to internal FileListing #772
Comments
Good idea, any suggestions how to implement this? A new property/method in FtpServerBase? |
Hi, yes I would probably adda new method with a signature like the following I can do the pull request if you want Cheers |
…ed flags Issue robinrodricks#772, also calling that method in FtpClient.GetListing
@Adhara3 please don't need to ask my permission to make pull requests, its hard to check so many active tickets. If you have any suggestion, please just file a PR and we can take it forward. I accept most PRs straightaway unless they cause a major conflict. |
Added to the bucket list. We will pick this up as and when we have free time. Comment on this issue if you want us to prioritize it. Thanks! |
FTP OS: Embedded
FTP Server: Custom
Computer OS: Windows
FluentFTP Version: 35.0.5
DownloadDirectory is internally performing a
this.GetListing(remoteFolder, FtpListOption.Size | FtpListOption.Recursive)
so using specific parameters that may not work as expected on all system.Example:
FtpListOption.NoPath
may be needed in order to work.This should be probably part of the FtpServerBase class.
Please note that the enum provides some behavioral flags (Recursive) while others are more archictural (NoPath, ForceList) and the BaseServer class should fill the latter kind
Regards
A
The text was updated successfully, but these errors were encountered: