when connected to a MVS FTP server file listing is not shown

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
MVSUser
500 Command not understood
Posts: 1
Joined: 2004-03-19 09:12

when connected to a MVS FTP server file listing is not shown

#1 Post by MVSUser » 2004-03-31 06:41

when filezilla connects to a z/OS (aka MVS aka OS/390) Host it doesn't list files on MVS filesystem.
The z/OS has 2 filesystems (fs)
- the "normal" MVS fs where all files start with a ' e.g.
'USERID.BLA.TEXT' or 'HLQ.BLA.MORE.BLABLA'
- the UNIX fs where alle files start with a / e.g.
/home/userid/bla etc.
A ftp client can switch between the two fs via cd command. but for each fs the directory listing looks quite different. When I switch on the debug switch for filezilla I get an empty directory listing

Status: Connecting to ftp-mvs.intra.net ...
Trace: FtpControlSocket.cpp(745): OnConnect(0) OpMode=1 OpState=-1 caller=0x00e14ac0
Status: Connected with ftp-mvs.intra.net. Waiting for welcome message...
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=1 OpState=-1 caller=0x00e14ac0
Response: 220-FTPD1 IBM FTP CS V1R4 at OMVSS13, 09:39:52 on 2004-03-19.
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=1 OpState=-1 caller=0x00e14ac0
Response: 220 Connection will close if idle for more than 20 minutes.
Command: USER userid
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=1 OpState=0 caller=0x00e14ac0
Response: 331 Send password please.
Command: PASS *******
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=1 OpState=3 caller=0x00e14ac0
Response: 230 USERID is logged on. Working directory is "USERID.".
Status: Connected
Trace: FtpControlSocket.cpp(2919): ResetOperation(1) OpMode=1 OpState=-2 caller=0x00e14ac0
Trace: FtpControlSocket.cpp(885): List(FALSE,0,"","",1) OpMode=0 OpState=-1 caller=0x00e14ac0
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=4 OpState=0 caller=0x00e14ac0
Response: 257 "'USERID.'" is working directory.
Trace: FtpControlSocket.cpp(885): List(FALSE,0,"","",0) OpMode=4 OpState=0 caller=0x00e14ac0
Command: PORT 169,59,47,3,8,226
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=4 OpState=5 caller=0x00e14ac0
Response: 200 Port request OK.
Trace: FtpControlSocket.cpp(885): List(FALSE,0,"","",0) OpMode=4 OpState=5 caller=0x00e14ac0
Command: TYPE A
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=4 OpState=6 caller=0x00e14ac0
Response: 200 Representation type is Ascii NonPrint
Trace: FtpControlSocket.cpp(885): List(FALSE,0,"","",0) OpMode=4 OpState=6 caller=0x00e14ac0
Trace: TransferSocket.cpp(474): SetActive() caller=0x00e13960
Command: LIST
Trace: TransferSocket.cpp(335): OnAccept(0) caller=0x00e13960
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=4 OpState=7 caller=0x00e14ac0
Response: 125 List started OK
Trace: FtpControlSocket.cpp(885): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x00e14ac0
Trace: TransferSocket.cpp(961): Close() caller=0x00e13960
Trace: FtpControlSocket.cpp(1366): TransferEnd(4) OpMode=4 OpState=8 caller=0x00e14ac0
Trace: FtpControlSocket.cpp(885): List(TRUE,0,"","",0) OpMode=4 OpState=8 caller=0x00e14ac0
Trace: Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
Trace: ARCIVE Not Direct Access Device BMCCAT.DDL
Trace: ARCIVE Not Direct Access Device DASAMP.ADD.TEST.IN
Trace: VSAM DASAMP.EMPLOYEE
Trace: B10059 3390 VSAM DASAMP.EMPLOYEE.DATA
Trace: B10059 3390 VSAM DASAMP.EMPLOYEE.INDEX
Trace: B1N127 3390 2003/11/26 1 1 VB 309 27998 PS FRSAMP.EXTRACTM
Trace: VSAM FRSAMP.RELATION
Trace: B11248 3390 VSAM FRSAMP.RELATION.DATA
Trace: B11248 3390 VSAM FRSAMP.RELATION.INDEX
Trace: ARCIVE Not Direct Access Device MD10.ASM
Trace: ARCIVE Not Direct Access Device MD10.DATA
Trace: B1N044 3390 2004/03/19 1 12 FB 80 5600 PO TSO.CBT269
Trace: TransferSocket.cpp(87): ~CTransferSocket() caller=0x00e13960
Trace: TransferSocket.cpp(961): Close() caller=0x00e13960
Trace: FtpControlSocket.cpp(616): OnReceive(0) OpMode=4 OpState=8 caller=0x00e14ac0
Response: 250 List completed successfully.
Trace: FtpControlSocket.cpp(885): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x00e14ac0
Status: Directory listing successful
Trace: FtpControlSocket.cpp(2919): ResetOperation(1) OpMode=4 OpState=8 caller=0x00e14ac0

When I 'm using a classical text mode ftp client get the listing and when issueing the SITE command I can distinguis between the 2 fs:

ftp> quote syst
215 MVS is the operating system of this server. FTP Server is running on z/OS.
ftp> cd /home/userid
250 HFS directory /home/userid is the current working directory
ftp> quote syst
215 UNIX is the operating system of this server. FTP Server is running on z/OS.

User avatar
botg
Site Admin
Posts: 35564
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#2 Post by botg » 2004-03-31 11:57

Can you please describe the directory listing format as detailed as possible?
Which fields are there, which values can they contain, how does a filename look and such things.

Post Reply