PHP Classes

File: FileManagerS3.php

Recommend this page to a friend!
  Classes of Md. Kausar Alam   File Manager S3   FileManagerS3.php  
File: FileManagerS3.php
Role: Class source
Content type: text/plain
Description: This class is used to manipulate Amazon S3 Storage.
Class: File Manager S3
Manage files in Amazon S3 service
Author: By
Last change: 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
Date: 12 years ago
Size: 4,395 bytes

You need to be a registered user and login to get this file.

1,611,081 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: