ServerFolderTexts
Static class in Oadm.Sdk.Plugins · Oadm.Sdk.dll
The texts and limits of the server folders (the checks of IServerFolderCheck, the client’s folder picker and its gRPC calls), one phrase per concept for server and client.
public static class ServerFolderTextsMethods
Section titled “Methods”CheckName
Section titled “CheckName”static string? CheckName(string? name)Null when name (trimmed at the start) is a folder name every system the server runs on accepts, else why not. The same rule on Windows, Linux and macOS, so a name never depends on where the server runs.
Fields
Section titled “Fields”CannotCreate
Section titled “CannotCreate”const string CannotCreate = "The server cannot create a folder here."The service may not create a folder in the parent.
CannotOpen
Section titled “CannotOpen”const string CannotOpen = "The server cannot open this folder."The service may not list the folder.
CannotWrite
Section titled “CannotWrite”const string CannotWrite = "The server cannot write to this folder."The service cannot create a file in the folder.
ChooseFolder
Section titled “ChooseFolder”const string ChooseFolder = "Choose a folder."No folder chosen (an empty field, the list of drives).
MaxEntries
Section titled “MaxEntries”const int MaxEntries = 2000Most folders in one answer of a listing; more are cut off (sorted by name).
MaxNameLength
Section titled “MaxNameLength”const int MaxNameLength = 255Longest name of a new folder.
MaxPathLength
Section titled “MaxPathLength”const int MaxPathLength = 1024Longest path the server accepts.
NameDots
Section titled “NameDots”const string NameDots = "Do not start the name with a dot or end it with a dot or a space."The name starts with a dot (hidden on Linux and macOS) or ends with a dot or a space (not on Windows).
NameEmpty
Section titled “NameEmpty”const string NameEmpty = "Enter a name."The name of a new folder is empty.
NameExists
Section titled “NameExists”const string NameExists = "A folder with this name exists already."The folder exists already.
NameInvalid
Section titled “NameInvalid”const string NameInvalid = "Use a name without \\ / : * ? \" < > |."The name holds a character no system allows.
NameReserved
Section titled “NameReserved”const string NameReserved = "This name is reserved. Choose another name."A name Windows keeps for devices (CON, NUL, COM1, …).
NameTooLong
Section titled “NameTooLong”const string NameTooLong = "Use at most 255 characters."The name is longer than ServerFolderTexts.MaxNameLength.
NotFound
Section titled “NotFound”const string NotFound = "This folder does not exist on the server."The folder is not there.
NotFullPath
Section titled “NotFullPath”const string NotFullPath = "Enter a full path on the server."A relative path, “..”, a device path or a path the server’s system cannot have.
OadmFolder
Section titled “OadmFolder”const string OadmFolder = "OADM keeps its own files here. Choose another folder."OADM’s data folder itself, its plugins or its program folder.
OthersCanChange
Section titled “OthersCanChange”const string OthersCanChange = "Users other than administrators can change this folder. Make one with New folder."The installed service: users other than administrators / root could change what is in the folder.
SystemFolder
Section titled “SystemFolder”const string SystemFolder = "This is a system folder. Choose another folder."The operating system’s or a program’s folder.
WholeDrive
Section titled “WholeDrive”const string WholeDrive = "Choose a folder, not a whole drive."A drive or the top folder (C:, /).