Camera.DownloadFile Method

Definition

Namespace: P1Sdk

Receives a file from the connected camera

public void DownloadFile(DownloadFileId fileId, string filePath);

This methods receives a file from camera. Whether or not the camera will handle the file type depends on the camera model and firmware version.

CAUTION: This method will not supply any

FileTransfer*

notifications.

Parameters:

fileId

The type of file to download

filePath

File destination path. Always overwrite any existing file

SdkException

Throws an exception, if the upload fails, or if the file Id (enum) is unsupported