Property Directory
Directory
Gets or sets the directory that the store keeps uploads in, or null while it is not set.
Declaration
[MaybeNull]
public required IAbsoluteDirectoryPath Directory { get; set; }
Property Value
| Type | Description |
|---|---|
| IAbsoluteDirectoryPath |
Remarks
Servers that share uploads use the same directory, such as a network share mounted at the same path. The directory must be a path with friendly names, one that is valid for NoUnfriendlyNames, on every platform. A path bound from a configuration is read with None, so a typo such as a trailing space or dot would otherwise make the store create a directory with that name, which many tools handle badly.
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | The value is not a path with friendly names. The message names the path and its problem. |