FTP: Cannot Connect to MVS Mainframe

Bugs and issues - current donor version.
Post Reply
Message
Author
DG
Posts: 57
Joined: 11.10.2007, 02:39
Location: US

FTP: Cannot Connect to MVS Mainframe

#1 Post by DG » 05.03.2008, 18:55

I have no problem connecting with servers, but cannot establish an FTP connection with an MVS mainframe. I have tried various combinations of DNS and IP address, all to no avail.

I am able to connect to our mainframe with other FTP software.

Regards,
DG

Marek
Author
Author
Posts: 3994
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

#2 Post by Marek » 07.03.2008, 23:43

Have you public access to such server?

DG
Posts: 57
Joined: 11.10.2007, 02:39
Location: US

#3 Post by DG » 08.03.2008, 04:22

Our corporate mainframe is secured by a firewall, so there is no public access. I can FTP to it with FileZilla, Rumba and PSPad. I have compared settings in those packages with those in FreeCommander and cannot detect why they work and FC doesn't.

DG
Posts: 57
Joined: 11.10.2007, 02:39
Location: US

#4 Post by DG » 03.04.2008, 18:44

Marek,

I think I have found the problem. FC connects successfully to the mainframe, but fails listing the specified directory. This is the message:

LIST /'t838.p98108.noacf2'
DirectoryListing: (550) 550 command LIST fails: access to resource is denied by server. - /'t838.p98108.noacf2'

The problem is the '/' before the dataset name. The command should be
LIST 't838.p98108.noacf2'

I cannot find a way to prevent FC from inserting the slash.

Thanks,
DG

Marek
Author
Author
Posts: 3994
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

#5 Post by Marek » 03.04.2008, 22:41

Can you please check if the following command works:

CWD /t838.p98108.noacf2

DG
Posts: 57
Joined: 11.10.2007, 02:39
Location: US

#6 Post by DG » 04.04.2008, 19:54

Marek,

The command format you suggest does not work.

When I first log in, I get this:
Response: 125 List started OK
Response: 250 List completed successfully.
Status: Directory listing successful

I tried the command you recommended and get this:
Command: CWD /t838.p98108.noacf2
Response: 550 command CWD fails: access to resource is denied by server.

When I try it without the dataset name in quotes, I get the wrong listing:
Command: CWD t838.p98108.noacf2
Response: 250 "MM49841.T838.P98108.NOACF2." is the working directory name prefix.

CWD with quotes works successfully.
Command: CWD 't838.p98108.noacf2'
Response: 250 The working directory "T838.P98108.NOACF2" is a partitioned data set

I tried LIST vs. CWD with these results:
Command: cwd 't838.p98108.dwgjcl'
Response: 250 The working directory "T838.P98108.DWGJCL" is a partitioned data set
Command: list 't838.p98108.dwgjcl'
Error: Connection timed out


The solution seems to be CWD 'dataset name'

Thanks,
DG

DG
Posts: 57
Joined: 11.10.2007, 02:39
Location: US

#7 Post by DG » 29.04.2008, 01:27

Marek,

I notice you've made chanages in the FTP connection for an MVS mainframe. I continue to get messages about "access to resource denied" however and it seems to be the syntax for the CWD command. FC still puts a "/" in front of the dataset name. I will send you a personal message with the FC ftp log along with the corresponding log from FileZilla.

Regards,
DG

Marek
Author
Author
Posts: 3994
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

#8 Post by Marek » 03.05.2008, 21:45

Please check the beta 337.

DG
Posts: 57
Joined: 11.10.2007, 02:39
Location: US

#9 Post by DG » 06.05.2008, 17:19

Marek,

Sad to say, the messages look a bit different but access is still denied. I'll send you another pm with the latest from beta 337.

Regards,
DG

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 24 guests