private StoreFiles ( string files, string bucketName, string destinationFolder, bool publicRead ) : void | ||
files | string | |
bucketName | string | |
destinationFolder | string | |
publicRead | bool | |
return | void |
private void StoreFiles(string[] files, string bucketName, string destinationFolder, bool publicRead)
{
foreach (string file in files)
{
// Use the filename as the key (aws filename).
string key = Path.GetFileName(file);
StoreFile(file, destinationFolder + key, bucketName, publicRead);
}
}