Even better, unless you have authority issues, why can’t use just use a DDMF and move data.
Why do you need to use an API? You can use a script to automate FTP.
Here’s an example: AS/400 FTP Batch program.
Register Hereor login if you are already a member