drarem
New User
Joined: 07 Jan 2006 Posts: 10
|
|
|
|
My goal is to ftp a file passively (via port 2121). The server is set up with a PGP key already. Could someone help me with my syntax? I tried : after port, and open xxxx.xxx.xxx.xx.. in the sysin card.
Here is the error message:
Code: |
EZA1736I FTP
EZY2640I Using dd:SYSFTPD= for local site configuration parameters.
EZYFT46E Error in dd:SYSFTPD file: line 1 near column 1.
EZY2642E Unknown keyword: TLS
...
EZA1554I Connecting to: xxx.xxx.xxx.xx port: 2121.
EZA2589E Connection to server interrupted or timed out. Initial connection
|
Here is the JCL:
Code: |
//STEP005 EXEC PGM=FTP
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSFTPD DD *
TLS
/*
//OUTPUT DD SYSOUT=*,DCB=(LRECL=160)
//*
//INPUT DD *
xxx.xxx.xxx.xxx 2121
user1
password1
ascii
|
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Your first problem is that, as the EZY2642E message indicates, there is no configuration command TLS. On z/OS 1.10 you can use TLSMECHANISM, TLSPORT, TLSRECLEVEL, and TLSTIMEOUT -- but not TLS.
Your second problem is the EZA2589E message, which indicates either there's no path to the server or the server is not listening on port 2121. There's nothing wrong with your syntax -- but you need to work with your site support group to determine which parameters you need for your FTP; we cannot provide you many answers since we don't know your site. |
|