Hi @kouri1986,
SFTP support was added for the FTPCaller in FME 2016.0. Do check and see if perhaps you are on a slightly older release. Could you tell us more about the use of https:// instead of sftp://? Do you have any information as to why you need to access the service using https?
Another idea here is using a shutdown script to call a program to upload the data. You can see a sample of this type of workflow using WinSCP here: https://knowledge.safe.com/articles/788/transfer-w...
Regards,
Brian Pont
Hi @kouri1986,
SFTP support was added for the FTPCaller in FME 2016.0. Do check and see if perhaps you are on a slightly older release. Could you tell us more about the use of https:// instead of sftp://? Do you have any information as to why you need to access the service using https?
Another idea here is using a shutdown script to call a program to upload the data. You can see a sample of this type of workflow using WinSCP here: https://knowledge.safe.com/articles/788/transfer-w...
Regards,
Brian Pont
I am not sure, when I use FILEZILLA to connect to the SFPT it puts the URL as HTTPS://. so not sure why. I am currently using FME 2016.1.01 64bit edition.
This may not be directly relevant, but I had some problems with SFTP a couple of months ago, and Safe looked into this for me (C113386). The problem I was having was caused by FME refusing to connect via our company proxy, and so failing to open a connection.
As a workaround, I installed WinSCP. You can call it from FME using its scripting. Use an AttributeCreator to build an attribute containing something like the following:
open {FTP_CONNECTION_NAME}
cd "{REMOTE_DIRECTORY}"
lcd "{LOCAL_DIRECTORY}"
get "{FILE_NAME}"
exit
... replacing the curly brackets as appropriate.
Then use an AttributeFileWriter to write that as a file onto your C drive.
Then use a Decelerator with a couple of seconds of delay to prevent the next call from running before the file has finished writing.
Finally, use a SystemCaller, with a command such as:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="C:\script.txt"
Hope this helps!