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

Help configuring fswatch to act only on full file being written by SFTP clients #311

Open
lewismc opened this issue Apr 4, 2023 · 1 comment

Comments

@lewismc
Copy link

lewismc commented Apr 4, 2023

Hi folks, we are experiencing an issue where data files being created or updated by SFTP client transfer appear to generate events resulting in fswatch being executed before the full file is written.
Our fswatch CLI usage can be seen at https://github.com/tagbase/tagbase-server/blob/main/services/fswatch/post.sh#L5
Note the --event Created --event MovedTo --event IsFile --event Updated flags.
Can someone suggest a method for invoking fswatch only when the file (transferred by SFTP) has been fully written?
Thanks in advance.

@lewismc
Copy link
Author

lewismc commented Apr 4, 2023

@renato2099

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant