Post a reply

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

Options

Topic review

Philky001

HI it was some code issue and is working now! :D
martin

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.
Philky001

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