0

The sFTP connector takes a filepath as input. If I'm extracting a file as an inputstream to sFTP then I assume I need to save the inputstream as a File and then use the filepath as input for sFTP.

In CloudHub environment, how do I use the File Connector in a 'good' way; to do this in such a way that it ports easily from localhost to cloudhub?

Thanks for any insight on this.

jww
  • 97,681
  • 90
  • 411
  • 885
  • Please show your code. Many folks don't have familiarity with the sFTP connector API. For those who do, they may be able to spot your problem immediately. – jww Apr 01 '15 at 07:18
  • I fixed this. The sFTP connector takes an InputStream as input, which I had (I'm working with S3) so I avoided the need for any Files. – user2279670 Apr 01 '15 at 12:13

0 Answers0