Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 01-06-2004, 07:45 PM   #1
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  
Old 01-06-2004, 10:40 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

they are passed in argument to your call:

..\php\php.exe -n C:\ioFTPD\scripts\blabla.php "real_file" CRC "vfs_file"
or something similar.
Mouton is offline  
Closed Thread

Tags
file, onuploadcomplete, path, uploaded, write

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:09 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)