Topic "Now getting overwrite not allowed"

Author Message
Philky001
[View user's profile]
Donor
Joined: 2015-11-24
Posts: 20
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);
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24552
Location: Prague, Czechia
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
[View user's profile]
Donor
Joined: 2015-11-24
Posts: 20
HI it was some code issue and is working now! Very Happy
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License