Hi guys I’m new to Powershell and am trying to download files from a FTP server. I would like to know how I could do it with my credential format. My code is very incomplete and I’m not sure how to proceed. Any help would be greatly appreciated.
I did an export-clixml to save the credentials and am importing it on this script.
$ftpServer = ftp.example.com $credPath = 'C:\Test\credFile.txt' $credential | import-clixml -path $credPath