The options all come from https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#upload-a-file-from-disk, which is documented here http://rubydoc.info/gems/sshkit/1.5.1/SSHKit/Backend/Netssh#upload%21-instance_method, which passes through 1:1 to http://net-ssh.github.io/scp/v1/api/classes/Net/SCP.html#M000009 Check the last link for the meaning of options.
Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 9 October 2014 02:17, Haani Niyaz <haani.ni...@gmail.com> wrote: > Hi there, > > I'd like to limit the output of the upload! function to errors only or > something less verbose instead of the entire upload trace. Is there anyway > to do this in Capistrano 3? > > I was digging through the sshkit code base and found this: > > def upload!(local, remote, options = {}) > > However, I'm unsure what the 'options' arguments provide. > > > Versions: > > - Capistrano 3 > > -- > 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 capistrano+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/5b2c8a0b-cb3e-4019-a66c-bd1dc96d1ad1%40googlegroups.com > <https://groups.google.com/d/msgid/capistrano/5b2c8a0b-cb3e-4019-a66c-bd1dc96d1ad1%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 capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLV4p6huOf9Uhv73xGJHZFWNQpFojQCgUbgom2K64Uv4hQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.