Quantcast
Channel: Downloading yesterday files in PowerShell using WinSCP - Super User
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


Downloading 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
Browsing latest articles
Browse All 3 View Live