|
|
@@ -129,7 +129,7 @@ class sftp
|
|
|
$size = sprintf("%.2f", filesize($dir . $realpath));
|
|
|
|
|
|
if ($filetype != "dir") {
|
|
|
- $infos = @ssh2_sftp_stat(self::$connexion, $file);
|
|
|
+ $infos = @ssh2_sftp_stat(self::$connexion, SFTP_REMOTE.$file);
|
|
|
$tempFile["file"] = $file;
|
|
|
$tempFile["size"] = core::formatFileSize($infos["size"], 2);
|
|
|
$tempFile["date"] = core::dateFromTimestamp($infos["atime"]);
|