fake afnor

This commit is contained in:
2023-01-03 10:50:07 +01:00
parent e7f7a348da
commit e8f528574a
9 changed files with 152 additions and 35 deletions

View File

@ -71,10 +71,8 @@ class SftpService
$sftp = $this->sftp;
$remotePath = 'ssh2.sftp://'.join(DIRECTORY_SEPARATOR, [$sftp, $this->folder.$remoteFolder."/".$baseName]);
echo($remotePath);
$stream = @fopen($remotePath, 'w');
if (!$stream) {
echo "here";
return false;
}
$localStream = fopen($localFile, 'r');