Powershell script which connects to SFTP and downloads new files


I need a powershell script whcih can connect to a SFTP site. has anyone done this i, understand that there may be a cost in getting this to work can anyone provide a script that they currently have working even if this means that we need to but some third party plugin ro access SFTP

let me know as soon as you can

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bryan ButlerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bryan ButlerCommented:
Oh, and you will probably have to pay as this functionality is tricky to do in powershell.  They will probably have some command in a CTP someday.  Of course if you're going to pay, you may try robo-ftp.  Here's a link that does have some tricky options for this:

Robo-FTP was designed to be scriptable so it can handle fairly complicated SFTP automation tasks by itself without Powershell.  

If, however, you having an existing process based on Powershell you could perhaps use it to launch Robo-FTP with command line parameters that pass variable values to the Robo-FTP command script.  Robo-FTP also has a COM interface so you could perhaps integrate with an existing Powershell process that way.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.