WinSCP5.9.5 support mainframe?

Advertisement

Ada
Guest

WinSCP5.9.5 support mainframe?

Hi Martin,

I need to use WinSCP to implement FTPS protocol transfer files between Window server 2008 to IBM mainframe.
I could use the WinSCP.com from command line to connect to mainframe, and use "cd 'ABCD.EFGH.XYZ'", then "GET abc C:\temp\" to get dataset 'ABCD.EFGH.XYZ.abc' 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('ABCD.EFGH.XYZ.abc',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 WinSCP.com supports mainframe, but WinSCPnet.dll doesn't support mainframe?

Reply with quote

Advertisement

Ada
Guest

fix it

Hi Martin,

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

Reply with quote

Advertisement

You can post new topics in this forum