Help setting $transferOptions.FilePermissions in PowerShell
I need to set the file permissions to octal
I am new to PowerShell and am trying to work through this "Create new instance of FilePermissions and set FilePermissions.Octal to a value of the switch."
Any help/guidance would be appreciated
666
in PowerShell.
$transferOptions = New-Object WinSCP.TransferOptions $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary $transferOptions.FilePermissions = ?
Any help/guidance would be appreciated