简体   繁体   中英

How we can upload Large file in chunks in rails?

I am trying to upload a zip file of 350mb - 500mb to server. It gives "ENOSPC" error. Is it possible to upload file in chunks and receive it on server as one file ? or Use custom location for tmpfs, so that it will be independent of system tmp, because in my case tmp is of 128MB only.

Why not use the Web-server uploading feature like nginx-upload and apache-upload

Not sure what it is called in apache but I guess apache too has it

if you are using Nginx

there is also a nginx-upload-progress which can be helpful if you want to track the progress of the upload

Hope this help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM