We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@frankdejonge
Hello, I'm using the ReadOnlyFilesystemAdapter to read a file. When open a file I get an 'UnableToCreateDirectory' exception.
The file I want to read is test.pdf. It's located in the //test/folder1 directory.
The function i use to get the file data:
public static function getFile($path, $fileName) { try { $adapter = new LocalFilesystemAdapter($path); $fileSystem = new ReadOnlyFilesystemAdapter($adapter); return $fileSystem->read($fileName); } catch (FilesystemException | UnableToReadFile | UnableToCreateDirectory $exception) { return $exception; } } $file = getFile('//test/folder1/', 'test.pdf ')
It's installed on a Windows server and there is only a read authorization.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Question
@frankdejonge
Hello, I'm using the ReadOnlyFilesystemAdapter to read a file. When open a file I get an 'UnableToCreateDirectory' exception.
The file I want to read is test.pdf. It's located in the //test/folder1 directory.
The function i use to get the file data:
It's installed on a Windows server and there is only a read authorization.
The text was updated successfully, but these errors were encountered: