binaryninja::collaboration

Function download_file

source
pub fn download_file<S: BnStrCompatible>(
    file: &RemoteFile,
    db_path: S,
) -> Result<Ref<FileMetadata>, ()>
Expand description

Download a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later.

  • file - Remote File to download and open
  • db_path - File path for saved database