Opened 11 years ago

Closed 7 years ago

Last modified 5 years ago

#3845 closed Bug report (outdated)

Connecting to z/OS 1.9: cannot change directory from client

Reported by: Fredrik Gustafson Owned by:
Priority: normal Component: FileZilla Client
Keywords: z/OS directory Cc:
Component version: Operating system type: Windows
Operating system version: XP Professional, SP 3

Description

When connecting to an FTP server running on z/OS, I cannot change directory using Filezilla. Running Cygwin's FTP-client, it works fine.

Log from Cygwin's FTP-client:

~>ftp xx99.sj.se
Connected to mfab.unigrid.se.
220-FTPSRVB1 IBM FTP CS V1R9 at mfab.unigrid.se, 10:45:18 on 2008-10-06.
220-*********************** Mon Oct  6 10:45:18 2008 ***********************
220-***                                                                  ***
220-***           Võlkommen till EDB Business Partner Sweden AB          ***
220-***                                                                  ***
220-***                         System: XX99                             ***
220-***                                                                  ***
220-***                           z/OS 1.9                               ***
220-***                                                                  ***
220-************************************************************************
220 Connection will close if idle for more than 5 minutes.
User (mfab.unigrid.se:(none)): extmfr
331 Send password please.
Password:
230 XXXMFR is logged on.  Working directory is "XXXMFR.".
ftp> cd ..
250 "" is the working directory name prefix.
ftp> cd p079i
250 "P079I." is the working directory name prefix.
ftp>

<END of log from Cygwin's FTP-client>

However, trying to do the same in Filezilla, the log is as follows:

Status:	Resolving address of xx99.sj.se
Status:	Connecting to 213.153.111.111:21...
Status:	Connection established, waiting for welcome message...
Response:	220-FTPSRVB1 IBM FTP CS V1R9 at mfab.unigrid.se, 10:45:00 on 2008-10-06.
Response:	220-*********************** Mon Oct  6 10:45:00 2008 ***********************
Response:	220-***                                                                  ***
Status:	Invalid character sequence received, disabling UTF-8. Select UTF-8 option in site manager to force UTF-8.
Response:	220-***           Välkommen till EDB Business Partner Sweden AB          ***
Response:	220-***                                                                  ***
Response:	220-***                         System: XX99                             ***
Response:	220-***                                                                  ***
Response:	220-***                           z/OS 1.9                               ***
Response:	220-***                                                                  ***
Response:	220-************************************************************************
Response:	220 Connection will close if idle for more than 5 minutes.
Command:	USER xxxmfr
Response:	331 Send password please.
Command:	PASS ********
Response:	230 XXXMFR is logged on.  Working directory is "XXXMFR.".
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "'XXXMFR.'" is working directory.
Status:	Directory listing successful
Status:	Retrieving directory listing...
Command:	CDUP
Response:	250 "" is the working directory name prefix.
Command:	PWD
Response:	257 "''" is working directory.
Error:	Failed to retrieve directory listing
Error:	Disconnected from server: ECONNABORTED - Connection aborted

<END of log from Filezilla>

I have tried changing the settings, using various combinations of UTF-8, passive and active mode, etc, but nothing changes the outcome.

Regards
Fredrik Gustafson

Change History (4)

comment:1 Changed 11 years ago by Tim Kosse

Status: newmoreinfo

Please attach a log with debug level set to 3.

Try settings the server type to MVS in the Site Manager.

comment:2 Changed 10 years ago by tony dean

Status: moreinfonew

