I am trying to secure FTP file to mainframe z/OS. First I need to send some commands to the mainframe. Then I need to FTP the file. I am trying to figure out if I can do both in one transaction i.e. first commands with SSHClient and then second FTP
file with SftpClient.
So I want to use SshClient to send the following commands first:
Then I want to actually FTP the file using SftpClient.UploadFile()
Is this possible or do I need another approach?