|
Posted by Rudi Menter on 11/08/06 12:40
Ike write:
>>> exec( "zip -mj \backups\temp\cookbook.zip \backups\temp\cookbook.sql
>>> 2>&1",
>>> $output, $res );
>>> if( $res > 0 ) {
>>> error( true,"COMPRESSION FAILED\n".implode( "\n", $output));
>>>
>>> COMPRESSION FAILED
>>> The system cannot execute the specified program.
>>
>> Ok, zip has been run since the system cannot produce the message
>> COMPRESSION FAILED from itself, so you need to check the arguments.
> Do you mean the arguments to exec?
Nope, but to "zip.exe"
> Why then would this run in localmode? -Ike
Perhaps you need to set the current working directory properly
or use absolute paths, i.e. those who begin with a drive letter
like c:\some\directory\cookook...
I am sure, this will solve it!
Regards
--
Navigation:
[Reply to this message]
|