Session.MoveFile force the move?

Advertisement

GRR3
Joined:
Posts:
10

Session.MoveFile force the move?

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,299
Location:
Prague, Czechia

Re: Session.MoveFile force the move?

No. You have to check yourself and delete the offending file.

Reply with quote

Advertisement

You can post new topics in this forum