Skip to main content
Question

writing files with ssh

  • February 21, 2015
  • 3 replies
  • 64 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.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

david_r
Celebrity
  • February 23, 2015
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

Forum|alt.badge.img
  • February 23, 2015
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)

jstanger
Forum|alt.badge.img+1
  • July 7, 2020

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.