Forum: Ruby on Rails Upload a zip using a form and extract if afterwards on srv?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-04-01 14:23
Hi all

It like my visitors to be able to upload a zip file (or any other
possible compressed file archive) to my server. After upload, my web app
should extract the content to the server and delete the zip file.

Is this possible somehow? I'm very thankful for help.

Have a nice weekend,
Joshua
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-08-17 08:43
Joshua Muheim wrote:
> Hi all
>
> It like my visitors to be able to upload a zip file (or any other
> possible compressed file archive) to my server. After upload, my web app
> should extract the content to the server and delete the zip file.
>
> Is this possible somehow? I'm very thankful for help.
>
> Have a nice weekend,
> Joshua

Nobody got any idea? :-(
E813e9cc70159e103a64a5237c0d3ee2?d=identicon&s=25 Thomas Fuchs (Guest)
on 2006-08-17 13:14
(Received via mailing list)
google for rubyzip, or use a native tool with a cli.

you can easy call command line tools in ruby with %x(your commands)
and by various other means.

-Thomas

Am 17.08.2006 um 08:43 schrieb Joshua Muheim:

>> Have a nice weekend,
>> Joshua
>
> Nobody got any idea? :-(
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails

--
Thomas Fuchs
wollzelle

http://www.wollzelle.com

questentier on AIM
madrobby on irc.freenode.net

http://www.fluxiom.com :: online digital asset management
http://script.aculo.us :: Web 2.0 JavaScript
http://mir.aculo.us :: Where no web developer has gone before
Ae16cb4f6d78e485b04ce1e821592ae5?d=identicon&s=25 Martin DeMello (Guest)
on 2006-08-17 13:29
(Received via mailing list)
Also, I'd recommend setting up backgroundrb to actually do the
unzipping, since doing it via system will block your rails app till it
finishes, and forking it off will drop your database connection.

martin
15c80c9bf8be5ba6e5eeac9cb0304464?d=identicon&s=25 Ed Hickey (Guest)
on 2006-08-17 19:56
(Received via mailing list)
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-08-17 20:01
Ed Hickey wrote:
> this might be of use:
> http://martin.ankerl.org/2006/08/11/program-e-extr...
>
> ed

Very useful, thanks a lot! :-)
This topic is locked and can not be replied to.