Skip to content

CloudFile returns different path to what is uploaded #158

@isaacabraham

Description

@isaacabraham

There's an issue on the CloudFile Azure implementation: -

let x = CloudFile.Upload("foo.txt", @"data\blah.txt")
x.Path = "data/Account.txt" // false
x.Path = "/mbraceuserdata/data/Account.txt" // true

Even worse, the following (correctly) returns false: -

CloudFile.Exists x.Path

There needs to be a decision made regarding the mbraceuserdata folder - what is it for and when is it used - always (undesirable) or as a default (acceptable). If the latter, then the generated CloudFileInfo should not always prepend the path with \mbraceuserData. If the former, then CloudFile.Upload should always upload to that container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions