Creates a file with the provided content and fileName in the uploads folder.
Creates a file with the provided content and fileName in the uploads folder.
the name and path of the created file.
Creates the specified file in the uploads folder.
Creates the specified file in the uploads folder.
the file name and file path.
Creates a thumbnail image of the specified file.
Creates a thumbnail image of the specified file.
the path for the thumbnail if created, None otherwise.
Deletes the file from the hard drive
Deletes the file from the hard drive
true if the file was deleted, false otherwise.
Returns the path of the file within the defined documents dir.
Returns the path of the file within the defined documents dir.
the path of the file within the documents dir.
Removes all weird chars from the specified name.
Removes all weird chars from the specified name.
Gets a file from the documents folder
Gets a file from the documents folder
Moves the specified file from the uploads folder to the linked folder.
Moves the specified file from the uploads folder to the linked folder.
the new path for the moved file.
Returns an unique identifier for the specified name.
Returns an unique identifier for the specified name.
Moves the specified file from the linked folder to the unlinked folder.
Moves the specified file from the linked folder to the unlinked folder.
the new path for the moved file.
Implementation of the FileStorage for local hard drive