Hope I'm not hijaking this ticket, but it seems related and dead for 4 months.
Using FileZilla 3.2.0
Using server type = MVS..
1) Cannot overide the 'default remote directory' to an MVS dataset qualifyer.
Other MVS aware ftp clients accept stuff like 'userid'
The fact that it dosn't start with a / tells the client its going to use MVS filesystem.
2) Using servertype=MVS.. and defualt remote directory=null (blank).
The current working directory is set to "'userid.'" by MVS.
If yopu change it by overtyping the remote site box contents to '/', you get a good unix directory list.
If you select a sub directory of the unix sutff, FileZilla uses a '.' between the '/' and the selected subdirectory:-
Other MVS aware ftp clients seem to accept a contect switch between MVS filesystems and Unix filesystems.
13:25:01 Status: Resolving address of msys
13:25:01 Status: Connecting to 164.53.5.130:21...
13:25:01 Status: Connection established, waiting for welcome message...
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 220-FTPSERVE IBM FTP CS V1R9 at MSYS, 13:25:01 on 2009-02-05.
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 220 Connection will close if idle for more than 5 minutes.
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Command: USER n147636
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 331 Send password please.
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Command: PASS *
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 230 N147636 is logged on. Working directory is "N147636.".
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Command: SYST
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 215 MVS is the operating system of this server. FTP Server is running on z/OS.
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Command: FEAT
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 211- Extensions supported
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: AUTH TLS
13:25:01 Response: PBSZ
13:25:01 Response: PROT
13:25:01 Response: 211 End
13:25:01 Status: Connected
13:25:01 Trace: CFtpControlSocket::ResetOperation(0)
13:25:01 Trace: CControlSocket::ResetOperation(0)
13:25:01 Status: Retrieving directory listing...
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Trace: CFtpControlSocket::ChangeDirSend()
13:25:01 Command: PWD
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 257 "'N147636.'" is working directory.
13:25:01 Trace: CFtpControlSocket::ResetOperation(0)
13:25:01 Trace: CControlSocket::ResetOperation(0)
13:25:01 Trace: CFtpControlSocket::ParseSubcommandResult(0)
13:25:01 Trace: CFtpControlSocket::ListSubcommandResult()
13:25:01 Trace: state = 1
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Trace: CFtpControlSocket::TransferSend()
13:25:01 Trace: state = 1
13:25:01 Command: TYPE I
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 200 Representation type is Image
13:25:01 Trace: CFtpControlSocket::TransferParseResponse()
13:25:01 Trace: code = 2
13:25:01 Trace: state = 1
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Trace: CFtpControlSocket::TransferSend()
13:25:01 Trace: state = 2
13:25:01 Command: PASV
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 227 Entering Passive Mode (164,53,5,130,15,171)
13:25:01 Trace: CFtpControlSocket::TransferParseResponse()
13:25:01 Trace: code = 2
13:25:01 Trace: state = 2
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Trace: CFtpControlSocket::TransferSend()
13:25:01 Trace: state = 4
13:25:01 Command: LIST
13:25:01 Trace: CTransferSocket::OnConnect
13:25:01 Trace: CTransferSocket::OnReceive(), m_transferMode=0
13:25:01 Trace: CFtpControlSocket::OnReceive()
13:25:01 Response: 125 List started OK
13:25:01 Trace: CFtpControlSocket::TransferParseResponse()
13:25:01 Trace: code = 1
13:25:01 Trace: state = 4
13:25:01 Trace: CFtpControlSocket::SendNextCommand()
13:25:01 Trace: CFtpControlSocket::TransferSend()
13:25:01 Trace: state = 5
13:25:01 Trace: CTransferSocket::OnReceive(), m_transferMode=0
13:25:01 Listing: Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
13:25:01 Listing: Migrated ADMCDATA
13:25:01 Listing: Migrated ALL.RMFIII
13:25:01 Listing: TGEN33 3390 2009/02/05 1 1 FB 80 6160 PO BBPROF
13:25:01 Listing: TGEN30 3390 2009/01/23 1 1 FB 80 8880 PO BBVISPF.PROFILE
13:25:01 Listing: TGEN13 3390 2009/02/05 1 1 FB 150 1500 PS BRODCAST
13:25:01 Listing: Migrated CBT432.XMI
13:25:01 Listing: Migrated CBT449.FILE040.PDS
13:25:02 Listing: Migrated CBT449.FILE182.PDS
13:25:02 Listing: Migrated CBT449.FILE296.PDS
13:25:02 Listing: Migrated CBT449.FILE474.PDS
13:25:02 Listing: Migrated CBT470.FILE182
13:25:02 Listing: Migrated CBT471.FILE432.PDS
13:25:02 Listing: Migrated CBT475.FILE492
13:25:02 Listing: Migrated CICS.DFHCSD.SOURCE
13:25:02 Listing: Migrated DDIR
13:25:02 Listing: Migrated DDIR.D
13:25:02 Listing: Migrated DDIR.I
13:25:02 Listing: Migrated DESKTOP
13:25:02 Listing: Migrated DORANA.SI5.STRUC
13:25:02 Listing: Migrated DSQCHART
13:25:02 Listing: Migrated DUPE.PDS
13:25:02 Listing: Migrated DUPE.PDSE
13:25:02 Listing: Migrated DUPE.PDSE.BIGGER
13:25:02 Listing: Migrated DUPE.SEQ
13:25:02 Listing: Migrated INSTALL.ZOS.V1R9.INSTGUID.COPY
13:25:02 Listing: Migrated LMS100.ISPTENU
13:25:02 Listing: Migrated LMS400.ISPTENU
13:25:02 Listing: Migrated LOADJOBS.CNTL
13:25:02 Listing: Migrated LOGR.SOURCE.DECK
13:25:02 Listing: Migrated MSYS.DDIR
13:25:02 Listing: Migrated MSYS.DDIR.D
13:25:02 Listing: Migrated MSYS.DDIR.I
13:25:02 Listing: TGEN68 3390 2009/02/05 1 30 FB 80 27920 PO MSYS.ISPF.ISPPROF
13:25:02 Listing: VSAM MSYS.ZFS
13:25:02 Listing: TGEN46 3390 VSAM MSYS.ZFS.DATA
13:25:02 Listing: Migrated MXG.SMF110.AT1552
13:25:02 Listing: Migrated MXG.SMF110.AT1555
13:25:02 Listing: TGEN45 3390 2009/02/05123 80 U 0 0 PO OMVS.MSYS.DIR
13:25:02 Listing: Migrated OMVS.MSYS.RECOVER
13:25:02 Listing: Migrated OMVS.TSYS.DIR
13:25:02 Listing: Migrated OMVS.TSYS.RECOVER
13:25:02 Listing: Migrated PRINTO
13:25:02 Listing: TGEN73 3390 2008/02/25 1 1 FB 400 4000 PO RMFZOS19.ADMGDF
13:25:02 Listing: Migrated RMFZOS19.ISPTABLE
13:25:02 Listing: Migrated RRSFLIST
13:25:02 Listing: Migrated SMF
13:25:02 Listing: Migrated STDOUT
13:25:02 Listing: Migrated SYSLOG.MSYS.PRINTO
13:25:02 Listing: Migrated TASID.LOAD
13:25:02 Listing: Migrated TASID.XMI
13:25:02 Listing: Migrated TERSED.FILE
13:25:02 Listing: Migrated TERSEDUN
13:25:02 Listing: Migrated TSYS.DDIR
13:25:02 Listing: Migrated TSYS.DDIR.D
13:25:02 Listing: Migrated TSYS.DDIR.I
13:25:02 Listing: TGEN13 3390 2009/02/04 1 30 FB 80 27920 PO TSYS.ISPF.ISPPROF
13:25:02 Listing: Migrated VRA.COMMAND
13:25:02 Trace: CTransferSocket::OnClose(0)
13:25:02 Trace: CTransferSocket::OnReceive(), m_transferMode=0
13:25:02 Listing: Migrated VRA.COMMAND.VRA2
13:25:02 Listing: Migrated VRA.EXT.IPO2
13:25:02 Listing: Migrated VRA.EXT.TSYS
13:25:02 Listing: Migrated WEBSRV.CNTL
13:25:02 Trace: CTransferSocket::TransferEnd(1)
13:25:02 Trace: CFtpControlSocket::TransferEnd()
13:25:02 Trace: CFtpControlSocket::OnReceive()
13:25:02 Response: 250 List completed successfully.
13:25:02 Trace: CFtpControlSocket::TransferParseResponse()
13:25:02 Trace: code = 2
13:25:02 Trace: state = 7
13:25:02 Trace: CFtpControlSocket::ResetOperation(0)
13:25:02 Trace: CControlSocket::ResetOperation(0)
13:25:02 Trace: CFtpControlSocket::ParseSubcommandResult(0)
13:25:02 Trace: CFtpControlSocket::ListSubcommandResult()
13:25:02 Trace: state = 3
13:25:02 Trace: CFtpControlSocket::SendNextCommand()
13:25:02 Trace: CFtpControlSocket::TransferSend()
13:25:02 Trace: state = 2
13:25:02 Command: PASV
13:25:02 Trace: CFtpControlSocket::OnReceive()
13:25:02 Response: 227 Entering Passive Mode (164,53,5,130,15,172)
13:25:02 Trace: CFtpControlSocket::TransferParseResponse()
13:25:02 Trace: code = 2
13:25:02 Trace: state = 2
13:25:02 Trace: CFtpControlSocket::SendNextCommand()
13:25:02 Trace: CFtpControlSocket::TransferSend()
13:25:02 Trace: state = 4
13:25:02 Command: LIST -a
13:25:02 Trace: CFtpControlSocket::OnReceive()
13:25:02 Response: 550 No data sets found.
13:25:02 Trace: CFtpControlSocket::TransferParseResponse()
13:25:02 Trace: code = 5
13:25:02 Trace: state = 4
13:25:02 Trace: CFtpControlSocket::ResetOperation(2)
13:25:02 Trace: CControlSocket::ResetOperation(2)
13:25:02 Trace: CFtpControlSocket::ParseSubcommandResult(2)
13:25:02 Trace: CFtpControlSocket::ListSubcommandResult()
13:25:02 Trace: state = 3
13:25:02 Trace: Server does not seem to support LIST -a
13:25:02 Trace: CFtpControlSocket::ResetOperation(0)
13:25:02 Trace: CControlSocket::ResetOperation(0)
13:25:02 Status: Directory listing successful
13:25:10 Status: Retrieving directory listing...
13:25:10 Trace: CFtpControlSocket::SendNextCommand()
13:25:10 Trace: CFtpControlSocket::ChangeDirSend()
13:25:10 Command: CWD '/'
13:25:10 Trace: CFtpControlSocket::OnReceive()
13:25:10 Response: 250 HFS directory / is the current working directory
13:25:10 Trace: CFtpControlSocket::SendNextCommand()
13:25:10 Trace: CFtpControlSocket::ChangeDirSend()
13:25:10 Command: PWD
13:25:10 Trace: CFtpControlSocket::OnReceive()
13:25:10 Response: 257 "/" is the HFS working directory.
13:25:10 Trace: ControlSocket.cpp(356): Failed to parse returned path. caller=0p17c2f60
13:25:10 Trace: Assuming path is /.
13:25:10 Trace: CFtpControlSocket::ResetOperation(0)
13:25:10 Trace: CControlSocket::ResetOperation(0)
13:25:10 Trace: CFtpControlSocket::ParseSubcommandResult(0)
13:25:10 Trace: CFtpControlSocket::ListSubcommandResult()
13:25:10 Trace: state = 1
13:25:10 Trace: View hidden option set, but unsupported by server
13:25:10 Trace: CFtpControlSocket::SendNextCommand()
13:25:10 Trace: CFtpControlSocket::TransferSend()
13:25:10 Trace: state = 2
13:25:10 Command: PASV
13:25:10 Trace: CFtpControlSocket::OnReceive()
13:25:10 Response: 227 Entering Passive Mode (164,53,5,130,15,173)
13:25:10 Trace: CFtpControlSocket::TransferParseResponse()
13:25:10 Trace: code = 2
13:25:10 Trace: state = 2
13:25:10 Trace: CFtpControlSocket::SendNextCommand()
13:25:10 Trace: CFtpControlSocket::TransferSend()
13:25:10 Trace: state = 4
13:25:10 Command: LIST
13:25:10 Trace: CTransferSocket::OnConnect
13:25:10 Trace: CTransferSocket::OnReceive(), m_transferMode=0
13:25:10 Trace: CFtpControlSocket::OnReceive()
13:25:10 Response: 125 List started OK
13:25:10 Trace: CFtpControlSocket::TransferParseResponse()
13:25:10 Trace: code = 1
13:25:10 Trace: state = 4
13:25:10 Trace: CFtpControlSocket::SendNextCommand()
13:25:10 Trace: CFtpControlSocket::TransferSend()
13:25:10 Trace: state = 5
13:25:10 Trace: CTransferSocket::OnReceive(), m_transferMode=0
13:25:10 Listing: total 88
13:25:10 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 9 Dec 13 2006 $SYSNAME -> $SYSNAME/
13:25:10 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 9 Dec 13 2006 $VERSION -> $VERSION/
13:25:10 Listing: -rw-r--r-- 1 AUTTCP1 MVSAUTH 0 Nov 18 13:22 @1
13:25:10 Listing: drwxrwxr-x 7 AUTTCP1 MVSAUTH 8192 Dec 15 2006 MSYS
13:25:10 Listing: drwxrwxrwx 8 AUTTCP1 MVSAUTH 8192 Dec 14 2007 SMPDEV
13:25:10 Listing: drwxr-xr-x 2 AUTTCP1 MVSAUTH 8192 Sep 22 13:31 V38CR266
13:25:10 Listing: drwxr-xr-x 2 AUTTCP1 MVSAUTH 8192 Nov 18 12:10 V38DR319
13:25:10 Listing: drwxr-xr-x 20 AUTTCP1 OMVSGRP 8192 Dec 29 15:14 V38DR326
13:25:10 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 bin -> $VERSION/bin
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 dev -> $SYSNAME/dev
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 etc -> $SYSNAME/etc
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 lib -> $VERSION/lib
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 opt -> $VERSION/opt
13:25:11 Listing: -rw-rw-rw- 1 AUTTCP1 MVSAUTH 0 Dec 10 14:42 rseserver.log
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 16 Dec 13 2006 samples -> $VERSION/samples
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 13 Dec 15 2006 temp -> $SYSNAME/temp
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 tmp -> $SYSNAME/tmp
13:25:11 Listing: dr-xr-xr-x 379 AUTTCP1 TTY 0 Feb 5 11:43 u
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 usr -> $VERSION/usr
13:25:11 Listing: lrwxrwxrwx 1 AUTTCP1 MVSAUTH 12 Dec 13 2006 var -> $SYSNAME/var
13:25:11 Trace: CTransferSocket::TransferEnd(1)
13:25:11 Trace: CFtpControlSocket::TransferEnd()
13:25:11 Trace: CFtpControlSocket::OnReceive()
13:25:11 Response: 250 List completed successfully.
13:25:11 Trace: CFtpControlSocket::TransferParseResponse()
13:25:11 Trace: code = 2
13:25:11 Trace: state = 7
13:25:11 Trace: CFtpControlSocket::ResetOperation(0)
13:25:11 Trace: CControlSocket::ResetOperation(0)
13:25:11 Trace: CFtpControlSocket::ParseSubcommandResult(0)
13:25:11 Trace: CFtpControlSocket::ListSubcommandResult()
13:25:11 Trace: state = 3
13:25:11 Trace: CFtpControlSocket::ResetOperation(0)
13:25:11 Trace: CControlSocket::ResetOperation(0)
13:25:11 Status: Directory listing successful
13:25:19 Status: Retrieving directory listing...
13:25:19 Trace: CFtpControlSocket::SendNextCommand()
13:25:19 Trace: CFtpControlSocket::ChangeDirSend()
13:25:19 Command: CWD '/.bin'
13:25:19 Trace: CFtpControlSocket::OnReceive()
13:25:19 Response: 550 CWD cmd failed : EDC5129I No such file or directory. (errno2=0x05190050)
13:25:19 Trace: CFtpControlSocket::ResetOperation(2)
13:25:19 Trace: CControlSocket::ResetOperation(2)
13:25:19 Trace: CFtpControlSocket::ParseSubcommandResult(2)
13:25:19 Trace: CFtpControlSocket::ListSubcommandResult()
13:25:19 Trace: state = 1
13:25:19 Trace: CFtpControlSocket::ResetOperation(2)
13:25:19 Trace: CControlSocket::ResetOperation(2)
13:25:19 Error: Failed to retrieve directory listing

comment:3 Changed 7 years ago by Alexander Schuch

Status: newmoreinfo

What's the status here? Does it work with FileZilla 3.5.3?

comment:4 Changed 7 years ago by Alexander Schuch

Resolution: outdated
Status: moreinfoclosed

No reply for more than 28 days.

It is likely that the support for z/OS improved during the past 4 years. Feel free to reopen this issue if you still encounter this problem.

Note: See TracTickets for help on using tickets.