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 ...

Get Pro Windows PowerShell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.