Question

I have a linux server which I have FTP access to. Is there anyway I can call something like:

exec('lame dfe96adc63_o.mp3 -f -m m -b 16 --resample 8 dfe96adc63.mp3');

From a php script uploaded to the server (and it work)?

I'm a linux newb btw. I do everything on a Windows 7.

Was it helpful?

Solution

Unless the ftp server you are logging into allows SITE EXEC (which is highly unlikely), then there's no way to run a command like this on the remote system.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top