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

Yellow

No worries. Thanks for letting me know.
martin

That's for GUI only.
Yellow

Hi

Thanks for the reply. Basically I want to upload a file name 'MyFile'. Then rename it to 'MyNewFile'. If 'MyNewFile' already exists, then have an option to overwrite the existing 'MyNewFile'.

I realise I can delete the existing file first, that's not a problem. But I found this thread, which suggests such a rename feature exists, unless I am not understanding it: https://winscp.net/forum/viewtopic.php?t=25

Cheers
Yellow

Rename File - Overwrite Existing

Hi

In .net is it possible to rename a file and if that file already exists, overwrite it automatically?

Cheers