We are trying to get a file from an IBM MVS server

Advertisement

RoyMI
Joined:
Posts:
8
Location:
Canada

We are trying to get a file from an IBM MVS server

In the past we have been using WS_FTP to get our files from an IBM MVS server to Windows and it worked good .
Now we are trying to do the same but using WINSCP .. but now we never see the files on the IBM MVS server when using the FTP protocol . We also tried using the SFTP protocol , but the login fails when using SFTP
.
Any special setup we need to do to ge able to get MVS files ?
.
Thanks

Reply with quote

Advertisement

RoyMI
Joined:
Posts:
8
Location:
Canada

Could not retrieve directory listing -- This is the error

Acutally this is the error we are getting:
I forgot to post it in the original topic
.
Could not retrieve directory listing
CWD cmd failed : EDC5129I No such file or directory. (errno2=0x0594003D)

Reply with quote

RoyMI
Joined:
Posts:
8
Location:
Canada

more testing

I was doing more tests and I noticed in the log that under WS_FTP it does a CWD 'directory_name' but under WINSCP it does a CWD / 'directory_name' / 'directory_name'
.
So it appears that is adds a '/' between the CWD and the directory
Is this a config setup issue ?
Thanks

Reply with quote

Advertisement

Pathduck
Donor
Pathduck avatar
Joined:
Posts:
82
Location:
Oslo

Given the multitude of different directory listing types on MVS I think support for it might be hard to implement. Most IBM systems have a Unix partition though and it usually runs a standard FTP server which should be compatible with Winscp.

When I worked on mainframe a couple years back, I used Total Commander for connection to the MVS FTP server, since it allows for custom server types, where you can define how the data is returned and interpreted by the client. But I don't need to do this any more - thank god ;)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,431
Location:
Prague, Czechia

Re: It fails with SFTP or SCP

RoyMI wrote:

It fails with SFTP or SCP with the following error:

server unexpectedly closed network connection
Can you connect with any other SFTP/SCP client?

Reply with quote

RoyMI
Joined:
Posts:
8
Location:
Canada

Not sure .. we used WS_FTP in the past with no problems, but using FTP
.
Is WINSCP supported with IBM/MVS ?
.
Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar

RoyMI wrote:

Is WINSCP supported with IBM/MVS ?
This is way too broad question. WinSCP does not support systems that do not use Unix-like path syntax. That definitely has nothing to do with the "server unexpectedly closed network connection" error.

Reply with quote

Advertisement

You can post new topics in this forum