Questions tagged [camel-ftp]

Camel component for FTP/SFTP/FTPS protocols.

A camel component which provides access to remote file-systems over the FTP and SFTP protocols.

207 questions
0
votes
1 answer

How to resolve the 400 The plain HTTP request was sent to HTTPS port issue in Apache Camel?

How to resolve the 400 The plain HTTP request was sent to HTTPS port issue? from: empValidation to: myhost:443/EmpValidation/EmpValidationAPIService rules.getRules().forEach(x->{ final LoadBalanceDefinition lb = …
0
votes
0 answers

Connect FTPS via Apache.Camel Read timed out

I need to consume file from ftps via camel(ServiceMix), so I launched local FTPS server with FileZilla. Connection with this server via FileZilla Client works great, but using camel in karaf logs I get IOException(shortcut StackTrace below). Camel…
ArAk
  • 1
  • 2
0
votes
0 answers

camel - sftp delete=true, would work with disconnect=true?

In our sftp route, we have set delete=true, but file processing takes about 40 minutes to complete. now when route tries to delete file after completion, we get org.apache.camel.component.file.GenericFileOperationFailedException: Cannot delete file:…
Ronak Patel
  • 3,819
  • 1
  • 16
  • 29
0
votes
1 answer

Ordering of responses from endpoints in RecipientList

I am using camel 2.17 and Fuse 6.3. I have a scenario wherein I need to send my message to multiple endpoints which are doing some dB logging each. I am using "recipientList" to send my message to these endpoints but here I face an issue that, my…
Pulkit
  • 21
  • 6
0
votes
0 answers

camel FTP file download - 501 issue

I am getting 501 error code when I try to connect to the FTP server and download file. I am able to download the csv file using the same user using winscp. I am using Apache camel 2.17 version. From windows command prompt: C:\Users\benzyl>ftp…
Ravi
  • 1,247
  • 4
  • 15
  • 35
0
votes
1 answer

ftp consumer stream download seda queue fails during splitter tariterator

First a little background on my requirements: Download large tar.gz files from multiple dynamically defined read only ftp/sftp sites. Process the files within the .tar.gz based on extension of the entry name. Using Camel 2.19.3 My solution is to…
Paul S
  • 11
  • 3
0
votes
2 answers

How make sure that CAMEL-file is read by only one server?

I am using camel-jcifs and reading a file. Every thing works fine. The application will be deployed on four server instance. Now my query is how can I make sure only one server picks up the file at a time?
0
votes
1 answer

How to share the camel context between 2 different applications or war's

I have created 2 different application and started the camel context in one of them. How do I use this already started context in the second application ? I tried getting the context by using lookUpByname() and binding camel context with jndi…
Sat
  • 3
  • 2
0
votes
1 answer

Apache Camel FTP getting Cannot retrieve file: RemoteFile error

I'm trying to retrieve files using the Camel FTP component (Camel 2.19.0): from("ftp://my.host.com:21/my/relative/directory?download=true&stepwise=false&delete=false") Camel is connecting and listing the files in the directory correctly, however…
java-addict301
  • 3,220
  • 2
  • 25
  • 37
0
votes
0 answers

Camel : How to use same header in file component

I have requirement where I need to read a message from a queue. queue has body and header and this body and header I want to use in every file read of the next processor. from("activemq:index.init") //.process(new PrintProcessor()) …
Arvind
  • 1,207
  • 6
  • 27
  • 55
0
votes
1 answer

Reuse consumer to fetch extra content from the same endpoint

I have an Apache Camel route which purpose is to fetch xml-documents and files linked in the document. When it…
imfredde
  • 11
  • 4
0
votes
1 answer

Apache camel or Spring OutboundChannel

I am currently working on a project which requires sending of files of moderate sizes to a server at a distant location using ftp. I've come across two methods to achieve it; Apache Camel and Spring FTP. I would like to know which of these two is…
Milan
  • 47
  • 6
0
votes
1 answer

Apache Camel throws Permission Denied for SFTP connection

I have to read a file from SFTP server. But while reading it camel throws com.jcraft.jsch.SftpException: Permission denied. But i have read and write permission for the folder and files in it. I tried moving the file to .done folder with filezilla…
Ibrahim
  • 1,341
  • 1
  • 11
  • 24
0
votes
0 answers

Camel FTP, Move issue

I'm having an SFTP consumer route like: The user has Read/Write permission. When the component tries to move the file to…
Julio
  • 31
  • 3
0
votes
1 answer

Exception renaming remote file using Camel FTP

I have a polling route for FTP like this from("sftp://sftpUsername@ftpServer/path/to/folder?password=sftpPassword &delay=60000&stepwise=false&move=/home/username/processed/$simple{date:now:yyyy} …
Kabira Speaking
  • 227
  • 3
  • 18