||This class is used to manipulate Amazon S3 Storage.
||File Manager S3
Manage files in Amazon S3 service
||By Md. Kausar Alam
||We are storing documents, images in a configured folder on the web server's file system. As we grow in size this configuration makes it hard to scale across multiple servers, as any web server we use needs access to this single folder. Bringing up a new web server means we have to move that content over to the new server, and running two web servers simultaneously is out of the question.
A good solution to this problem is to use Amazon's S3 storage service. This gives us an extremely reliable storage system that stores redundant copies of all data. It is also accessible instantly from any new server we bring up, and can be accessed by multiple servers.
To use Amazon storage, FileManagerS3 class will give you more flexibility. In this class, AmazonS3 class has been used. But you don't need to know AmazonS3 class. Just fill the configuration file and run this class.
FileManagerS3 has the following functionalities:
=> Generate a path of uploaded dir
=> Upload a file to Amazon Server.
=> Check whether a file already exist or not in Amazon server
=> Delete a file that has been already uploaded to Amazon Server
=> Get the list of all uploaded files in Amazon
||4 years ago