Re: Mainframe FTP



On Tue, 4 Sep 2007 14:21:18 -0500, McKown, John wrote:

-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf Of Philip Miscione
Sent: Tuesday, September 04, 2007 2:07 PM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Mainframe FTP
Sensitivity: Private

I am trying to figure out where or how the port command gets built in
this FTP job, I want to change it to

PORT 161,221,112,120,8,158

I can't find it anywhere in the JCL or sysin ?

331 Password required for mainframe.

EZA1701I >>> PASS

230 User mainframe logged in.

EZA1460I Command:

EZA1736I get deposits.txt 'P.SXA2X0.XD01.XXXX.BDEPOS(0)' (r

EZA1701I >>> PORT 161,221,112,20,8,158

200 PORT command successful.

TIA

That is dynamically generated by the FTP server. I am not aware of any
way to "hard code" it to some other value. In fact, it may (and likely
will) vary over time. This is a part of the "passive" or "firewall
friendly" protocol for ftp.


The PORT command is not used in "passive" ftp.
In "passive" ftp, the port information for the data connection is passed from
server to client in the "227 Entering passive mode" message.

Bill

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • [NEWS] Symantec Enterprise Firewall FTP Bounce Vulnerability (Patch Available)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Raptor Firewall FTP Bounce Vulnerability. ... PORT command referenced a destination that doesn't ...
    (Securiteam)
  • Re: FTP on IIS6.0 Not Working
    ... > 220 Microsoft FTP Service ... > 331 Password required for username. ... > 200 PORT command successful. ... > 150 Opening ASCII mode data connection for /bin/ls. ...
    (microsoft.public.inetserver.iis.ftp)
  • FTP PORT command binds to localhost?
    ... Does anyone know why FTP.EXE in the windows command prompt is binding to ... when issuing a PORT command on a remote FTP server on the Internet? ... 150 Connecting to port 16716" ...
    (microsoft.public.windowsxp.network_web)
  • Re: FTP error using a MAC
    ... If we switch to active mode then the port command fails as the IP address issued is the local IP associated with the miniMac running behind a firewall, the same firewall as the windows PC; ... attempting to FTP to a Microsoft Windows 2003 FTP Server ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Mainframe FTP
    ... Subject: Mainframe FTP ... PORT 161,221,112,120,8,158 ... 331 Password required for mainframe. ... 200 PORT command successful. ...
    (bit.listserv.ibm-main)