uploadFile
S3Output uploadFile(String site,
String profileId,
String filename,
InputStream content)
throws AwsException,
org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
Deprecated.
Requests the file upload using the specified S3Profile
.
- Parameters:
site
- the site
profileId
- the id of the S3Profile
to use.
filename
- the name of the file to upload
content
- the file itself
- Returns:
- metadata of an AWS S3 upload
- Throws:
AwsException
- if an error occurs
org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
- if the profile is not found