.. _doxcsid-class_p1_1_1_camera_sdk_1_1_camera_1a164d73a84c8eaadaad834c8562ec08ee: Camera.DownloadFile Method ++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1Sdk`` Receives a file from the connected camera .. ref-code-block:: csharp :class: doxyrest-overview-code-block public void DownloadFile(:ref:`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 .. ref-code-block:: cpp FileTransfer* notifications. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - fileId - The type of file to download * - filePath - File destination path. Always overwrite any existing file * - :ref:`SdkException ` - Throws an exception, if the upload fails, or if the file Id (enum) is unsupported