Question

Is there a transformer that can be used to upload a shapefile to an SFTP site?


Badge +1
I have a routine which creates a series of Shapefiles. 

 

The resulting SHP are them uploaded to a SFTP via WinSCP. 

 

 

Is there a transformer or writter which will upload shapefiles to a SFTP site? 

2 replies

Userlevel 4
Badge +13
Never trtied it myself, but the HTTPFileUploader (http://docs.safe.com/fme/html/FME_Transformers/Default.htm#Transformers/httpfileuploader.htm)would be my first try.
Userlevel 4
Hi,

 

 

you will probably have to implement this in a shutdown script, e.g. using the Python ftplib (https://docs.python.org/2/library/ftplib.html) module and the FTP_TLS class.

 

 

Alternatively, consider using the Windows "ftp" command line tool (http://www.nsftools.com/tips/MSFTP.htm), which you can execute from FME in a shutdown script.

 

 

David

Reply