O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

17.1. Laying the Foundation

Traditionally, working with the web and downloading and uploading files to remote computers has been out of the scope of a shell's functionality. It is good programming practice to lay a clear boundary between software that starts and manages other software (the shell) and software that works with files on remote servers. There are popular, free programs with formidable feature lists that can do that very well; the first that come to mind are wget and cURL. Both of these are console applications that have sprung out of the UNIX world, but their Windows ports are fully functional and can both download and upload files over several protocols. If you have invested in scripts that rely on such utilities, you can easily ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required