Hi., I would like to provide my website visitors the ability to store images from the site in to a USB flash drive. User will click the image or pressing a submit button after selecting it. Can some one guide me on how I can do this using ROR? Any help is much appreciated. Thanks Bala --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
This is more of a usability problem, it''s nothing RoR can do itself since RoR can''t tell if a user has a flash drive installed and what drive it''s installed as. On Dec 19, 2007 9:40 AM, artybala <artybala-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi., > > I would like to provide my website visitors the ability to store > images from the site in to a USB flash drive. User will click the > image or pressing a submit button after selecting it. Can some one > guide me on how I can do this using ROR? > > Any help is much appreciated. > > Thanks > Bala > > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Look up the docs for send_file or send_data and, in particular, the :disposition and :filename options. -Rob On Dec 18, 2007, at 6:32 PM, Ryan Bigg wrote:> This is more of a usability problem, it''s nothing RoR can do itself > since RoR can''t tell if a user has a flash drive installed and what > drive it''s installed as. > > On Dec 19, 2007 9:40 AM, artybala < artybala-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi., > > I would like to provide my website visitors the ability to store > images from the site in to a USB flash drive. User will click the > image or pressing a submit button after selecting it. Can some one > guide me on how I can do this using ROR? > > Any help is much appreciated. > > Thanks > Bala > > -- > Ryan Bigg > http://www.frozenplague.net--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks Rob. Will check on that. Anyway i can supress the "save/open/ cancel" window and directly save it the thumb drive? On Dec 19, 9:09 am, Rob Biedenharn <R...-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org> wrote:> Look up the docs for send_file or send_data and, in particular, > the :disposition and :filename options. > > -Rob > > On Dec 18, 2007, at 6:32 PM, Ryan Bigg wrote: > > > > > This is more of a usability problem, it''s nothing RoR can do itself > > since RoR can''t tell if a user has a flash drive installed and what > > drive it''s installed as. > > > On Dec 19, 2007 9:40 AM, artybala < artyb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi., > > > I would like to provide my website visitors the ability to store > > images from the site in to a USB flash drive. User will click the > > image or pressing a submit button after selecting it. Can some one > > guide me on how I can do this using ROR? > > > Any help is much appreciated. > > > Thanks > > Bala > > > -- > > Ryan Bigg > >http://www.frozenplague.net- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Removing the dialog would be bad (if it is even possible). I have like to determine where the photos are going to be saved on my own computer. Is this going to be a kiosk type thing where USB is the only option? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
It is not like a kiosk, but USB thumb drive is the designed option. Say you want to select photos from flikr and take it to costco for printing. i don''t want my user to do a "save as" or anything. one click it goes to the thumb drive straight.! Thanks. On Dec 19, 3:13 pm, "sunny beach" <sunnybeach1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Removing the dialog would be bad (if it is even possible). I have like to > determine where the photos are going to be saved on my own computer. > > Is this going to be a kiosk type thing where USB is the only option?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
This is not possible because of security reasons. It would give you the possibility to write arbitrary data to every place on disk that the user has access to without his knowledge. (On Windows XP: usually everywhere, like... boot.ini? Any EvE players here?) On Dec 19, 2007, at 10:43 PM, artybala wrote:> > It is not like a kiosk, but USB thumb drive is the designed option. > Say you want to select photos from flikr and > take it to costco for printing. i don''t want my user to do a "save as" > or anything. one click it goes to the thumb > drive straight.! > > Thanks. > > On Dec 19, 3:13 pm, "sunny beach" <sunnybeach1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Removing the dialog would be bad (if it is even possible). I have >> like to >> determine where the photos are going to be saved on my own computer. >> >> Is this going to be a kiosk type thing where USB is the only option? > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks Florian. On Dec 19, 4:02 pm, Florian Gilcher <f...-uIrEKGWfGbQ9+XFzOX5E4w@public.gmane.org> wrote:> This is not possible because of security reasons. It would give you > the possibility > to write arbitrary data to every place on disk that the user has > access to without his > knowledge. (On Windows XP: usually everywhere, like... boot.ini? Any > EvE players > here?) > > On Dec 19, 2007, at 10:43 PM, artybala wrote: > > > > > > > It is not like a kiosk, but USB thumb drive is the designed option. > > Say you want to select photos from flikr and > > take it to costco for printing. i don''t want my user to do a "save as" > > or anything. one click it goes to the thumb > > drive straight.! > > > Thanks. > > > On Dec 19, 3:13 pm, "sunny beach" <sunnybeach1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Removing the dialog would be bad (if it is even possible). I have > >> like to > >> determine where the photos are going to be saved on my own computer. > > >> Is this going to be a kiosk type thing where USB is the only option?- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---