That's one way to do it. Then you just have to add the symlinking to your deployment script. If you do any tests, the first option might be better (?).
-- A.H. On May 11, 10:35 am, Jonathan Weiss <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I have a set up where I have files stored in a folder in the public > > directory in a folder called photos. How do I tell capistrano to not > > delete those files? (right now by default it is removing all the files > > in my public_html folder and copying the new ones in so its deleting > > my uploded photos.) > > Typically you store the photos somewhere else (e.g. shared/photos or > /opt/data/photos) and symlink this directory to public/photos on > deployment. > > This way your application does not have to know about this different > storage path. > > Jonathan > > -- > Jonathan Weisshttp://blog.innerewut.dehttp://twitter.com/jweiss --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---