Hi,
ich möchte gernen die Dateien, die die User per FTP uploaden (FTP Dämon ist proftpd), nach dem Upload verändern (eine Abuse Meldung einblenden). Das verändern der Dateien ist kein Problem, nur suche ich ein Tool, das aktiviert wird sobald eine Datei hochgeladen wurde und mit den Pfad gibt.
Eine Cron Lösung wollte ich nicht verwenden, allerdings kenne ich keine Lösung für dieses Problem.
Weiss jemand einen Lösungsansatz?
Datei ändern nach FTP Upload
-
- Posts: 538
- Joined: 2005-09-02 11:12
Re: Datei ändern nach FTP Upload
proftpd kenne ich nicht, pureftpd hat eine Funktion die man da nutzen kann:
(aus der Doku):
--with-uploadscript: since 0.98, Pure-FTPd has a nice feature regarding uploads. Any external program or script can be automatically called after a successful upload. It needs another program installed by the Pure-FTPd package, called 'pure-uploadscript'. Check the man page for more info about
this.
(aus der Doku):
--with-uploadscript: since 0.98, Pure-FTPd has a nice feature regarding uploads. Any external program or script can be automatically called after a successful upload. It needs another program installed by the Pure-FTPd package, called 'pure-uploadscript'. Check the man page for more info about
this.
-
- Posts: 24
- Joined: 2005-11-10 13:25
Re: Datei ändern nach FTP Upload
hm, den kann ich leider nicht einsetzen da ich Plesk benutze und ich ehrlich etwas Angst habe Plesk zu zerstören...