noblesamurai / as3awss3lib Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/as3awss3lib
Automatically exported from code.google.com/p/as3awss3lib
What steps will reproduce the problem?
1. Use awss3lib with a valid S3 account
2. use the s3.saveObject() method
3. The response is that a network error ( onIOError )fires
What is the expected output? What do you see instead?
Should expect that the onObjectSaved event fires
What version of the product are you using? On what operating system?
FlexBuilder 3, M4 B3 with rev 6 of awss3lib
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 20 Dec 2007 at 8:12
What steps will reproduce the problem?
1. run the listBuckets() cmd
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Flex Hero, OSX
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 9 Nov 2010 at 11:01
I was trying to get Salsa running from my Flex Builder 3. It wouldn't
authenticate. I found that if I added a Content-Type: text/plain it worked
fine. I noticed that the S3 docs says its a required header. I just
guessed that text/plain would be OK. I think I've got the latest code
checked out from svn.
Original issue reported on code.google.com by [email protected]
on 22 Jun 2007 at 3:53
any way to get object and ignore cache? keep getting old version of file
Original issue reported on code.google.com by [email protected]
on 13 Sep 2011 at 2:30
Hi folks,
I just wanted to let you know I used this library recently for my Zarqon
Active License Control System product.
The library was tremendously helpful at getting good stuff happening with
S3 in short order. Thanks so much for putting it out there for us!
Along the way, I had to make a few additions / modifications. I'm attaching
a .zip archive of the modified project as I'm using it at the moment. Feel
free to fold these back into the project if you like.
Cheers,
-=Cliff>
List of changes made:
AWSS3Event:
Added a field to track when the bucket is truncated:
// Set for LIST_BUCKETS type
public var isTruncated:Boolean = false;
AWSS3:
* Modified listBuckets method to return AWSS3Event.ERROR instead of an
empty AWSS3Event.LIST_BUCKETS if the S3 credentials are invalid.
* Modified listObjects method to return AWSS3Event.ERROR instead of an
empty AWSS3Event.LIST_OBJECTS if the bucket doesn't exist.
* Modified listObjects method to set the new isTruncated flag on AWSS3Event
if the object list is truncated. (this lets you iterate until you get an
exhaustive list)
* Modified getObject method to return AWSS3Event.ERROR instead of an empty
AWSS3Event.OBJECT_RETRIEVED if the object doesn't exist.
* For handling Canned Access Policies, Added these constants:
// Access Policy: Private - Owner gets FULL_CONTROL.
public static const AP_PRIVATE:String = "private";
// Access Policy: Owner gets FULL_CONTROL and the anonymous principal is
granted READ access.
public static const AP_PUBLIC_READ:String = "public-read";
// Access Policy: Owner gets FULL_CONTROL, the anonymous principal is
granted READ and WRITE access.
public static const AP_PUBLIC_READ_WRTIE:String = "public-read-write";
// Access Policy: Owner gets FULL_CONTROL, and any principal authenticated
as a registered Amazon S3 user is granted READ access.
public static const AP_AUTHENTICATED_READ:String = "authenticated-read";
* And modified methods to optionally accept these policies and, if present
write them with the x-amz-acl header, and include that in the signature.
public function createNewBucket(bucketName:String,
accessPolicy:String=null):void
public function saveObject(bucketName:String, objectName:String,
contentType:String, objectFile:File, accessPolicy:String=null):void
private function getURLRequest(method:String, resource:String,
contentType:String = null, hash:String = null, secure:Boolean = true,
accessPolicy:String=null):URLRequest
private function getAuthenticationHeader(verb:String, dateString:String,
resource:String, contentType:String = null, hash:String = null,
accessPolicy:String=null):String
private function getAuthenticationString(verb:String, dateString:String,
resource:String, contentType:String = null, hash:String = null,
accessPolicy:String=null):String
Original issue reported on code.google.com by [email protected]
on 26 Mar 2010 at 7:11
Attachments:
What steps will reproduce the problem?
1. Check out awss3lib
2. Add it to your project
3. Build
What is the expected output? What do you see instead?
Should have no warnings or error but now we get
req.shouldCacheResponse property does not exist.
What version of the product are you using? On what operating system?
Using FlexBuilder 3 M4, Beta 3
Please provide any additional information below.
Do we still need the property?
Original issue reported on code.google.com by [email protected]
on 20 Dec 2007 at 8:07
What steps will reproduce the problem?
1. Can't connect with Temporary Credentials when STS povide
temporaryCredentials (accessKey, secretKey, sessionToken)
Please provide any additional information below.
We need to add sessionToken and modify URL to connect to S3 with
TemporaryCredentials
Ubik-ingenierie
http://www.ubik-ingenierie.com/
Original issue reported on code.google.com by [email protected]
on 23 Jan 2013 at 5:19
I get this error when calling AWSS3.new:
1046: Type was not found or was not a compile-time constant: File.
The file/line referenced is AWSS3.as:216
Any ideas what I may be doing wrong?
Original issue reported on code.google.com by [email protected]
on 30 Jan 2008 at 9:12
What steps will reproduce the problem?
1. Create Flex Library Project out of source downloaded from Google Code
2. Reference latest version of as3corelib from source (latest as of 5/20/08)
3. Reference latest version of as3crypto compiled from source
4. Reference Flex 3 SDK folder
5. Reference Flex Air folder
What is the expected output? What do you see instead?
I should be able to build the project, but I am getting the following error
message
Inconsistant linkage in C:\Program Files\Adobe\Flex Builder
3\sdks\3.0.0\frameworks\libs\air\airglobal.swc(Stage) -
'flash.display:Stage' is marked as extern, but
'flash.display:FocusDirection' is not.
What version of the product are you using? On what operating system?
Flex Builder 3.0 (build 3.0.194161) on XP SP2
Please provide any additional information below.
This happens as soon as I add the reference to the airglobal.swc file, as
you would expect. I have other projects that use airglobal.swc without a
problem.
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 12:15
What steps will reproduce the problem?
i want to use this lib with Flex 4.5.
to do this i am doing some changes, which i think may benefit others.
Original issue reported on code.google.com by [email protected]
on 11 Oct 2011 at 3:54
What steps will reproduce the problem?
1. import into an AS3 project
2. set keys
3. call list buckets
What is the expected output? What do you see instead?
Expected to get a list of buckets associated with the S3 account. Instead,
got: Error #2096: The HTTP request header Date cannot be set via
ActionScript.
What version of the product are you using? On what operating system?
Latest SVN, using Flash Builder 4, on Win 7
Please provide any additional information below.
If this is an AIR S3 library, then it should be listed as such, and not as
AS3.
Original issue reported on code.google.com by [email protected]
on 14 Apr 2010 at 11:24
I know its not an issue, but a feature request.
i need to set the acl to an uploaded object, but i dont know how to do
this. if anyone can help me, please contact me at markus [at] qoove DOT com
thanks
Original issue reported on code.google.com by [email protected]
on 24 Oct 2007 at 8:56
I can't see where to download this library. I can download the dependent
stuff, just not as3awss3lib.
Original issue reported on code.google.com by [email protected]
on 18 Jul 2007 at 11:10
What steps will reproduce the problem?
1. create a new S3 object and upload it
2. call the getTemporaryObjectURL method
3. copy and paste the returned usl into a browser
What is the expected output? What do you see instead?
- That you would see the object you uploaded.
- An authentication error
What version of the product are you using? On what operating system?
the latest, checked out on Friday of last week.
Please provide any additional information below.
Amazon has changed their signed URL formatting for objects.
change line 279 in AWSS3 to read:
url += "://" + escape(bucketName) + "." + AMAZON_ENDPOINT + "." +
escape(objectName) + "?
AWSAccessKeyId="+this.accessKey+"&Expires="+s+"&Signature="+authString;
Original issue reported on code.google.com by [email protected]
on 31 Jul 2009 at 4:23
When trying to checkout the code via svn, I get a "URL doesn't exist" error:
$> svn checkout
http://as3awss3lib.googlecode.com/svn/trunk/as3awss3lib-read-only
svn: URL
'http://as3awss3lib.googlecode.com/svn/trunk/as3awss3lib-read-only' doesn't
exist
Was the URL moved or is there some other problem?
Original issue reported on code.google.com by [email protected]
on 7 Aug 2009 at 12:28
current implementation (rev 10) of AWSS3>>listObjects does not take into
account the prefix,marker or maxKeys. Moreover, the signature should also
have a delimiter parameter.
S3 Docs:
GET ?prefix=prefix;marker=marker;max-keys=max-keys;delimiter=delimiter
I am working on a patch for this and will attach it soon.
Original issue reported on code.google.com by [email protected]
on 24 Jun 2009 at 9:23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.