Opened 20 years ago
Last modified 18 years ago
#827 closed Bug report
No FTP possible with MVS / z/OS ( HFS )
Reported by: | jwinckelmann | Owned by: | Tim Kosse |
---|---|---|---|
Priority: | normal | Component: | Other |
Keywords: | Cc: | jwinckelmann, Tim Kosse, Eirik, macross1, kl7r, ivh | |
Component version: | Operating system type: | ||
Operating system version: |
Description
With FileZilla 2.2.12 and some older versions I'm unable
to to transfer data to and from our z/OS mainframe with
HFS file system. I think the directory is formatted
incorrectly as it contains brackets which is not allowed,
like '/u/test/(test.txt)'. It worked correctly with ealier
versions of FileZilla, I don't know which version is the
first version containing this errror.
Here are some extracts of the log:
Connecting to mvs2 ...
Status: Connected with mvs2. Waiting for welcome
message...
Response: 220-FTPD1 IBM FTP CS V1R4 at MVS2,
13:33:22 on 2005-02-24.
Response: 220 Connection will close if idle for more
than 50 minutes.
Command: USER xxxx
Response: 331 Send password please.
Command: PASS
Response: 230 xxxx is logged on. Working directory
is "xxxx".
Command: FEAT
Response: 211 no Extensions supported
Command: SYST
Response: 215 MVS is the operating system of this
server. FTP Server is running on z/OS.
Status: Connected
Status: Retrieving directory listing...
Command: CWD /u/
Response: 250 HFS directory /u/ is the current working
directory
Command: PWD
Response: 257 "/u/" is the HFS working directory.
Command: PORT xxx
Response: 200 Port request OK.
Command: TYPE A
Response: 200 Representation type is Ascii NonPrint
Command: LIST
Response: 125 List started OK
Response: 250 List completed successfully.
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD interaris
Response: 250 HFS directory /u/interaris is the current
working directory
Command: PWD
Response: 257 "/u/interaris" is the HFS working
directory.
Command: PORT xxx
Response: 200 Port request OK.
Status: Starting download of '/u/interisk(rias.wsdl)'
Command: CWD '/u/interisk'
Response: 250 HFS directory /u/interisk is the current
working directory
Command: PWD
Response: 257 "/u/interisk" is the HFS working
directory.
Command: TYPE I
Response: 200 Representation type is Image
Command: PORT xxx
Response: 200 Port request OK.
Command: RETR '/u/interisk(rias.wsdl)'
Response: 550 Command RETR fails: /u/interisk
(rias.wsdl) does not exist.
Error: Download failed
Change History (7)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Hi,
it's a bit complicated. I'd like to to access the Unix part of
MVS on HFS. This doesn't work at all in this release, when I
connect without supplying a default directory I get the
directory listing of my standard MVS files under my user
prefix. For accessing the Unix part I need the default
directory "/u/", which is translated to 'U.' by Filezilla, which
just shows an empty directory. I'm no expert for MVS, but
there must be a way to switch between the standard MVS file
system and the Unix file system. For MVS there are not
slashes in file names / directories, but for Unix.
Hope this helps!
Bye,
Jan
comment:3 by , 19 years ago
Thanks for the new info. I'll assign this to Botg and
hopefully he can have a look at it when he gets the time.
comment:4 by , 19 years ago
Hi,
i downloaded Filezilla 2.2.18 and this problem seems to be
not solved.
In the Native MVS environment all is fine (the Native
Environment is the default for the MVS FTP Server) but when
i switch to the Unix Environment of the MVS FTP Server i
can't get any unix files because the request is always
translated into something like "RETR '/xx/xxxxx(copysh)'"
but the request should be RETR '/xx/xxxxx/copysh' or only
RETR copysh because the directory is already set.
Only for clarification on the Mainframe z/OS there are to
different systems running which are served from the same
ftp server one is the native environment which has file
names like 'XXXX.XXX.XXX' and PDS datasets and there is
also a second one which should be treated as a normal unix.
So if i enter a remote directory which starts with / or /sy
it should not be converted to "" or 'sy' it should be sent
as it is / and /sy.
Here is a output of a session with a remote dir of /sy/
after the wrong 'sy' was sent i changed it manually
to '/sy' this worked then i tried to retrieve a unix file
but there where parenthesis added to the filename.
The parenthesis are only needed when i'm in a PDS File on
the Native environment.
Status: Verbinden mit HOST1...
Status: Verbunden mit HOST1. Warten auf Willkommens-
Meldung...
Antwort: 220-FTPDS51 IBM FTP CS V1R6 at
HOST1.domainxxx, 17:31:17 on 2006-01-20.
Antwort: 220 Connection will close if idle for more
than 5 minutes.
Befehl: USER userid
Antwort: 331 Send password please.
Befehl: PASS
Antwort: 230 USERID is logged on. Working directory
is "USERID.".
Befehl: FEAT
Antwort: 211 no Extensions supported
Befehl: SYST
Antwort: 215 MVS is the operating system of this
server. FTP Server is running on z/OS.
Status: Verbindung hergestellt
Status: Verzeichnisinhalt wird abgeholt...
Befehl: PWD
Antwort: 257 "'USERID.'" is working directory.
Befehl: CWD 'sy'
Antwort: 250 "SY." is the working directory name
prefix.
Befehl: PWD
Antwort: 257 "'SY.'" is working directory.
Befehl: TYPE A
Antwort: 200 Representation type is Ascii NonPrint
Befehl: PORT 10,16,28,4,14,109
Antwort: 200 Port request OK.
Befehl: LIST
Antwort: 550 No data sets found.
Status: Auflistung des Verzeichnisinhalts erfolgreich
Status: Verzeichnisinhalt wird abgeholt...
Befehl: CWD '/sy'
Antwort: 250 HFS directory /sy is the current
working directory
Befehl: PWD
Antwort: 257 "/sy" is the HFS working directory.
Befehl: TYPE A
Antwort: 200 Representation type is Ascii NonPrint
Befehl: PORT 10,16,28,4,14,111
Antwort: 200 Port request OK.
Befehl: LIST
Antwort: 125 List started OK
Antwort: 250 List completed successfully.
Status: Auflistung des Verzeichnisinhalts erfolgreich
Status: Verbinden mit HOST1...
Status: Verbunden mit HOST1. Warten auf Willkommens-
Meldung...
Antwort: 220-FTPDS51 IBM FTP CS V1R6 at
HOST1.domainxxx, 17:31:51 on 2006-01-20.
Antwort: 220 Connection will close if idle for more
than 5 minutes.
Befehl: USER userid
Antwort: 331 Send password please.
Befehl: PASS
Antwort: 230 USERID is logged on. Working directory
is "USERID.".
Befehl: FEAT
Antwort: 211 no Extensions supported
Befehl: SYST
Antwort: 215 MVS is the operating system of this
server. FTP Server is running on z/OS.
Status: Verbindung hergestellt
Status: Starte Download von '/sy(bpk.env)'
Befehl: PWD
Antwort: 257 "'USERID.'" is working directory.
Befehl: CWD '/sy'
Antwort: 250 HFS directory /sy is the current
working directory
Befehl: PWD
Antwort: 257 "/sy" is the HFS working directory.
Befehl: TYPE A
Antwort: 200 Representation type is Ascii NonPrint
Befehl: PORT 10,16,28,4,14,113
Antwort: 200 Port request OK.
Befehl: LIST
Antwort: 125 List started OK
Antwort: 250 List completed successfully.
Befehl: TYPE I
Antwort: 200 Representation type is Image
Befehl: PORT 10,16,28,4,14,114
Antwort: 200 Port request OK.
Befehl: RETR '/sy(bpk.env)'
Antwort: 550 Command RETR fails: /sy(bpk.env) does
not exist.
Fehler: Download fehlgeschlagen
Hopefully this helps.
Thanks in advance
Michael
comment:5 by , 19 years ago
I have the same issue:
client: FileZilla 2.2.18
server: IBM FTP CS V1R4
Command: SYST
Response: 215 MVS is the operating system of this server.
FTP Server is running on z/OS.
cd '/tmp'
put hello.c
ls hello.c
hello.c not found
cd /
ls -la /tmp*
/tmp
/tmp(hello.c)
Apparently FileZilla is detecting that it is communicating
with a Z/OS or MVS FTP server and then changes to "PDS-type"
filenaming conventions.
The MVS FTP server can access "Unix-type" filenames and
subdirectories (contained inside HFS files) in addition to
PDS type filenames and subdirectories.
Maybe it is possible to check for the existence of a "/"
at the beginning of a subdirectory and, if so, use standard
unix filenames and subdirectories.
eg.
cd 'MY.USER.PDS'
vs
cd '/my/subdir'
Thanks for looking into this, Filezilla is one of the
few FTP clients that I have tried which works with TLS
to MVS.
comment:6 by , 18 years ago
Problem still exists with FileZilla Vers. 2.2.26a:
Trying to get '/u/myusern/temp/ANSI.BAF.SW.gz'
Log:
---
[10:11:06] Status: Verbindung hergestellt
[10:11:07] Status: Starte Download von '/u/myusern/temp
(ANSI.BAF.SW.gz)'
[10:11:07] Befehl: PWD
[10:11:07] Antwort: 257 "'myusern.'" is working
directory.
[10:11:07] Befehl: CWD '/u/myusern/temp'
[10:11:07] Antwort: 250 HFS directory /u/myusern/temp
is the current working directory
[10:11:07] Befehl: PWD
[10:11:07] Antwort: 257 "/u/myusern/temp" is the HFS
working directory.
[10:11:07] Befehl: TYPE A
[10:11:07] Antwort: 200 Representation type is Ascii
NonPrint
[10:11:07] Befehl: PASV
[10:11:07] Antwort: 227 Entering Passive Mode
(11,15,13,6,13,97)
[10:11:07] Befehl: LIST
[10:11:07] Antwort: 125 List started OK
[10:11:07] Status: SSL-Verbindung hergestellt
[10:11:07] Antwort: 250 List completed successfully.
[10:11:11] Befehl: TYPE I
[10:11:11] Antwort: 200 Representation type is Image
[10:11:11] Befehl: PASV
[10:11:11] Antwort: 227 Entering Passive Mode
(11,15,13,6,13,97)
[10:11:11] Befehl: RETR '/u/myusern/temp
(ANSI.BAF.SW.gz)'
[10:11:11] Antwort: 550 Command RETR
fails: /u/myusern/temp(ANSI.BAF.SW.gz) does not exist.
[10:11:11] Fehler: Download fehlgeschlagen
---
comment:7 by , 18 years ago
In FileZilla 3 you will be able to specify the server type
in advance. Switching between MVS and Unix mode won't be
possible while being connected.
You can download test versions of FileZilla 3 from
http://filezilla-project.org/nightly.php
(Actually, if you think about, having two types of directory
structures on one server that are independent of each other
is a totally retarded idea, who came up with that?)
Still having this problem with latest (2.2.14a right now)?