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

Author Message
RoyMI
[View user's profile]

Joined: 2013-11-18
Posts: 8
Location: Canada
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
Advertisements
RoyMI
[View user's profile]

Joined: 2013-11-18
Posts: 8
Location: Canada
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)
RoyMI
[View user's profile]

Joined: 2013-11-18
Posts: 8
Location: Canada
We are using 5.1.0 Build 2625
Thanks
RoyMI
[View user's profile]

Joined: 2013-11-18
Posts: 8
Location: Canada
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
WinSCP does not support IBM Mainframe, at least not with FTP.
https://winscp.net/tracker/show_bug.cgi?id=49

Do you believe that SFTP should work on your server?
Pathduck
[View user's profile]
Donor
Joined: 2012-05-29
Posts: 66
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 Wink
RoyMI
[View user's profile]

Joined: 2013-11-18
Posts: 8
Location: Canada
It fails with SFTP or SCP with the following error:

server unexpectedly closed network connection
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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?
_________________
Martin Prikryl
RoyMI
[View user's profile]

Joined: 2013-11-18
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License