Automate SSL FTP upload via PowerShell

Question:

I have searched and read a lot about downloading SSL FTP files in PowerShell… But how do I upload them? I have a filename I need to upload each day and I get errors that I am not logged in.
I’m currently uploading to other FTP sites like this:

Do I need to create a whole new block of code for the SSL FTP upload, or do I just need to make minor adjustments to this code?

Thanks!

Answer:

I use the WinSCP DLL to do this stuff. Check out some examples here:
http://winscp.net/eng/docs/library#powershell

Here’s some of my sample code.

Source:

Automate SSL FTP upload via PowerShell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply