Thread: esmNewdir
View Single Post
Old 03-03-2005, 11:19 AM  
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by esmandil
I never tried

But simply changing

[Events]
OnNewDir = %EXEC ..\scripts\esmNewdir\run.bat OnNewDir %[$user]

into

[FTP_Pre-Command_Events]
stor = %EXEC ..\scripts\esmNewdir\run.bat OnNewDir %[$user]

might work... or maybe not, depending if ioftpd gives the same parameters to "OnNewDir" and to "stor".
well why don't you test it next time?
this is the output:

150 Opening BINARY mode data connection for 00-a_perfect_circle-thirteenth_step-covers-2003-ube.jpg.
argc=3
Param 0 = ..\scripts\checkscript.exe
Param 1 = STOR
Param 2 = 00-a_perfect_circle-thirteenth_step-covers-2003-ube.jpg


not sure if it matches your script

//mr_F
mr_F_2 is offline   Reply With Quote