Are you sure that -all- the ports are open on the firewall? FTP actually uses 
three ports: the 'well know port' for initial contact and to negotiate a 
control port. The control port is used for the handshake and later to negotiate 
a data port.  

Unless you have specified otherwise, the control and data port numbers are 
unpredictable. 

The 'connecton closed by remote host' can be a firewall behaviour. 
 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
jagadishan perumal
Sent: Thursday, May 05, 2011 5:48 AM
To: [email protected]
Subject: Re: Not able to Ftp

The issue is that the moment we try typing ftp xxxx we dont get the logon
prompt and it ends up with a message "Connection closed by remote host".





On Thu, May 5, 2011 at 3:43 PM, Terry Sambrooks <[email protected]
> wrote:

> Hi,
>
> With regard to:
>
> "I have few files in my desktop to FTP it to mainframe. When i type FTP
> XXXXXXX from the dos i get a message as
>
> C:\Documents and Settings\255209\JCL>ftp 10.237.5.102
> Connected to 10.237.5.102.
> 220-FTPD1 IBM FTP CS V1R6 at xxx2800, 09:42:34 on 2011-05-05
> 220 Connection will close if idle for more than 5 minutes.
> Connection closed by remote host."
>
> There should be additional messages somewhere, probably on the SYSLOG.
>
> For FTP to work, the user needs an OMVS segment attached to their RACF
> Profile so this may be an issue.
>
> If the files are small text files, then the TN3270 Emulator transfer option
> may be an alternative to FTP, as it does not need the OMVS Segment.
>
> I have also encountered this particular situation when transmitting
> non-text
> files, and to overcome this I have tried the transmission with the binary
> option set.
>
> I hope this helps, but there may be better advice yet to come.
>
> Kind Regards - Terry
>
> Director
> KMS-IT Limited
> 228 Abbeydale Road South
> Dore
> Sheffield
> S17 3LA
> UK
>
> Reg : 3767263
>
> Outgoing e-mails have been scanned, but it is the recipients responsibility
> to ensure their anti-virus software is up to date.
>
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.

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

Reply via email to