You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ganael LAPLANCHE <gl...@jouve.fr> on 2002/08/22 16:11:00 UTC

How to execute a command line ?

Hi everybody !

I'm new to cocoon, so I'm a bit lost :)
I'd like to add logic code to unzip a file that has just been uploaded through a form.
How would you do that ? Should I use actions ? Should I use Java or XSP to execute an
unzip command... ?

This must be a very stupid question... I know, but please help me :)

Thank you,
Marty.

Re: How to execute a command line ?

Posted by Ganael LAPLANCHE <gl...@jouve.fr>.
No...
I would like to unzip files uploaded on the server, not downloaded from the client...
Is it possible to use XSP or should I write an action do do that ?
  ----- Original Message ----- 
  From: Roger I Martin PhD 
  To: cocoon-users@xml.apache.org 
  Sent: Thursday, August 22, 2002 5:47 PM
  Subject: Re: How to execute a command line ?


  I believe you want the unzipping to occur on the client side? xsp is all server-side.  Client side technology is way behind the server side technologies.  If your favorite client side browser can't do the unzipping for you, you need to develop a new client.

  --Roger
    ----- Original Message ----- 
    From: Ganael LAPLANCHE 
    To: cocoon-users@xml.apache.org 
    Sent: Thursday, August 22, 2002 10:11 AM
    Subject: How to execute a command line ?


    Hi everybody !

    I'm new to cocoon, so I'm a bit lost :)
    I'd like to add logic code to unzip a file that has just been uploaded through a form.
    How would you do that ? Should I use actions ? Should I use Java or XSP to execute an
    unzip command... ?

    This must be a very stupid question... I know, but please help me :)

    Thank you,
    Marty.

Re: How to execute a command line ?

Posted by Roger I Martin PhD <hy...@hypernexinc.com>.
I believe you want the unzipping to occur on the client side? xsp is all server-side.  Client side technology is way behind the server side technologies.  If your favorite client side browser can't do the unzipping for you, you need to develop a new client.

--Roger
  ----- Original Message ----- 
  From: Ganael LAPLANCHE 
  To: cocoon-users@xml.apache.org 
  Sent: Thursday, August 22, 2002 10:11 AM
  Subject: How to execute a command line ?


  Hi everybody !

  I'm new to cocoon, so I'm a bit lost :)
  I'd like to add logic code to unzip a file that has just been uploaded through a form.
  How would you do that ? Should I use actions ? Should I use Java or XSP to execute an
  unzip command... ?

  This must be a very stupid question... I know, but please help me :)

  Thank you,
  Marty.