https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#upload-a-file-from-a-stream
Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 12 March 2014 07:13, Matthew Nguyen <[email protected]> wrote: > Hi > I have the same question. > put is not to upload a file but to write into a file. > I first prompt the user to enter data, build a string from the data and > "put" the string to a new file. > > > On Monday, December 9, 2013 6:17:44 PM UTC+9, Lee Hambley wrote: > >> You mean upload a file? Its the "upload!()" method from out underling >> driver SSHKit >> >> Sent from my Nexus 4. >> On 9 Dec 2013 09:56, "Raison D'souza" <[email protected]> wrote: >> >>> While setting up a server for deployment, I have a task which asks the >>> user for database configs, and then I set it in the shared path. >>> >>> What would the corresponding command be in Capistrano 3 ? >>> #Capistrano 2 >>> put db_config, "#{shared_path}/config/database.yml" >>> >>> Thanks >>> Raison D'souza >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Capistrano" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> To view this discussion on the web, visit https://groups.google.com/d/ >>> msgid/capistrano/4ec48ebc-d7b4-4d4c-956c-f80948ed71ec%40googlegroups.com >>> . >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> -- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/46dbbb5f-1bb4-4241-8b54-d1f1f8f66883%40googlegroups.com<https://groups.google.com/d/msgid/capistrano/46dbbb5f-1bb4-4241-8b54-d1f1f8f66883%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVjE449XFmca7zT4V54DnT6oyG7reNBak%2BW12je7T%3D1xg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
