I am trying to write a file to AS400 FTP via camel endpoint as below
ftp://user@host:21/QSYS.LIB/XINFT.LIB?password=password&passiveMode=true
ftp://user@host
-
You are more than likely running into a NAMEFMT issue. The FTP component is probably executing a command prior to the cd
which disables automatic NAMEFMT selection. A trace of the ftp session should help identify the issue.
Try forcing NAMEFMT 1
with the siteCommand
option in the URI:
ftp://user@host:21/QSYS.LIB/XINFT.LIB?password=password&passiveMode=true&siteCommand=namefmt%201
讨论(0)
- 热议问题