Skip to Content

This is the third post in the series “SFTP Adapter – Installing SFTP Server on Windows”.  If you have not read the previous posts, you can refer the below links.

SFTP Adapter – Installing SFTP Server on Windows – Part 01

SFTP Adapter – Installing SFTP Server on Windows – Part 02

This post describes the steps to test the localhost SFTP server using SFTP Adapter which available as part of Secure connectivity add-on. It also consists of steps to generate public key finger print and channel configuration for password based authentication.

  • Create a test file in the SFTP server using the following command
    • $ cat >test.txt
    • Enter the test data
    • Ctrl + Z to save the file

      25. create a test file.PNG

  • Check the existance of the file and relevant permission
    • $ ls -l

      26. ls.PNG

        27. public key finger print.PNG

  • Configure the SFTP Sender with the following values
    • Configure the server host as localhost
    • Use the above generated server finger print
    • Use the OS user credential for authentication (The user account which is used for testing in the previous post)
    • Use the created test file in the first step

           28. channel config - password.PNG

  • Activate & Start the channel. During execution, the channel short log will look like below

           29. channel short logs.PNG

  • The content of the message can be verified by opening the same message in monitoring

     30. message content.PNG

This verifies that the the locally installed SFTP server works perfect with PI SFTP Adapter. The next post in this series covers the steps to generate the SSH Private Key and test the SFTP Adapter using the locally installed SFTP Server(using private key based authentication)


To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply