Code Monkey home page Code Monkey logo

Comments (2)

sdkcarlos avatar sdkcarlos commented on August 12, 2024

Hi @trinhvanhuy , does this error appears with all the files ?

The plugin has been worked properly since i use it. But this plugin is for SFTP , i don't know if you can use it to connect to FTP.

I have searched a little while and i found this : Not able to connect to Secured Channel when doing SFTP with JSch

Could you open the OurCodeWorldSFTP.java file in your plugin and make the change as said in the post

As your error appears in the Download action, make the change in the lines [131 - 134]

// Change in every action
Channel channel = session.openChannel("sftp");
channel.connect();

ChannelSftp sftp = (ChannelSftp) channel;
// For 
Channel channel = session.openChannel("sftp");
ChannelSftp sftp = (ChannelSftp) channel;
sftp.connect();

Actually the plugin connects before cast the variable as a SFTP Client, but it works normally so may be due to your FTP connection.

from cordova-ourcodeworld-sftpplugin.

trinhvanhuy avatar trinhvanhuy commented on August 12, 2024

Thanks so much @sdkcarlos
But i've made its works yesterday
I will close this issue
Have a nice day !

from cordova-ourcodeworld-sftpplugin.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.