File Permissions
Does anybody know why, when I use:
Dim transferOptions As New TransferOptions
transferOptions.TransferMode = TransferMode.Binary
transferOptions.FilePermissions.Numeric = 775
Dim transferResult As TransferOperationResult
I get an error pointing to: transferOptions.FilePermissions.Numeric = 775, saying "Object reference not set to an instance of an object."? It works perfectly without it, but I need certain permissions set. No matter how I set such permissions, it doesn't seem to work.
Thanks!
Dim transferOptions As New TransferOptions
transferOptions.TransferMode = TransferMode.Binary
transferOptions.FilePermissions.Numeric = 775
Dim transferResult As TransferOperationResult
I get an error pointing to: transferOptions.FilePermissions.Numeric = 775, saying "Object reference not set to an instance of an object."? It works perfectly without it, but I need certain permissions set. No matter how I set such permissions, it doesn't seem to work.
Thanks!