Details
Description
Currently, Camel sends FTP SITE commands only after log-in and before uploading a file.
In general, SITE commands can be virtually anything: We now got a use case where we need to communicate with an FTP server in terms of SITE commands, most of the time without the need to upload anything. I.e., send a SITE command, capture the reply and hand it back to the application.
In camel-ftp, this could be done with a new property which tells the component to not upload a file and get the server response, e.g. in the body or as a header attribute. This is only needed for the producer side.
We'd like to provide the code for this.
Attachments
Issue Links
- is related to
-
CAMEL-2822 Enable sendSiteCommand()-method in FTP uri.
- Closed