CPA5305

Discussions related to FTPAPI (An FTP client package for RPG programming.) http://www.scottklement.com/ftpapi/
Post Reply
basim
Posts: 9
Joined: Tue Oct 07, 2025 7:33 pm

CPA5305

Post by basim »

All,
I' m using ftp_get command to transfer data from IFS to a physical file. The files not exist and I don't know the record length. When the transfer begin I got CPA5305 . There's a way to avoid it? I know that I can use some alternative like coyfrmstmf or using the "normal" FTP command or using the addrplye but I m curious to know if there is a possibility under ftpapi to avoid the error
Thanks
Basilio
basim
Posts: 9
Joined: Tue Oct 07, 2025 7:33 pm

Re: CPA5305

Post by basim »

All,
I change FTPAPIR4 service program in order to create the phisycal file with a record number greater that 400000
Thanks
Post Reply