Skip to main content
Question

writing files with ssh

  • February 21, 2015
  • 3 replies
  • 44 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

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings