Topic "WinSCP5.9.5 support mainframe?"

Author Message


Hi Martin,

I need to use WinSCP to implement FTPS protocol transfer files between Window server 2008 to IBM mainframe.
I could use the from command line to connect to mainframe, and use "cd 'ABCD.EFGH.XYZ'", then "GET abc C:\temp\" to get dataset '' from mainframe to windows server. But when I reference WinSCPnet.tlb in my vb6 project,( I already successfully register the WinSCPnet.dll to server, and could debug to open the session), when I connect to mainframe, I couldn't GetFiles('',C:\temp\"). I tried to mySession.ExecuteCommand "CD 'ABCD.EFGH.XYZ'", debug is OK, but try GetFiles("abc",C:\temp\"), the transferResult.Check is failed. the following error message is "FtpFiles Error: -2146233088 - Can't get attributes of file 'abc'. File or folder 'abc' does not exist."

So I want to know why supports mainframe, but WinSCPnet.dll doesn't support mainframe?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
Did you try GetFiles("'ABCD.EFGH.XYZ'/abc", ...?


Hi Martin,

Thank you for your replying. Now after I change the mySession.ExecuteCommand("CWD 'AAA.BBB.CCC'"), it works.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License