Agreed. Giving Rails any FTP privileges beyond read is a disaster waiting to happen. Go with something that will allow Rails to handle file transfer on it's own.
JB, take a look at Boxroom. http://boxroom.rubyforge.org/ This is what I use for sharing files between clients and friends. I run it as it's own application, but with a little tinkering you can integrate it into whatever you're doing. On Monday 20 October 2008 17:02:57 Pardee, Roy wrote: > Does anybody else get the heebie-jeebies at the thought of running a web > app under a user account w/perms enough to create FTP users? ;-) > > Have you considered other methods for empowering your users to move files > back & forth to your server (e.g., attachment_fu)? If that would suit, > you'll probably wind up w/a more secure app... > > Cheers, > > -Roy > > -----Original Message----- > From: rubyonrails-talk@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Jb Li Sent: Monday, > October 20, 2008 1:38 PM > To: rubyonrails-talk@googlegroups.com > Subject: [Rails] Can we create FTP users within Rails? > > > Hi All, > > I plan to use the vsftpd FTP damon in Ubuntu Linux server running my rails > website. My website needs automatically create new FTP accounts everytime > a new registration occurs. > > I have done basic homework of googling and search this forum and cannot > find any sugestion or good examples. Can someone please give me some > idea on what steps I need to program (rails code example)? > > > I am new to Linux / rails world. Thanks. > > Regards, > > JB > -- > 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---