Topic awaiting preservation: php & send email upon ftp upload |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: there...no..there..... |
posted 01-03-2006 20:42
I have a BUNCH of people that send us files via FTP, so they all have their own folders. Does anyone know of a good way with PHP or something else that can monitor certian folders and when something is uploaded send an email to me a two other people when something is uploaded with the username and filesize? |
Paranoid (IV) Inmate From: INFRONT OF MY PC |
posted 01-03-2006 22:28
hmm im not sure this can be done with php a monitoring software on the server might do this better |
Maniac (V) Inmate From: there...no..there..... |
posted 01-03-2006 22:48
yeah....must be why I haven't gotten it to work. LOL |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 01-04-2006 00:49
hm... apart from scanning the folder every so often (every couple of minutes probably is enough), comparing that to an earlier scan and mailing the differences... nothing comes to mind. |
Bipolar (III) Inmate From: Australia |
posted 01-04-2006 12:36
Yeh was going to say that, cron job & php will do that easy.. Makes life a bit harder without cron jobs (windows server) tho |
Paranoid (IV) Inmate From: INFRONT OF MY PC |
posted 01-04-2006 13:42
couldn't you have a sort of login script that does the job when someone actualy logges on via ftp??? |
Maniac (V) Inmate From: there...no..there..... |
posted 01-04-2006 23:44
quote:
|