Now getting overwrite not allowed
I am trying to put files in the remote path, /incoming/confirms/BLUESTEM. However, i can manually place any files there. Is there a way to handle this permissions issue?
Error:WinSCP.SessionRemoteException: Cannot overwrite remote file '/incoming/confirms/BLUESTEM'.$$
Press 'Delete' to delete the file and create
new one instead of overwriting it.$$ ---> WinSCP.SessionRemoteException: Permission denied.
Error code: 3
Error message from server: permission denied
Maybe the issue is in this code, I am passing this: the file permissions option on transfer options is 'NULL'
transferResult = session.PutFiles(item.FolderNameShip + "*", ToUpload+item.FolderNameAlias, false, transferOptions);
Error:WinSCP.SessionRemoteException: Cannot overwrite remote file '/incoming/confirms/BLUESTEM'.$$
Press 'Delete' to delete the file and create
new one instead of overwriting it.$$ ---> WinSCP.SessionRemoteException: Permission denied.
Error code: 3
Error message from server: permission denied
Maybe the issue is in this code, I am passing this: the file permissions option on transfer options is 'NULL'
transferResult = session.PutFiles(item.FolderNameShip + "*", ToUpload+item.FolderNameAlias, false, transferOptions);