PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have to perform a perl or a shell program from an internet page by ftp.
When i use this function a message appear : " ftp_exec(): SITE command not implemented".
$FTP_COMMAN= "/export/home/.../create_work_dir.sh";
ftp_exec($ftp,$FTP_COMMAN);
In order to use FTP functions with your PHP configuration, you should add the --enable-ftp option when installing PHP 4 or --with-ftp when using PHP 3.
The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.
so you have done this?
after looking some pages and stuff im also wondering if your ftpd actually supports this command. can u test it somehow without php or check the ftpd's docs?
you could check it with any ftp client that has the command.
if your graphical client cant do it then there is always command line ( Start->Run: ftp.exe ) *grin*
SITE EXEC is disabled on most ftp servers, simply because it's dangerous and useful like a hole in the head
Is ftp the only access you have to that box?