camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustav Sinder <>
Subject Absolute path when moving done/error files on FTP server
Date Wed, 09 Sep 2015 15:53:51 GMT

I've got an issue with the ftp2/file2<ftp://ftp2/file2> component when fetching files
from a remote FTP server and trying to move the handled files to a done subfolder.

Camel reports: org.apache.camel.component.file.GenericFileOperationFailedException: File operation
failed:  Connection closed without indication.. Code: 350
The network guy on the other end reports that the FTP commands look strange and after a tcpdump
inspection they sure do.

The endpoint is configured as follows:

My tcpdump inspection shows that Camel issues these commands when trying to move the file:
"Request: RNFR MyFile.csv"
"Request: RNTO //done/MyFile.csv"

Why do the component add the double slashes to the path that should be relative? Can I change
my endpoint to change the behavior?
Tried using a ./done path instead but that gave: "Request: RNTO //./done/MyFile.csv"



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message