Skip to content
Snippets Groups Projects
Commit 550c1728 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix : control of the fingerprint

parent 733f6bd0
No related branches found
No related tags found
No related merge requests found
......@@ -65,11 +65,16 @@ function Ds_copyOnDocserver(
$storeInfos = array('error' => _DOCSERVER_COPY_ERROR);
return $storeInfos;
}
Ds_controlFingerprint(
$fingerprintControl = array();
$fingerprintControl = Ds_controlFingerprint(
$sourceFilePath,
$destinationDir . $fileDestinationName,
$docserverSourceFingerprint
);
if ($fingerprintControl['status'] == 'ko') {
$storeInfos = array('error' => $fingerprintControl['error']);
return $storeInfos;
}
/*$ofile = fopen($destinationDir.$fileDestinationName, 'r');
if (Ds_isCompleteFile($ofile)) {
fclose($ofile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment