On Jan 15, 2008, at 7:50 AM, borgel wrote:
Seems like I have to specify binary mode for the ftp transfer. How
can I do
that?
ftp://[EMAIL PROTECTED]&binary=true
borgel wrote:
- When uploading files to a ftp server the attachements are stored in
folders with some cryptic names. How do i specify where to store the
attachments?
FtpProducer will use Camel's auto-generated message id's for the
destination file if it can't find a filename in the
FileComponent.HEADER_FILE_NAME header. Try this:
exchange.getIn().setHeader(FileComponent.HEADER_FILE_NAME, "test.pdf");
- aaron