Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Figured it out....somehow I must have deleted this line...from two scripts!?

$transferOptions = New-Object WinSCP.TransferOptions

Property 'FileMask' Cannot be found

Hi, I'm not sure what has happened. Everything was running just fine. Out of now where I started getting the error below while running my powershell script. I've attached the powershell script and the log [log is a private file]. Made absolutely no changes to the script...just started getting this error. Any ideas?

Error: The property 'FileMask' cannot be found on this object. Verify that the property exists and can be set.