Saturday, September 30, 2023

SFTP Connection creation in IS Admin Page

FTP (File Transfer Protocol)

It is a protocol that is used to transfer or copy the file from one machine to another. And in FTP, a secure channel is not provided to transfer the files between the hosts or systems. 

Default port -21. 

FTP is used for transferring of web pages and used for downloading the files from other different servers. Basically, it is used for transferring the files from one system to another system more reliably and efficiently.

SFTP(Secure File Transfer Protocol)

It is a protocol that provides a secure channel, to transfer or copy the file from one machine to another. SFTP establishes the control connection under SSH protocol. SFTP encrypts the data before sending.

Default port -22. 

In this blog, we will use some free SFTP server for PoC purpose. But in real-time, you will receive these details from your Infra team.

test.rebex.net:22
User Name: demo
Password: password




Now, use some SFTP client like FileZilla or WinSCP to test the connection.

I am using FileZilla to test the connection.

Once you have logged in successfully, you can see the remote files / directories



Now, we will see how to create SFTP connect in IS admin page.

Login into IS Admin page:
Note: At the time of writing this blog, I am using wM latest version is 10.15

External Servers>SFTP


Click on Create Server Alias:

Specify Alias, Remote Host, Port details and click on Get Host Key


Now, create User Alias Settings


Specify Alias, Username, password and SFTP Server Alias (from drop down - just created in above step)


Save the connection and test it.

Now, create a simple flow in Designer



WmPublic package contains all the built-in services to do SFTP operations like list, get, put etc.


Once you have received the files and content, you can validate it and send it to DB, Salesforce based on your business requirement.


Thanks for reading :-)

No comments:

Post a Comment

How to debug a Java Service.?

Please read my previous blog on Java Service Implementation to understand basics. After you have implemented Java Service successfully and e...