Domanda

I am very new to SFTP endpoint in mule. I am trying implement a sample example using SFTP endpoint.

I have used FTP endpoint and it worked fine with (FileZilla Server version 0.9.43 beta). Does the same FillZilla server work for SFTP endpoint or should I install some other Server?

When I use this FileZilla server I am always getting Connection refused exception java.io.IOException: Error during login to wsl@localhost: java.net.ConnectException: Connection refused: connect

Can any one please tell me what server exactly I have to install to use SFTP endpoint and direct me to sample SFTP example documentation.

Thanks in advance

È stato utile?

Soluzione

FileZilla server does not support SFTP, so you will need another server. See a list of FTP server comparisons here, and select one with SFTP support:

http://en.wikipedia.org/wiki/List_of_FTP_server_software

Altri suggerimenti

If you are only trying things out, you could use a mock SFTP server. Check the SFTP transports:

https://github.com/mulesoft/mule/blob/mule-3.x/transports/sftp/src/test/java/org/mule/transport/sftp/AbstractSftpFunctionalTestCase.java

If you are testing you can check out the SFTP server of the Munit

https://github.com/mulesoft/munit/wiki/ftp-server

You can also check the code to see how we did it

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top