On Sep 14, 11:02 am, "JAZZ F." <[email protected]> wrote: > Frederick Cheung wrote in post #1021861: > > > On Sep 14, 8:08am, "JAZZ F." <[email protected]> wrote: > >> Thanks walter for your reply. > > >> i think it cant be possible that everytime i try to download it,it gets > >> time out. Do we have any kind of configuration/setting in order to limit > >> the file size anywhere? > > > Something that is not clear to me is how are you downloading the > > file ? Is this your browser hitting S3 directly, a command line tool > > using one of the many S3 libraries, an action in your controller that > > fetches the file from s3 and then sends it to the end user, something > > else ? > > > Fred > > i have a UI application in which downloading feature is incorporated, i > am downloading throuh it..Is it what u r asking or need something else. >
if your app is first downloading the file and then sending it to the user then it's almost certainly a timeout thing. There are many elements along the chain that can timeout: the app server itself, the load balancer in front of it, any proxies (transparent or not) between your server and the user's computer and finally the user's browser. I wouldn't rely on being able to control all of these. Why not serve the file straight from S3 instead of making the file go via your application ? Fred > Thanks for ur response. > > -- > Posted viahttp://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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

