byte, or exceeds ScpLimits.pathMax.
validateScpRemotePathname
fn
void validateScpRemotePathname(scope const(ubyte)[] path)Validates a remote pathname for command construction.
Pathnames are protocol bytes passed through verbatim after quoting; this function rejects only what cannot be represented safely.
Parameters
path | Remote pathname bytes. |
Throws
ScpException when the pathname is empty, contains a NUL