I\'d like to automate the FTP download of a database backup file using PowerShell. The file name includes the date so I can\'t just run the same FTP script every day. Is t
Taken from here
$source = "ftp://ftp.microsoft.com/ResKit/win2000/dureg.zip" $target = "c:\temp\dureg.zip" $WebClient = New-Object System.Net.WebClient $WebClient.DownloadFile($source, $target)
Works for me