Skip to main content
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? 
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.
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