Passive Send No Longer Working

Discussions related to FTPAPI (An FTP client package for RPG programming.)
Post Reply
Posts: 1
Joined: Tue Sep 27, 2022 12:43 am

Passive Send No Longer Working

Post by kardon »

We have been using an FTP script with passive sends for forever. Through manual tests of the script we figured out that we have to send both the SENDPAsv 0 and SENDEPSV 0 commands in order the PUT to actually go through. Found in the API doc where we can use FTP_passiveMode *OFF, but nothing about turning EPSV off. How can we turn them both off in the API script?
Scott Klement
Site Admin
Posts: 655
Joined: Sun Jul 04, 2021 5:12 am

Re: Passive Send No Longer Working

Post by Scott Klement »

FTPAPI doesn't support extended passive mode (unless someone else added it? I didn't.) so there's no such thing as 'EPSV' (which is short for "extended passive') in FTPAPI.

Does your firewall require extended passive mode in order to allow FTP traffic?
Post Reply