I found the script for creating the buckets in the amazon s3 and maintaining the files inside that bucket in the following link.
But i want to create the sub-directories in the amazon s3 buckets and have to maintain the files inside those directories.Can any one please tell me whether that is possible using the api. If possible, how?
yes, it should be easy. instead of giving
$s3->putObjectFile($fileTempName, "jurgens-nettuts-tutorial", $fileName, S3::ACL_PUBLIC_READ)just give
$s3->putObjectFile($fileTempName,"jurgens-nettuts-tutorial" ,$folderName ,S3::ACL_PUBLIC_READ );define the directory in foldername