Topic "Session.MoveFile force the move?"

Author Message
GRR3
[View user's profile]

Joined: 2017-05-31
Posts: 6
When using Session.MoveFile, I sometimes get an error 4 caused by an attempt to move the file when a file of the same name already exists.

Is there a way to always overwrite the existing file?

Thank you.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
No. You have to check yourself and delete the offending file.
Advertisements

You can post new topics in this forum

Search

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