1

Is there any Powershell script to do SFTP to a Unix/Linux machine?

GMaster9
  • 197
  • 1
  • 6
  • Possible duplicate http://stackoverflow.com/questions/265339/whats-the-best-way-to-automate-secure-ftp-in-powershell – Peter Svensson Feb 09 '12 at 20:21
  • 2
    The question is not a duplicate. The SFTP discussed there was about FTP or FTP with SSL. But FTP is not SFTP and SSL is not SSH. Anyone you tried SFTP in .NET ? – GMaster9 Feb 10 '12 at 08:58
  • There is such a script because I wrote one recently. I used WinSCP as SFTP client though, so not sure if this is what you are looking for. WinSCP is highly scriptable and even has .NET/COM libraries (http://winscp.net/eng/docs/library_powershell#example). That said, my own script simply built a command file, passed it to WinSCP then checked result codes, output and logs for errors so it's fairly simple stuff. – andyb Mar 03 '14 at 06:35

0 Answers0