cancel
Showing results for 
Search instead for 
Did you mean: 

FTP to AS/400 from J2SE Adapter

Former Member
0 Kudos

Hi,

I setup a J2SE adapter that with push the XML through XSLT to produce a flat file that in turn is to be FTPed to an AS/400 machine.

This is an extract of my adapter config:

<i>##File Adapter specific parameters

file.createDir=0

file.targetDir=/FTPBARSA

file.targetFilename=WARHEADTST

file.writeMode=append</i>

This works 100% to my IIS FTP, however, to the AS/400 I get the following error:

ERROR: Message processing failed with "java.lang.Exception: com.sap.aii.messaging.adapter.ftp.FTPEx: Unknown extension in database file name."

If I use the .SAVF after the target filename, I get the following error code:

ERROR: Message processing failed with "java.lang.Exception: com.sap.aii.messaging.adapter.ftp.FTPEx: Unable to close file. Error code CPE3101. Data transfer ended."

I am able to put the file using DOS FTP without a problem.

Any idea how I can do the transfer to the AS/400?

Rgs,

Johan Schoeman

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Although inactive wondering if solution was ever found to this I/O error and if so what?

Thank you.