Question

writing files with ssh

  • 21 February 2015
  • 3 replies
  • 12 views

I want to write files with scheduled workspace on fme server to a Linux server using SSH. I think i have to use python. Does somebody have experience.

3 replies

Userlevel 4
Hi,

 

 

I suspect you will need to install a separate ssh module into your Python interpreter. Here is an article outlining some contenders: http://dtucker.co.uk/hack/ssh-for-python-in-search-of-api-perfection.html

 

 

Also: http://fmepedia.safe.com/articles/How_To/Install-Python-modules-into-FME

 

 

David
Badge
Hi,

 

FME doesn't support any of that stuff I'm afraid (SSH or SFTP), rather a glaring omission IMHO.

 

 

But if you want it, it's probably worth voting for it here: https://trello.com/b/FddU9irV/fme-2016-desktop-engine-enhancements (Reader/Writer ideas, bottom 1/3rd)
Badge +1

Very very late to the party for a possible solution, but you use a FeatureWriter to write the file to a local directory then use a SystemCaller to invoke a suitably constructed "scp" bash command. Completely avoids Python.

Reply