Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 16033 invoked from network); 17 Aug 2006 07:31:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 07:31:34 -0000 Received: (qmail 92205 invoked by uid 500); 17 Aug 2006 07:31:28 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 92143 invoked by uid 500); 17 Aug 2006 07:31:28 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 92132 invoked by uid 99); 17 Aug 2006 07:31:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 00:31:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mario@ops.co.at designates 194.152.182.4 as permitted sender) Received: from [194.152.182.4] (HELO smtp.ops.co.at) (194.152.182.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 00:31:26 -0700 Received: by smtp.ops.co.at (Postfix, from userid 65534) id 98CF223C0E4; Thu, 17 Aug 2006 09:31:04 +0200 (CEST) Received: from [172.27.1.102] (lints1.int.ops.co.at [172.27.1.102]) by smtp.ops.co.at (Postfix) with ESMTP id EF2FF23C0B0 for ; Thu, 17 Aug 2006 09:31:00 +0200 (CEST) Message-ID: <44E41B34.30300@ops.co.at> Date: Thu, 17 Aug 2006 09:31:00 +0200 From: Mario Ivankovits User-Agent: Thunderbird 1.5.0.4 (X11/20060527) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [commons-net ftp] how to ftp a zipped file and unzip it at the other end? References: <20060816222121.66482.qmail@web52706.mail.yahoo.com> In-Reply-To: <20060816222121.66482.qmail@web52706.mail.yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Anil! > 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 Yep, if you have the login for an account which allows ssh the user can explore the whole machine. There are descriptions out there to run ssh in an chroot environment which will solve this, but if I remember correctly they require a patched sshd. If there is a http server running on the machine you might also trigger the unpack through an cgi-bin script, though, then you might have problems with user permissions as this cgi-bin runs with the configured http-server user-/group-id. If applicable I'd go the crontab/daemon way. You can scan your directories once per minute, should not be too hard for the machine as the directory scan will surely be done in memory (fs-cache) - a simple bash script will do the job. Just my 0.02� ;-) Ciao, Mario --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org