Apache Camel endpoint to write a file AS400 FTP :

后端 未结 1 495
忘掉有多难
忘掉有多难 2021-01-23 02:48

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         


        
1条回答
  •  深忆病人
    2021-01-23 03:10

    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 讨论(0)
提交回复
热议问题