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.
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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.