File Report Command

File Report Command

This command details report of all files that you can access in the vault. Report include Title, Record UID, and File ID

DotNet CLI

Command: Coming Soon

Power Commander

Command: Get-KeeperFileReport

Parameters:

-Format Table, csv, Json

-Output Path to resulting output file (ignored for "table" format)

-d , -TryDownload Try downloading every attachment you have access to.

Example:

PS > Get-KeeperFileReport
Scanning vault for file attachments...

Title Record UID             Record Type File ID                File Name     File Size
----- ----------             ----------- -------                ---------     ---------
Test1 2lAzF6Ok4xAfA-DYd6LQVQ login       QxYVAc4F5ezY7H294zoVDA download1.jpg      7151
Test1 xrJ-GWKvgJtyLgIR6Tnqjg login       uLodKnuDXFxzfvLo_XuSDQ download.jpg       4961


PS > Get-KeeperFileReport -TryDownload
Scanning vault for file attachments and verifying download accessibility...

Title Record UID             Record Type File ID                File Name     File Size Downloadable
----- ----------             ----------- -------                ---------     --------- ------------
Test1 2lAzF6Ok4xAfA-DYd6LQVQ login       QxYVAc4F5ezY7H294zoVDA download1.jpg      7151 OK
Test1 xrJ-GWKvgJtyLgIR6Tnqjg login       uLodKnuDXFxzfvLo_XuSDQ download.jpg       4961 OK
Python CLI

Command: file-report

Parameters:

--format Table, csv, Json

--output Path to resulting output file (ignored for "table" format)

-d --try-download Try downloading every attachment you have access to.

Example:

My Vault> file-report
Title                   Record UID              Record Type    File ID                 File Name              File Size    
----------------------  ----------------------  -------------  ----------------------  -------------------  -----------    
Commander Service Mode  <RecordUID>                 login          <File_ID>               service_config.yaml          604    
SM Docker Config File   <RecordUID>                 login          <File_ID>           config.json                  262
Python SDK

Function:

def prepare_attachment_download(vault: vault_online.VaultOnline,
                                record_uid: str,
                                attachment_name: Optional[str]=None) -> Iterator[AttachmentDownloadRequest]:
    record = vault.vault_data.load_record(record_uid)
    if not record:
        utils.get_logger().warning('Record UID \"%s\" not found.', record_uid)
        return

Last updated