문제

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

도움이 되었습니까?

해결책

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top