Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow FTP file connectors to send custom commands on login #3603

Closed
rbeckman-nextgen opened this issue May 11, 2020 · 0 comments
Closed

Allow FTP file connectors to send custom commands on login #3603

rbeckman-nextgen opened this issue May 11, 2020 · 0 comments
Milestone

Comments

@rbeckman-nextgen
Copy link
Collaborator

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020

  • The File Reader/Writer has a new "Initial Commands" field
  • Only enabled in FTP mode
  • Supports a single command, or a comma-separated list of commands
  • When connecting to an FTP server, after successful connection those initial commands will be sent
  • Works with FTPS too (SSL Manager)
  • The Test Connection servlet also uses the initial commands

This would fix a lot of issues with clients connecting to servers that require OS-specific commands and the like to be issued. One example is AS/400. Sometimes the FTP list name parser can fail because the server uses an unexpected format. If you're using FTPClient directly, you can just issue a "NAMEFMT 0" to fix it. But there's no way to do that right now with the FTP file connectors.

[http://imho.midrange.com/2011/06/15/using-apache-commons-net/]
[http://www.mcpressonline.com/networking/general/the-one-as400-ftp-command-you-must-understand.html]

Imported Issue. Original Details:
Jira Issue Key: MIRTH-3716
Reporter: narupley
Created: 2015-05-19T08:13:23.000-0700

@rbeckman-nextgen rbeckman-nextgen added this to the 3.8.0 milestone May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.