// create a polling consumer so we can poll the remote ftp file
PollingConsumer consumer = ftp.createPollingConsumer();
consumer.start();
// receive the remote ftp without timeout
Exchange result = consumer.receive();
// we must stop the consumer
consumer.stop();
// the result is the response from the FTP consumer (the downloaded file)
// replace the outher exchange with the content from the downloaded file