View Single Post
Old 03-26-2005, 07:25 AM  
r3flux
Member
 
Join Date: Feb 2005
Posts: 48
Default

Quote:
Originally posted by SnypeTEST
try making a .bat file
that wont work either.

i cant find the error why this wont work.

first of all, my current folder structure:

Code:
d:\ioFTPD\system\php.exe
d:\ioFTPD\scripts\dupecheck\nuke.bat
d:\ioFTPD\scripts\dupecheck\nuke.php
content from nuke.bat

Code:
@echo off
echo hello balls!
D:\ioFTPD\system\php.exe -f D:\ioFTPD\scripts\dupecheck\nuke.php
content from ioFTPD.ini

Code:
[FTP_Custom_Commands]
nukeBat = EXEC ..\scripts\dupecheck\nuke.bat
nukePHP	= EXEC D:\ioFTPD\system\php.exe -q -f D:\ioFTPD\scripts\dupecheck\nuke.php

[FTP_SITE_Permissions]
nukeBat = 1M
nukePHP = 1M
content from php doesnt changed (see my first post).

results:

Code:
[R] site config rehash
[R] 200 config Command successful.
[R] site nukePHP
[R] 200 Command successful.

[R] site config rehash
[R] 200 config Command successful.
[R] site nukeBat
[R] 200-hello balls!
[R] 200 Command successful.
but the php wont be executed.



when i copy&paste the execute line (nukePHP) from ioFTPD.ini to windows shell it works perfect. so the problem is not the php.exe.

i dont know what i must do now, i spend now 1 hour finding the error at this strange problem.
r3flux is offline   Reply With Quote