Open mhmiton opened 1 year ago
public function fileExists(string $path): bool { $filePath = $this->getFileFolderName($path); // Search for files $file = $this->client->listFiles([ 'name' => $filePath['fileName'], 'path' => $filePath['directory'], 'includeFolder' => true, ]); return ! empty($file->success); }
This script return an error:
This script return an error: