Now getting overwrite not allowed

Advertisement

Philky001
Donor
Joined:
Posts:
20

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);

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Now getting overwrite not allowed

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum