Hi Guys, I am working on what I hope is a simple asset management system for the company work for. Does anyone have any recommendations for uploading large files to the system? We work in TV post production, so files can easily 5GB+ , most tending to be a few hundred megabytes. The software is for our intranet (1GB ethernet). However I am trying to make this app with the intention of being able to access it from out of office. I have read that some file ''upload'' ideas peak out at 100MB, at which point the app with crash/die. Apologies if this is poorly explained, I can go into more detail if necessary. Any help would be great! Thanks! Adam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Adam Teale wrote:> Does anyone have any recommendations for uploading large files to the > system? We work in TV post production, so files can easily 5GB+ , most > tending to be a few hundred megabytes.HTTP is too narrow for reliable file transfers. You need a protocol like SCP or modern FTP, which treat the target drive as a real file system. This gives your users all the features - renaming, drag-n-drop, multiple copies, bookmarks, previews, progress bars, restarts, cancels, etc. Build a folder on your server with public write permissions, and instruct your minions to use a client, such as Tranmit or WinSCP, to push the bulk files up. Then develop a web page which reads this folder and displays the names of any files. Users then click on a file, possibly add information to it, then Submit its name to a form. The Rails action can now use FileUtils.mv to efficiently put the data into its new home. If the action must read the data, you could use spawn{} to detach a background task to finish the processing. -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Phlip! Thanks for the advice! Appreciated! I figured something like that would be the case. Do you know of any projects that I can ''borrow'' some code from to do the file navigation on the server via a browser? I have found things that seem to use a bit of Java (that i have never understood!) Thanks again Phlip! Adam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---