Skip to content

Poco::File::renameTo() behaviour differs on windows and linux #969

@hadzim

Description

@hadzim

If move destination file exists, it is overwritten on linux, but on windows throws exception.

Moreover, the windows exception message is little bit confusing in this case:

"File exists: [SOURCE_FILE_NAME]"

instead of

"File exists: [DESTINATION_FILE_NAME]"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions