Easiest way to implement a black hole (automatically move)?
Hi guys,
I hope this hasn't been answered too many times before. I've tried finding a good solution but the ones I found didn't look optimal - and the ones that looked optimal were using the .net assembly, which I have no idea how to do myself ;)
So - does anyone know how to do this simple task?
1. When a file or directory is copied/moved into the black hole, transfer it to another host via ftp
2. If the ftp transfer is successful, delete local file
3. (optional) If there's an error, send email.
Help would be awesome! :)
I hope this hasn't been answered too many times before. I've tried finding a good solution but the ones I found didn't look optimal - and the ones that looked optimal were using the .net assembly, which I have no idea how to do myself ;)
So - does anyone know how to do this simple task?
1. When a file or directory is copied/moved into the black hole, transfer it to another host via ftp
2. If the ftp transfer is successful, delete local file
3. (optional) If there's an error, send email.
Help would be awesome! :)