GithubHelp home page GithubHelp logo

sftps's Introduction

(S)FTPS module for Mendix

Welcome to the (S)FTP module. This module uses the Jsch and Apache commons library to allow connections to (S)FTP servers.

This module is an updated version of already existing versions in the Mendix AppStore. Due to the fact that other versions are no longer updated and maintained, we've uploaded this version.

Dependencies

  • Jsch
  • Apache Commons

Installation

Download the module in your project. Add the Connection detail pages to your application, and start using the FTP actions in your microflows.

Features:

  • FTP
  • SFTP
  • FTPS
  • Browse / Upload / Download / Zip / Delete

Notes

As stated above, this module is an updated version of old AppStore content, made ready for Mendix 7 with some improvements. That doesn't mean everything has been refactored (yet). So if you run in to any trouble, errors or if you want extra features, please raise an issue on Github. You could also create a pull request ofcourse :-)

sftps's People

Contributors

mcpoowl avatar

Watchers

 avatar  avatar

Forkers

mulderwh dblts

sftps's Issues

Unsupported or unrecognized SSL message

I'm having issues using the ftps feature of the module. I've worked with SFTP, but the client insists with FTPS. Regardless of which FTPS service I use, whether it's the client or the test service at Rebex, I keep getting the error message Unsupported or unrecognized SSL message (see full log below). Filezilla, on the other hand, has absolutely no problem.

Little big digging into the Java action and Googling the issue made me think of updating the .jar files of at least the ApacheCommons, but without any success as the issue persists.

Unless there is a working FTPS alternative module, please help me out :)


Project Details:
Mendix app version: 9.12.4, started on 9.6.0
Module version: 3.0.0


javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:439)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:184)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
at org.apache.commons.net.ftp.FTPSClient.sslNegotiation(FTPSClient.java:283)
at org.apache.commons.net.ftp.FTPSClient.connectAction(FTPSClient.java:219)
at org.apache.commons.net.SocketClient._connect(SocketClient.java:254)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:212)
at sftps.helpers.FTPSConnection.execute(FTPSConnection.java:77)
at sftps.actions.JA_GetFileList.executeAction(JA_GetFileList.java:63)
at sftps.actions.JA_GetFileList.executeAction(JA_GetFileList.java:29)
--- Cut off by OP as the rest seems irrelevant ---

IVK_Configuration

Hello! Sorry to bother you.

I am unable to find the IVK_Configuration microflow that's mentioned in the README:

ivk_config

I also searched it using the search bar but nothing pops up. Could it be that the microflow is missing from the module?

Thanks in advance!

FTPS support is missing in some Java-classes

Hello,

I'm loving the widget so far! Saves me a lot of custom coding. However, it seems you forgot to include the FTPS support in some Java-classes, most notably JA_SendDocument.java.

After including the last line (and an import), we're now also able to upload documents to our FTPS server. This also applies to the rename class (didn't check all of the others).

Ciao!
Bram

if(SFTPused) { SFTPConnection.handleFile(DocumentParameter1, ConfigurationParameter1, ConnectionParameter1, null, context, Action.PUT); } else if (type == FTPType.FTP) { reply = FTPConnection.execute(DocumentParameter1, ConfigurationParameter1, ConnectionParameter1, null, context, Action.PUT); } else if (type == FTPType.FTPS) { reply = FTPSConnection.execute(DocumentParameter1, ConfigurationParameter1, ConnectionParameter1, null, context, Action.PUT); }

Mx9 support is needed

Hi,

Could you upgrade to at least Mx8.12 so it is also usable in the Mx9 versions? This module is keeping me away from upgrading to Mx9!

Thanx!
Sven Franke.

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.