How the connector uploads a DICOM image