z/VM

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
keyoke
500 Command not understood
Posts: 4
Joined: 2007-10-10 13:34

z/VM

#1 Post by keyoke » 2007-10-10 14:31

Hi,

I've been a happy user of FZ to unix servers for some time, and I'd now like to use it to access a z/VM mainframe.

I have already done a lot of transfers using the standard winXP ftp client, but I can't get it to work with FZ :

I can connect to the VM machine and the login/password is accepted. But then, the directory listing is completely wrong. this is under FZ3.0.1. I used to have 2.2.18 and the directory listing was never coming back.

here's what 3.0.1 says :

Code: Select all

Status:	Resolving IP-Address for aaaa.bbb
Status:	Connecting to xxx.xxx.xxx.xxx:21...
Status:	Connection established, waiting for welcome message...
Response:	220-FTPSERVE IBM VM Level 520 at aaaa.bbb.com, 13:42:14 UTC WEDNESDAY 2007-10-10
Response:	220 Connection will close if idle for more than 5 minutes.
Command:	USER mpa05$
Response:	331 Send password please.
Command:	PASS *******
Response:	230-MPA05$ logged in; working directory = MPA05$ 191 (ReadOnly)
Response:	230 write access currently unavailable
Command:	SYST
Response:	215-z/VM Version 5 Release 3.0, service level 0701 (64-bit)
Response:	    VM/CMS Level 22, Service Level 602
Response:	215 VM is the operating system of this server.
Command:	FEAT
Response:	500 Unknown command, 'FEAT'
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "MPA05$.191" is working directory (ReadOnly)
Command:	TYPE I
Response:	200 Representation type is IMAGE.
Command:	PASV
Response:	227 Data transfer will passively listen to xx,xx,xx,xx,60
Command:	LIST
Response:	125 List started OK
Response:	250 List completed successfully.
Status:	Directory listing successful
Although it says "successful", the view shows a bunch of files all called "060191".

Here are the results with 2.2.18 FWIF :

Code: Select all

Etat :	Connexion à aaaa.bbb ...
Etat :	Connecté à aaaaaa.bbb. Attente du message d'accueil...
Réponse :	220-FTPSERVE IBM VM Level 520 at aaaaa.bbbb.ccc.com, 13:49:47 UTC WEDNESDAY 2007-10-10
Réponse :	220 Connection will close if idle for more than 5 minutes.
Commande :	USER mpa05$
Réponse :	331 Send password please.
Commande :	PASS *******
Réponse :	230-MPA05$ logged in; working directory = MPA05$ 191 (ReadOnly)
Réponse :	230 write access currently unavailable
Commande :	FEAT
Réponse :	500 Unknown command, 'FEAT'
Commande :	SYST
Réponse :	215-z/VM Version 5 Release 3.0, service level 0701 (64-bit)
Réponse :	    VM/CMS Level 22, Service Level 602
Réponse :	215 VM is the operating system of this server.
Etat :	Connecté
Etat :	Récupération de la liste de répertoires...
Commande :	PWD
Réponse :	257 "MPA05$.191" is working directory (ReadOnly)
Commande :	TYPE A
Réponse :	200 Representation type is ASCII.
Commande :	PASV
Réponse :	227 Data transfer will passively listen to xxx,xxx,xxx,xxx,72
Commande :	PORT xxx,xxx,xxx,xxx,211
Réponse :	200 Port request OK.
Commande :	LIST
Réponse :	125 List started OK 
Réponse :	550-The foreign file has been erased.
Réponse :	550 426 Data transfer aborted.
Erreur :	N'a pas pu récupérer la liste du répertoire
Commande :	PWD
Réponse :	257 "MPA05$.191" is working directory (ReadOnly)
(sorry, it's in french)
the display stays locked on 125 List started OK for a long time (1mn or so).

To be noticed, I could successfully do a manual transfer of a known file with version 2.2.18 (I did not find a way to do it manually under 3.0.1).

What's the catch ? I know that the VM filesystem is different from the usual unix/windows fs, but however I can do a directory listing with the command line ftp client and all files show up correctly.

Thanks for your help !

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

#2 Post by botg » 2007-10-10 14:48

Did you select the proper server type in the site manager?

keyoke
500 Command not understood
Posts: 4
Joined: 2007-10-10 13:34

#3 Post by keyoke » 2007-10-11 08:37

Forgot to mention : I've tried all of them. Actually, there is none for z/VM (it is different from MVS). All I have is Unix, VMS, MVS, Dos, VxWorks, and Default.

I think I tried to play with every setting, both for v2 and v3.

HTH...

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

#4 Post by botg » 2007-10-11 09:59

Why the hell does IBM create such abominations? Why can't they use a sane, POSIX compatible filesystem like everyone else?

keyoke
500 Command not understood
Posts: 4
Joined: 2007-10-10 13:34

#5 Post by keyoke » 2007-10-11 12:08

hum..... maybe because it existed before posix ? ( just a wild guess, not sure ).

I know I can only access files in FILEMODE A with the command-line FTP, but at least its works. But I'd really like to be able to give up this command line for my users... FZ is so much easier !

If you happen to want me to give you some sort of debug trace, just let me know...

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

#6 Post by botg » 2007-10-11 14:14

Enable "show raw directory listing" on the debug page in the settings and post another log please.

keyoke
500 Command not understood
Posts: 4
Joined: 2007-10-10 13:34

#7 Post by keyoke » 2007-10-11 15:36

I've sent you an email with an attachment. That will be easier.

mander19
500 Command not understood
Posts: 3
Joined: 2007-10-17 21:51

z/VM

#8 Post by mander19 » 2007-10-17 21:55

Would you please post your results here as I am having a similar problem. I am able to log in but am not getting any response to the list command. Thanks.

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

#9 Post by botg » 2007-10-17 22:33

mander19, did you try 3.0.2.1 yet?

mander19
500 Command not understood
Posts: 3
Joined: 2007-10-17 21:51

#10 Post by mander19 » 2007-10-18 22:35

Just tried it out. Set servertype as default because there is not one for VM/CMS. Looks like it's defaulting to Unix. I can see my home directory in the "Remote site" box, but only three of 1400 files which I can verify by the date/time stamp only. The filenames are incorrect, and file sizes listed are about twice what the really are.

Looks like the trouble is because a servertype for VM/CMS is needed. All the others give a failed to retreive listing error.

Thanks for any help you can offer!

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

#11 Post by botg » 2007-10-18 23:04

Please enable "Show raw directory listings" in the settings dialog and post the contents of the message log, along with an explanation what the individual fields in the listings mean.

mander19
500 Command not understood
Posts: 3
Joined: 2007-10-17 21:51

#12 Post by mander19 » 2007-11-07 20:04

If I set ServerType to Unix and enable Raw Directory Listing, I do get a listing of my files in the message log -- not in the directory listing area where I can do something with it.

With Unix, and MVS ServerTypes, I see the same the same 6 files even though I have over 1400 file on my account. But I can match these 6 files by date and time stamp to files on my account; however, Filezilla's shows the files are about 1.5 times as large as the same files on my account. The filenames of all 6 files are the same as the disk label.


From the message log: (Has the file listing here... only have a partial listing due to so many files.
Listing: Filename -- Filetype -- RecFm -- LRecL -- Recs -- Blocks -- Date -- Time -- Disk Label)
  • .
    .
    .
    Listing: ZXBLD EXEC V 72 16 1 2004-12-08 16:33:35 MAN191
    Listing: ZXEDIT EXEC V 22 4 1 2006-01-27 14:01:31 MAN191
    Listing: ZZONE EXEC V 65 20 1 2005-02-02 17:42:31 MAN191
    Listing: Z2BR0 EXEC V 74 10 1 2005-04-14 10:44:49 MAN191
    Listing: 12033 ALPHA V 131 52 2 2000-04-11 16:45:21 MAN191
    Listing: 12033 PROD V 131 40 2 2000-04-11 16:43:09 MAN191
    Listing: 300003 EXEC V 88 182 2 2001-01-31 11:28:54 MAN191
    Listing: 97AFRSCR EXEC V 85 116 1 1999-01-22 13:54:59 MAN191
    Listing: 98AFR NOTE V 73 9 1 1999-02-11 12:10:10 MAN191
    Listing: 98AFR OFSMLIST F 80 3 1 1999-02-11 14:27:41 MAN191
    Listing: 98AFRSCR EXEC V 106 342 3 1999-02-09 10:59:00 MAN191
    Listing: 98AFRSCR SYNOPSIS V 72 12 1 1998-11-30 14:45:34 MAN191
    Listing: 99AFR KEYS V 24 25 1 1998-11-24 18:15:48 MAN191
    Listing: 99AFR SCRN1 V 43 7 1 1998-11-24 18:15:34 MAN191
    Listing: 99AFR SCRN2 V 21 8 1 1998-11-24 18:16:00 MAN191
    Listing: 99AFRSCR EXEC V 107 338 3 2000-02-01 13:07:32 MAN191
    Listing: 99AFRSCR SYNOPSIS V 72 13 1 1999-12-03 12:59:21 MAN191
    Response: 250 List completed successfully.
    Status: Directory listing successful



From the file listing area: (Disk label -- Size (1.5x) -- File -- Date -- Time)

  • MAN191 12,033 File 4/11/2000 4:45:00 PM
    MAN191 12,033 File 4/11/2000 4:43:00 PM
    MAN191 300,003 File 1/31/2001 11:28:00 PM
    MAN191 615 File 4/12/1996 2:17:00 PM
    MAN191 630 File 9/9/1996 7:04:00 PM
    MAN191 635 File 10/23/199610:48:00 AM
    Response: 250 List completed successfully.
    Status: Directory listing successful



From the message log without Raw Directory List enabled:

  • Status: Resolving IP-Address for xxxx.ford.com
    Status: Connecting to xx.xx.xx.xx:yy...
    Status: Connection established, waiting for welcome message...
    Response: 220-FTPSERVE IBM VM Level 520 at xxxx.ford.com, 17:19:37 EST WEDNESDAY 2007-11-07
    Response: 220 Connection will close if idle for more than 5 minutes.
    Command: USER mander19
    Response: 331 Send password please.
    Command: PASS ********
    Response: 230 MANDER19 logged in; working directory = MANDER19 191
    Command: SYST
    Response: 215-z/VM Version 5 Release 2.0, service level 0702 (64-bit)
    Response: VM/CMS Level 22, Service Level 702
    Response: 215 VM is the operating system of this server.
    Command: FEAT
    Response: 500 Unknown command, 'FEAT'
    Status: Connected
    Status: Retrieving directory listing...
    Command: PWD
    Response: 257 "MANDER19.191" is working directory
    Command: TYPE I
    Response: 200 Representation type is IMAGE.
    Command: PASV
    Response: 227 Data transfer will passively listen to xx,xx,xx,xx,xx,xx
    Command: LIST
    Response: 125 List started OK
    Response: 250 List completed successfully.
    Status: Directory listing successful

sfowjs
500 Command not understood
Posts: 1
Joined: 2007-11-12 21:46
Location: San Jose

#13 Post by sfowjs » 2007-11-12 22:04

I am seeing the same anomalous behavior with FileZilla 3.0.3 using z/VM Version 5 Release 2.0, Service Level 0701 (64-bit). I can successfully connect from Windows XP to a z/VM host but when the 191 A disc is opened the file names are incorrect.

For example, here's a cut and paste from FileZilla:

1 2005-08-19 11:47:18 WJS191

Normally you would see something like the following on a 3270 PCOMM emulator screen with the 8 byte filename followed by the filemode and the filetype (i.e. the mini disc on which it resides).

ARISISBT MODULE A1
ARISRMBT MODULE A1
ASMXREFM BOOK A1
ASMXREFM TRS3820 A1

In addition the Last Modified Field for the above files is Dec. 31, 1969 - yikes! :roll:

z/VM (Zero Downtime Virtual Machine) is more mature than UNIX... first introduced as the Cambridge Monitor System (i.e. "CMS") in joint development with MIT in 1967 on the System 360 Model 67. It's a hypervisor allowing mutiple operating systems (e.g. z/VM, z/OS, z/TPF, and z/VSE) to run concurrently with integrity on a single system hardware image and has an outstanding software development environment. And yes, you can run 10s of thousands of copies of LINUX concurrently under one instance of z/VM - there is no limit except for storage and memory on System z.

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

#14 Post by botg » 2007-11-12 22:33

sfowjs, full log.

Post Reply