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

SFTP emits wrong events when renaming file #4

Open
furstenheim opened this issue Feb 8, 2019 · 0 comments
Open

SFTP emits wrong events when renaming file #4

furstenheim opened this issue Feb 8, 2019 · 0 comments

Comments

@furstenheim
Copy link

You can see here https://stackoverflow.com/questions/54588550/sftp-move-file-does-not-trigger-event for a stackoverflow question on this issue.

Basically, I have two servers, one with openssh-sftp-server the other one with sftp-server.
If I use the command rename from the sftp protocol. In sftp-server it triggers a 'MOVE_TO' event that can be detected with iwatchnotify. However, using a real sftp server with openssh-sftp-server it does not trigger those events.

I suppose the problem is that sftp-server is actually moving the file and not really renaming.

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