Below codes can get 1 single file from AWS 3 but, what about a folder?
var _key:int=Account.lessons[dl_i].id;
var dest:String = Conf.Dir+_key;
var request:GetObjectRequest = new
GetObjectRequest().WithBucketName(Conf.bucketName).WithKey(_key+"");
var response:GetObjectResponse = client.GetObject(request);
response.WriteResponseStreamToFile(dest);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…