Skip to content

File::exists() wrong result #2403

@micheleselea

Description

@micheleselea

Expected behavior

if the file does not exists return false, true if exists

Actual behavior

Sometimes happens to me that for some network files (accessed like \IP\folder\file.txt) function seems to return false even if the file exists. I think the problem is (under windows) the function existsImpl() return false if ERROR_NOT_READY. I have to investigate more on that. If happens the NOT READY could be not permanent but temporary situation

POCO version

1.9.0

Compiler and version

Visual studio 2015

Operating system and version

Window 10

Other relevant information

using network drive with network uri

I don't know if it's better to leave the ERROR_NOT_READY out switch

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions