SITE EXEC not working using ftp_exec command
Posted on 2006-03-29
I am using Wu-Ftp server, and everything is fine.
I enabled the SITE-EXEC function, and put all needed comands into /bin/ftp-exec folder. So I can remotly ftp and using SITE EXEC command to excute
program like "ls, cp, chmod, ..." on this server. But the problem is I only can excute such standard UNIX command,
Whenever I write a script and put into the /bin/ftp-exec folder, I cannot excute them using ftp SITE EXEC command, I can excute them locally.
Can anybody suggest what I can do to solve this problem? I remember that the Wu-ftp SITE EXEC command can run any program as well as the program
was put in the /bin/ftp-exec folder and have right permission. I have done all of this, but still failed to run my own scripts.
Thanks again and I am waiting online for the answer.