When uploading files from a URL, and if the server closes the connection directly after sending the file, then the resource will be invalid and an exception will be thrown when trying to close it. The supposed fix is to check if the resource is valid.
* Simplifies & beautifies everything
* Introduces a new Class system.
* Errors are defaulted to AWS's handler.
* New function names & more efficient handling.
* Should fix a majority of the errors.
Please read the README for more!
I was using this package and I discovered that I couldn't create a new space on DigitalOcean. I kept getting the "XAmzContentSHA256Mismatch" error. Until i added this line. This fixes the issue.
I saw here the need to delete the file and because it was already open (fopen) inside the library, exclusion was not allowed.
Now always closing (fclose) the file, this is possible.
This is most often used when you want to delete a temporary file after uploading.
-> All functions now have a description.
-> All functions now have the same name format (ExampleFunctionName()).
-> Better error handling.
-> ListObjects() now can also list only the contents of a folder.
-> Fixed a result bug with UploadDirectory().
This is the first update!
-> Two new functions allow for easily making files public or private.
-> Files' public or private status can now be set while uploading.
-> Added error handling capabilities.
-> All time values are automatically converted to Unix time.
-> Result objects are automatically converted to arrays.
-> Fixed a bug with ACLs where a different client was being called.
-> Fixed a bug with file uploads where save as was not working.