View Single Post
Old 01-06-2004, 07:45 PM  
anjo
Junior Member
 
Join Date: Dec 2003
Posts: 5
Question path on OnUploadComplete

hey!

I want to write a script that is activated when someone uploads a file to a certain folder.

I want to write this in ioftpd.ini:
OnUploadComplete = EXEC ..\php\php.exe -n C:\ioFTPD\scripts\blabla.php

and in the script file write something like this:
if($filedir==/somedir/){ do something }

where $filedir is the path to the file uploaded.

My question is:
Is there a variabel that holds the location/path to the file uploaded on OnUploadComplete?
anjo is offline