↧
Answer by Eric for Downloading yesterday files in PowerShell using WinSCP
Try this function and pass your specified date range in parameter StartDate and EndDateFunction Download-Files { [CmdletBinding()] Param ( [Parameter(Mandatory=$true)][Object]$Session,...
View ArticleAnswer by Martin Prikryl for Downloading yesterday files in PowerShell using...
You can use today and yesterday keywords for upper and lower time constraint in a single WinSCP file mask: $transferOptions = New-Object WinSCP.TransferOptions$transferOptions.FileMask =...
View ArticleDownloading yesterday files in PowerShell using WinSCP
Design Scope: Use PowerShell and WinSCP .NET assembly to automate nightly downloads by using the file timestamp to identify the files to be downloaded. The FTP server being connected to is IIS so it...
View Article