SFTP Powershell script problems
Hello,
First thanks for such a great tool. I'm having an issue however trying to migrate my winscp script files to using Powershell with the .NET assembly. I have obtained and verified the server host key fingerprint, and am using one of the powershell examples for testing. However I immediately get this error:
Connection has been unexpectedly closed. Server sent command exit status 0.
The winscp scripts from command line work fine. As well as the GUI to this same server. What could I be doing wrong?
First thanks for such a great tool. I'm having an issue however trying to migrate my winscp script files to using Powershell with the .NET assembly. I have obtained and verified the server host key fingerprint, and am using one of the powershell examples for testing. However I immediately get this error:
Connection has been unexpectedly closed. Server sent command exit status 0.
The winscp scripts from command line work fine. As well as the GUI to this same server. What could I be doing wrong?