-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Permission Error Writing a file on Windows 10 & PHP 7.4 #36
Comments
Same here: https://del.dog/uthobinaca.txt |
I also have this problem, no solution yet? |
Does it work without amphp/file? |
Yes, maybe that's the case. How do you open the file? |
I don't know, this is not my library. I just use it and find it breaks at this point. And I have no idea why ... |
Can the developer of this library tell me? |
Not within the library, but rather how you use the library to open the file. Please post a full example to reproduce the issue. |
Issue happens in \Amp\File\BlockingFile::write, which used in MadelineProto downloadTo* methods I think trace should be like this:
|
|
i love you |
The same error happens, no matter what the permissions are.
The same exact code works fine under Linux.
Exception: fwrite(): write of 8192 bytes failed with errno=13 Permission denied in BlockingFile.php:66
Previous TL trace:
exceptionErrorHandler()
BlockingFile.php(66): fwrite()
Files.php(1153): write()
The text was updated successfully, but these errors were encountered: