You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Carsten Erker (JIRA)" <ji...@apache.org> on 2013/03/07 12:06:13 UTC

[jira] [Created] (CAMEL-6137) Send siteCommand(s) without uploading filed

Carsten Erker created CAMEL-6137:
------------------------------------

             Summary: Send siteCommand(s) without uploading filed
                 Key: CAMEL-6137
                 URL: https://issues.apache.org/jira/browse/CAMEL-6137
             Project: Camel
          Issue Type: Bug
          Components: camel-ftp
    Affects Versions: 2.10.4
            Reporter: Carsten Erker


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. This is only needed for the producer.

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. 

We'd like to provide the code for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira