FTP Exec

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()?


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.

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 :confused:

Hmm, I wasn’t aware of that. It’s good information to have though. Thanks.