mcpoowl / sftpmodule Goto Github PK
View Code? Open in Web Editor NEWUse (S)FTP in your Mendix apps. Latest version is Mendix6 compatible
Use (S)FTP in your Mendix apps. Latest version is Mendix6 compatible
Any plans to incorporate FTPS?
Uploading a file using the regular FTP option fails.
See: https://mxforum.mendix.com/questions/8373/FTP-Module--Fail-to-upload-document
The SFTP module is giving 5 deprecation warnings in v6.9 as follows:
'Traversing association 'SFTP.Document_Connection' from persistable entity 'SFTP.Connection' to non-persistent entity 'SFTP.Document' is deprecated. In Mendix 7 this will no longer be allowed'
So it looks like the module will no longer work when Mendix 7 is released
The default Popup and Desktop layouts from the Layouts module in each Mendix application are used. However, in an existing application these templates could've been renamed. In that case, importing the module will start with errors.
Thanks to @RCatersels for reporting this issue
Paul,
I am struggling with getting this working - most of the issue is that I am an FTP newbie.
I installed the module, configured it and got it working with no issues on my local machine. I pointed it to an ftp site I set up at www.brickftp.com and was able to retrieve files with no issues.
When I deploy to the cloud, I get errors in the log. error messages look something like:
Apr 21 14:54:09.377 127.0.0.1 tr10000: ERROR - (S)FTP: (1/63) org.apache.commons.net.MalformedServerReplyException: Could not parse response code.
Apr 21 14:54:09.379 127.0.0.1 tr10000: ERROR - (S)FTP: (2/63) Server Reply: Protocol mismatch.
Apr 21 14:54:09.379 127.0.0.1 tr10000: ERROR - (S)FTP: (3/63)
Apr 21 14:54:09.379 127.0.0.1 tr10000: ERROR - (S)FTP: (4/63) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:337)
Apr 21 14:54:09.379 127.0.0.1 tr10000: ERROR - (S)FTP: (5/63) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294)
Apr 21 14:54:09.379 127.0.0.1 tr10000: ERROR - (S)FTP: (6/63) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:483)
Apr 21 14:54:09.380 127.0.0.1 tr10000: ERROR - (S)FTP: (7/63) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:608)
Apr 21 14:54:09.380 127.0.0.1 tr10000: ERROR - (S)FTP: (8/63) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:582)
Apr 21 14:54:09.380 127.0.0.1 tr10000: ERROR - (S)FTP: (9/63) at org.apache.commons.net.ftp.FTP.quit(FTP.java:864)
etc. etc. I attached the whole error stack to this issue as a file.
FTPErrorMessage.txt
I have not set up SSH keys or any other security settings in the cloud installation. Can you give me a beginner's run down of how to go about doing that? Also, if you see something in the errors that may give me a direction to go in to resolve this, I would really appreciate it.
Thanks,
Mike
I noticed that the file rename feature does not work. The cause lies in the fact that the OldFilename value is changed in the Connection object without a commit. After setting the new file name on the screen, the processing microflow retrieves the connection based on a database retrieve of Account. As a result, the 'old' instance of Connection will be retrieved over association which does not include the latest OldFilename value.
The fix would be to change the SUB_GetCurrentAccount microflow to cast the Account from memory instead of doing a database retrieve each time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.