videosphere
    Preparing search index...

    Function isValidSftpUploadPathSegment

    • Returns whether segment is a safe single path component for SFTP uploads. Rejects separators, . / .. segments, and control characters.

      Parameters

      • segment: string

        Candidate filename or year-folder name.

      Returns boolean

      True when the segment may be joined under a configured remote directory.