Skip to content
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

Upload files with replacement with newer ones #596

Closed
ghost opened this issue Jul 8, 2020 · 2 comments
Closed

Upload files with replacement with newer ones #596

ghost opened this issue Jul 8, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 8, 2020

FluentFTP Version: 32.4.3

Hello! I need to upload the directory with the files to the FTP server, so that when downloading the old files on the FTP server will be overwritten with new local files, and those files that do not differ from the local ones remain untouched. I use the UploadDirectoryAsync() method. How can this be implemented?
Thank you in advance for any help

@robinrodricks
Copy link
Owner

Right now this is not supported. You can build it manually by referring to the code of UploadDirectory and then using the CompareFile method to check if the file is different between server and client.

@robinrodricks
Copy link
Owner

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!

@robinrodricks robinrodricks closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant