S3PutTask

Uploads an object to Amazon S3. This task requires the PEAR package Services_Amazon_S3

Table 141. Attributes

Name Type Description Default Required
key String Amazon S3 key n/a Yes (or defined before task call as: amazon.key)
secret String Amazon S3 secret n/a Yes (or defined before task call as: amazon.secret)
bucket String Bucket to store the object in n/a Yes (or defined before task call as: amazon.bucket)
content String Content to store in the object n/a Yes (or source or fileset)
source String Where to read content for the object from n/a Yes (or content or fileset)
object String Object name n/a Yes (unless fileset)
contentType String Content type of the object, set to auto if you want to autodetect the content type based on the source file extension binary/octet-stream No
fileNameOnly Boolean Whether filenames should contain paths when uploaded to a bucket false No