overwrite remote files using session.putfiles

Advertisement

sferrand
Joined:
Posts:
3

overwrite remote files using session.putfiles

Hi,

There must be a setting for this, but I can't find it.

I'm getting:
Cannot overwrite remote file '/remotepath/myfilename'
Press 'Delete' to delete the file and create new one instead of overwriting it.

It looks like it's possible with scripting "confirm off", but how using the .NET component?

FWIW, I'm using a wildcard for the localPath

Thanks,
SteveF

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: overwrite remote files using session.putfiles

This has nothing to do with "confirm off".
What is the reason WinSCP cannot overwrite the file?
Complete session log would be helpful.

Reply with quote

martin
Site Admin
martin avatar

After checking the log, I can confirm that your server rejects request to overwrite the file with "Permission denied".

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum