commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Philip <>
Subject Re: [commons-net ftp] how to ftp a zipped file and unzip it at the other end?
Date Wed, 16 Aug 2006 22:21:21 GMT
Thank you - I think the ssh option is interesting. I
could be mistaken but it strikes me that it would have
the downside of allowing the user to wander all over
the machine if he decided to manually try it - since
he can read the unix user name and password from the
config files. It would be impractical to create a unix
account for each application user client; instead, am
thinking of having each client have a separate
directory (not any better). Ftp does not allow the
user to go anywhere outside his home directory.

--- Mario Ivankovits <> wrote:

> Hi Anil!
> > Thank you for replying.
> > How do I upload and unzip?
> >   
> As far as I know there is no way to unzip on the
> remote server through ftp.
> But you have some options:
> 1) install a crontab/daemon (on the remote server)
> which looks for new
> zip files and unpack them (A marker file might help
> here e.g.
> to determine if the upload has
> finished and was ok)
> 2) use rsh/ssh to execute a command after upload on
> the remote server
> which will unpack the file then
> 3) install a "logout" trigger on your ftp server and
> see if there are
> new files to unpack (I have never done this myself
> and dont know if this
> works with your ftp server)
> Each of them have their own adventures to win ;-)
> I hope this helps a little bit find the direction
> you want to go.
> Ciao,
> Mario
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message