Executing a script when uploading a file to a SAMBA SERVER
Hi everrybody.
I have set up a samba server with a share to which certain users can upload files. I wonder if it is possible to configure samba in such way that a script is automatically executed when an user uploads a file to the server. This script would have validation purposes such that check the file format, its size and name, etc. |
I do not know any way that Samba could be configured, but you could set up a cron job to run at a regular interval. The script could look for any new files in your Samba share and conduct your checks.
|
Quote:
Thanks for your reply. |
Try inotify eg http://www-128.ibm.com/developerwork...l-inotify.html
|
Quote:
Rafa |
All times are GMT -5. The time now is 08:37 AM. |