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