Thread: site pretime
View Single Post
Old 03-15-2004, 10:23 AM  
[Rastaman]
Junior Member
 
Join Date: Nov 2003
Posts: 4
Default Finally got it working :)

First: Thanx to MrManc & _rage_ thegod :>

SYSTEMPATH=%[$path] was already in my ioftpd.env
so i just added SYSTEMROOT=%[environment(SYSTEMROOT)] as MrManc suggested... but it seems that it didn't helped.

So, i tried the batch file solution, and finally it works
Except there was some errors in the syntax, here is what to fix :
- The SITE PRETIME syntax was wrong :
Quote:
pretime = EXEC ..\scripts\path\to\where\you\put\the\batchfile.cmd
Here is the fixed syntax :
pretime = %EXEC ..\scripts\iopretime\iopretime.cmd

- The batch file syntax was wrong :
Quote:
c:\ioftpd\scripts\iopretime\iopretime.exe arg
Here is the fixed syntax :
C:\ioFTPD\scripts\pretime.exe %1
(just add %2 %3 %4 %5... etc if needed)

and finally it works
[Rastaman] is offline   Reply With Quote