shaydez — 2012-11-28T17:42:46-05:00 — #1
I'm working on an app that uses FTP connection
I'm trying to send commands to a remote FTP server using ftp_exec() .. i tried exec() but disabled for security reasons. Does anyone know if that also disables teh ftp_exec()?
kduv — 2012-11-28T17:58:18-05:00 — #2
It shouldn't. exec() is a function to run system commands, IE: echo("ls /home/root");
ftp_exec() is specifically for running FTP commands on an FTP server. Quite different.
shaydez — 2012-11-28T20:19:08-05:00 — #3
exec() is need to use ftp_exec() .. i just asked my server guys, and they showed me where to activate the exec()... oh well just makes my job a little more complicated :/
kduv — 2012-11-29T21:29:39-05:00 — #4
Hmm, I wasn't aware of that. It's good information to have though. Thanks.