I'm normally a VM guy but I'm trying to do some work on z/OS 2.2, and I could 
use some help.
I'm trying to use Windows FTP to transfer a downloaded tersed file from Windows 
to z/OS 2.2.

Previously, with Windows 7, I invoked FTP with this command: ftp < ftpscript.txt
The ftpscript file normally has quite a few more statements but to verify the 
problem I condensed it to contain these statements:
-------------------------------
verbose
open nnn.nnn.nnn.nnn
myuser
binary
put file.trs 'MYUSER.FILE.TRS'
quit
-------------------------------
The verbose statement allowed FTP to prompt for a password, in order to avoid 
having the password in the text file.

Recently, I grudgingly had to upgrade to Windows 10. This process no longer 
works. In trying to diagnose the problem, I used the FTP -d option and 
discovered a difference between FTP on Windows 10 and FTP on Windows 7. The 
Windows 10 FTP client connects to the z/OS FTP server and immediately issues 
the command: OPTS UTF8 ON
and receives this message:
501 command OPTS aborted -- no options supported for UTF8

It accepts the userid but then processes the binary statement as the password, 
and of course that fails.

In the manual "z/OS Communications Server: IP Configuration Reference" I found 
the EXTENSIONS statement to enable FTP to support FTP extensions. The 
description of EXTENSIONS UTF8 states: "Enables the FTP server to respond to 
the LANG command, and to use UTF–8 encoding of pathnames on the control 
connection." So I added EXTENSIONS UTF8 in the TCPIP.FTP.DATA dataset. I cycled 
the FTP daemon started task, and the TCPIP started task, and even reIPLed the 
z/OS system. This has not made any difference.

I'm hoping to find the way for z/OS to accept the OPTS UTF8 ON command. (Or for 
Windows 10 FTP to not issue the command.)

Can someone please give me some guidance on this? I'm at a loss. I've done lots 
of internet searches and haven't been able to find any solution.

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

Reply via email to