First, thank you so much for an amazing piece of software. Much appreciated.
I have a PowerShell script that leverages the WinSCP .NET assembly and works well.
I am Synchronizing the local files to match the FTP files.
I would like to update the script to sync only a single file in the remote directory. I'm trying to use the below Transfer Option to do this, but no matter what i try in there, I can't get any mask to work. Likely my syntax is off. I looked everywhere for an example that used .NET and filemask and was unable to find one.
$transferOptions.FileMask = "This is a file.csv"
Thanks so much!