Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
RoyMI

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

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?
RoyMI

It fails with SFTP or SCP

It fails with SFTP or SCP with the following error:

server unexpectedly closed network connection
Pathduck

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 ;)
martin

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

WinSCP does not support IBM Mainframe, at least not with FTP.
https://winscp.net/tracker/49

Do you believe that SFTP should work on your server?
RoyMI

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
RoyMI

We are using 5.1.0 Build 2625

We are using 5.1.0 Build 2625
Thanks
RoyMI

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)
RoyMI

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