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.
Page 1 / 1
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
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)
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.