How to copy file from ftp with saving original lastwritetime, not current time?
This download file, and set lastwritetime current time.
$Login = 'anonymous'
$Pass = ''
$url = "ftp://ftp.intel.com/readme.txt"
$local = "C:\docs\readme.txt"
$WC = new-object System.Net.WebClient
$WC.Credentials = [Net.NetworkCredential]::new($Login,$Pass)
$WC.downloadFile($url,$local)