Uploads the contents of the given stream to the S3 uploads folder.
Uploads the contents of the given stream to the S3 uploads folder.
the name and path of the uploaded file in S3.
Uploads the given file to S3 with an escaped file name in the uploads folder.
Uploads the given file to S3 with an escaped file name in the uploads folder.
the name and path of the file.
Creates a thumbnail of a file that already exists in S3 if it is an image.
Creates a thumbnail of a file that already exists in S3 if it is an image.
the path of the thumb if one was created, none otherwise.
If the specified path belongs to a thumbnail, we remove the file from S3, otherwise we ignore the delete request.
If the specified path belongs to a thumbnail, we remove the file from S3, otherwise we ignore the delete request.
true if the thumbnail was removed successfully or if it wasn't a thumbnail.
Removes all weird chars from the specified name.
Removes all weird chars from the specified name.
Gets a file from S3.
Gets a file from S3.
the contents of the fetched object.
Copies the file in S3 from the uploads folder to the linked folder and deletes the file from the uploads folder.
Copies the file in S3 from the uploads folder to the linked folder and deletes the file from the uploads folder.
the new path of the file.
Helpers with paths needed for upload, link and unlink of files.
Returns an unique identifier for the specified name.
Returns an unique identifier for the specified name.
Copies a file in S3 from the linked folder to the unlinked folder and deletes the file from the linked folder.
Copies a file in S3 from the linked folder to the unlinked folder and deletes the file from the linked folder.
the new path of the file
Implementation of the FileStorage for S3