Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature request: please add on_file_removed hook #379
FTPHandler provide a hook on_file_received but there is no hook when a file is deleted.
hook could either give file stats (name, size, date, ...) after deletion or be called before deletion with file path (first option would be better to be sure file has really been deleted).
I think I could manage this for the moment overriding ftp_DELE(self, path) method, but it would be nice to keep same mechanism.
Uhm... both approaches doesn't convince me (and that's why such a hook is currently not provided).