ScpLocalFile.openParentDirectory

bool openParentDirectory(string path, ref string errorMessage)

Resolves the parent directory of the destination safely.

Parameters

pathFull destination path.
errorMessageReceives the failure description.

Returns

true when parentFd_ pins the destination's parent and

baseName_ holds the final component.