fake afnor
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user