I am trying to upload a file from my local directory to IBM mainframe FTPS server, which needs SITE commands to set the record length. I need to include the siteCOmmand as part of the URL.
Any thoughts?
See the Camel FTP documentation http://camel.apache.org/ftp2
And notice there is a siteCommand option. If there is no examples / more details on the web pages, then check the unit tests of the camel component to find examples
In that link you can find unit tests with the site command