> Does the input have the USER keyword specified, then the actual 
> userid/password?

Yes, the first line of DD INPUT is (asterisks substituted for sensitive data)

USER ******* ********

> I thought if you actually connected by specifying a 
> URL, you didn't need the USER keyword.

No, the URL is a synonym for the IP address ("foreign host" in FTP-speak). You 
still potentially need a port specification (default is 21) but you definitely 
still need to specify a userid and password eventually, somehow. Not just my 
theory: the same FTP-attaching code works (1) this customer mainframe to 
another server mainframe; and (2) other customer mainframe clients to this 
server mainframe.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Michael Babcock
Sent: Wednesday, November 17, 2021 6:25 AM
To: [email protected]
Subject: Re: FTP Switch between users not accepted as anonymouslevel = 3

Does the input have the USER keyword specified, then the actual 
userid/password?  I thought if you actually connected by specifying a 
URL, you didn't need the USER keyword.

On 11/16/2021 11:47 AM, Charles Mills wrote:
> Thanks. Good thought. The file is machine-generated by software that 
> generally works so that seems unlikely. I don't *think* it is even getting up 
> to the USER statement, because that should come after the 220 message, but I 
> am grasping at straws here too.
>
> Charles
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On 
> Behalf Of Michael Babcock
> Sent: Tuesday, November 16, 2021 9:36 AM
> To: [email protected]
> Subject: Re: FTP Switch between users not accepted as anonymouslevel = 3
>
> A grasp at straws, but make sure the INPUT data does not contain data in
> column 72 onward (mostly it would be line numbers).
>
> On 11/15/2021 5:55 PM, Charles Mills wrote:
>> Does anyone know what the heck I should be looking for on this?
>>
>>    
>>
>> A customer running the z/OS FTP client is attempting to log into our FTP
>> server. The FTP client is ATTACHed dynamically with FTP -e -i -n
>> -f//DD:SYS00032 url.of.ftp.server
>>
>>    
>>
>> The FTP client is passed an INPUT file that begins
>>
>>    
>>
>> User    userid  password
>>
>>    
>>
>> The output from the FTP client is
>>
>>    
>>
>> EZA1736I FTP -e -i -n -f //DD:SYS00032 url.of.ftp.server
>>
>> EZY2640I Using dd:SYS00032 for local site configuration parameters.
>>
>> EZA1450I IBM FTP CS V2R3
>>
>> EZA1772I FTP: EXIT has been set.
>>
>> EZA1554I Connecting to: url.of.ftp.server dotted.address port: 21.
>>
>> EZA2589E Connection to server interrupted or timed out. USER command failed.
>> Switch between users not accepted as anonymouslevel = 3
>>
>> EZA1735I Std Return Code = 10000, Error Code = 00008
>>
>>    
>>
>> I can connect from another z/OS system using similar parameters with no
>> problem, but this customer has never tried it before. "Nothing has changed."
>> Does anyone have a clue?
>>
>>    
>>
>> Charles
>>
>>    
>>
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to