Hi,

Yes, your cfexecute is wrong. You need to use "name" as in:

<cfexecute name="/bin/gzip" arguments="-d datafeeddeals.txt.gz" timeout="60"/>

Kind Regards,
Nitai

On Sun, Mar 4, 2012 at 11:21 PM, Lee <[email protected]> wrote:
> Hi All,
>
> I am relatively new to using CF on linux environments and in
> particularly Amazon EC2.
>
> I have a service which is pulling down .gz files and I want to be able
> to extract the contents and use it later in the process.
>
> I am using <cfexecute application="/bin/gzip" arguments="-d
> datafeeddeals.txt.gz" timeout="60"/> to make the call, when I SSH into
> the box I can call the command above from where my .gz file is and it
> performs fine.
>
> When I make the above call I just get the following error:
>
> cannot run program "": java.io.ioexception: error=2, no such file or
> directory : java.io.IOException: Cannot run program "":
> java.io.IOException: error=2, No such file or directory
>
> I have tried putting the full path to the .gz file, tried copying the
> gzip file to the directory where the .gz file is and calling it
> without a path etc but with no luck.
>
> I know it is bound to be something really silly that I am doing but
> cannot see it for the life of me,
>
> Any help greatly appreciated.
>
> Regards,
>
> Lee
>
> --
> online documentation: http://openbd.org/manual/
>   google+ hints/tips: https://plus.google.com/115990347459711259462
>     http://groups.google.com/group/openbd?hl=en



-- 
See for yourself how easy it is to manage files today. Join the revolution!

Razuna - Hosted Digital Asset Management Solution
http://www.razuna.com/

Razuna - Open Source Digital Asset Management
http://www.razuna.org/

Twitter - http://twitter.com/razunahq
Facebook - http://www.facebook.com/razunahq
Support Platform - http://getsatisfaction.com/razuna

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to