Hi Brian, On Tue, 2009-03-31 at 16:14 +0200, Brian Zzzzzz wrote:
> I have a method that uploads a selection of files via FTP. For each file > the method gets the file's associated ftp host/domain, user name and > password, connects, uploads the file, updates the status of the file and > saves the updated information. You should check out DRb, BackgrounDRb, and script/runner for options. You need to handle long-running tasks like this 'outside' your Rails app via a distributed processing mechanism. Sounds like you may also need access to your Models which these can also provide. HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---