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
2 answers

camel ftp in recursive manner results in ftp error code: 226

I have a very simple ftp route that should recursively download files from an URL. It would be very important to get it running still today. There are no proxies, no extra authentication, no firewall. However, it only downloads the first file and…
Tamas
  • 736
  • 2
  • 11
  • 27
0
votes
1 answer

Couldn't transfer nested folder from apache camel using sftp, what should i add to transfer the folder as well

I want to copy all the files and subfolders from my local machine to sftp server, While I was able to transfer files inside the folder I couldn't transfer nested folder. The configure method of my custom route builder is as follows @Override …
bhaskar
  • 3
  • 4
0
votes
2 answers

Apache Camel: Get move path after file transfer

I am creating a file transfer route which is using move to set a dynamic path where the file is moved after successful file transfer. I have also setup a notifier to keep track of file transfer events. As the move path is dynamic, I need to get the…
Sumeet Kashyap
  • 143
  • 4
  • 15
0
votes
1 answer

Getting some issues from Camel configurations while processing files and deleting

Getting some issues from Camel configurations while processing files and deleting it. Have added 3 usecases below Objective : Read file using SFTP and copying it in local directory . Once done , delete it from the SFTP location. Below is the…
0
votes
0 answers

Apache Camel JSCH SFTP: Incomplete file download

I am trying to download files from remote server to local directory over SFTP using a fairly simple route. The problem i am facing is that the route is able to download small files (200 bytes) but gets stuck exactly at 98265 bytes for larger files…
Sumeet Kashyap
  • 143
  • 4
  • 15
0
votes
1 answer

Testing an Apache Camel route with vm and file component over ftp

I have two very simple routes (Code below is not the original classes, I have simplified it like removing setters, logs and so on) The first route: public static final String MESSAGE_CONSUMER = "vm:myMessage"; public String myXmlProducer; //and…
Sheri
  • 75
  • 9
0
votes
2 answers

No processor found in splitter after validation.

I have a Camel route that needs to receive a XML file from FTP as a stream, validate it and split it. Everything works fine all the way to the validation, but then the split doesn't work as expected. When debugging, I found the split process…
pmartin8
  • 1,545
  • 1
  • 20
  • 36
0
votes
2 answers

How to get Camel FTP to fetch only once on demand

I'm fairly new to Camel. I've been trying to get Camel to fetch a single file via FTP only once, on demand. I couldn't get it to work. Here is what I've tried. Let me know what is the best approach and what is wrong with my code. 1- Send an empty…
pmartin8
  • 1,545
  • 1
  • 20
  • 36
0
votes
1 answer

Can't create new local work file during consume a file from SFTP

I'm using camel version 2.15.2 I've an endpoint final String endpoint =…
SleepyX667
  • 670
  • 9
  • 21
0
votes
1 answer

Aggregating 6 files to a single file using Apache Camel

I have a requirement where i have to aggregate/merge 6 xml files to a single xml file using Apache Camel. The issue is that, the 6 xml files are mounted on a folder which 6 different servers will be polling. So, if each server picks up one file and…
chand
  • 11
  • 3
0
votes
1 answer

Conditionally delete or skip files with Camel's SFTP source

We're using Camel's SFTP source to download and process files. We would like achieve the following: Source files are only deleted from the server if they are older than 2 days. Newer files should be kept on the server, even if they are processed…
Jochen
  • 7,270
  • 5
  • 24
  • 32
0
votes
1 answer

What is the default camel-ftp readLock value for Camel 2.9.x?

The Camel documentation mentions that readLock's default value is markerFile, but this option is not available for ftp. So what is the default value for readLock for the ftp component? Is it changed?
Surjit Sen
  • 81
  • 3
  • 7
0
votes
0 answers

Camel SFTP Component: different behavior running on Windows and CentOS

I am using using camel-sftp to retrieve some files from a remote SFTP Server and after retrieving them I want to delete them. When I am running my route in Windows files get deleted and everything works as expected. However, when running on CentOS…
hveiga
  • 6,725
  • 7
  • 54
  • 78
0
votes
1 answer

Apache Camel SFTP file download from specific directory

I used FTP component of camel but it could not download the files that I want.
Neron
  • 1,500
  • 7
  • 30
  • 52
0
votes
1 answer

Intercepting Exchange in Camel

Assume I have the route as follows from("direct:A") .process(new ProcessA()) .setHeader(Exchange.HTTP_METHOD, "get") .recipientList( simple(httpUri + header("doc_id")), "false") .process(new ProcessB()) .to("direct:B"); In the above path…
Santhosh Tangudu
  • 759
  • 9
  • 19
1 2 3
13
14