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:G
There is no such stuff as folders in Amazon S3. It is a "flat" file system. The closer you can get to folders is adding prefixes like foo/bar/filename.txt
to your file names.
Even though several S3 tools will show you stuff as if they were contained inside folders, this concept does not exist on S3.
Please see this related thread: Amazon s3 Folders Problem