Returns whether remotePath is a safe absolute POSIX directory for SFTP backups. Rejects backslashes and . / .. path segments.
remotePath
.
..
Candidate remote directory path.
True when the path is allowed.
Returns whether
remotePathis a safe absolute POSIX directory for SFTP backups. Rejects backslashes and./..path segments.