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?