Midrange News for the IBM i Community

Posted by: clbirk
FTP extended passive mode
has no ratings.
Published: 06 Mar 2013
Revised: 07 Mar 2013 - 4012 days ago
Last viewed on: 01 Mar 2024 (7072 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

FTP extended passive mode Published by: clbirk on 06 Mar 2013 view comments(1)

I have ftped between two i's in a room many many times, no problem.  I have an i over in germany I needed to ftp to, and sometimes I could do it and some times I could not. Both machines are on V7R1, so that wasn't the issue.

I knew it had to do with "passive" (actually extended passive), and while sendpasv will toggle passive on and off, it does not toggle extended passive, that command is sendepsv  and as soon as I turned off extended passive, the two machines talked to each other like two women gossiping.

So I present this in case you have had issues using the FTP command on the i in that "sometimes it will put or get and sometimes not". I knew I was connected because I could set the remote directory, etc. but as soon as I would do a put, it would enter "extended passive mode" and well.

Return to midrangenews.com home page.
Sort Ascend | Descend


(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Comment on: FTP extended passive mode
Posted: 10 years 11 months 26 days 22 hours 55 minutes ago
Edited: Thu, 07 Mar, 2013 at 07:01:47 (4012 days ago)

Yep, that's typically a Router issue but the System itself has that EPASV setting.

We added it to the FTPFILE command about a year ago as we ran into similar situations.

i also wrote an article about it here http://www.midrangenews.com/view?id=1660