Hello,
how can I run php script A.php on another FTP from script B.php on my localhost.
B.php (on my localhost)
/*
FTP connection here...
*/
ftp_exec('php5 folder/A.php -a 13');
All I get is this:
Warning: ftp_exec() [function.ftp-exec]: Unknown SITE command.
I'd tried ftp_raw instead, but nothing's changed.
I get: 500 - Unknown command
If I run local script C.php on that FTP, containing the same command, but with exec() function, everything works.
C.php
exec('php5 folder/A.php -a 13');
Thanks for help in advance.