colin-lee / ganymed-ssh-2

Automatically exported from code.google.com/p/ganymed-ssh-2
Other
0 stars 0 forks source link

Help using SCPClient #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be possible for you to post a working example of placing a file on a 
remote server using the SCPClient class? I have been unsuccessful in getting 
that working. I keep ending up with an empty file on my server that is not 
named as I would expect it.

Here is a gist on GitHub that shows my code and what I get etc.

https://gist.github.com/michaelrice/26cd4c2fedd68b1a6a73

I am using build 262, and this is being used from a Grails application.

Original issue reported on code.google.com by mich...@michaelrice.org on 11 May 2014 at 7:35