Giter Site home page Giter Site logo

as3awss3lib's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

as3awss3lib's Issues

I/O Error 2038

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

AWS authentication requires a valid Date or x-amz-date header

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

Content-Type header needed?

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

cache

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

Not an issue, a 'code donation'

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:

Build Problem shouldCacheResponse property no longer exist in URLRequest

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

Amazon S3 service with Security Token Service

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

Inconsistant linkage in airglobal.swc(Stage) - 'flash.display:Stage' is marked as extern, but 'flash.display:FocusDirection' is not.

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

How may I branch/contribute code ?

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

Doesn't work in AS3 only AIR...or did I miss something

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

ACL settings

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

getTemporaryObjectURL method is returning the incorrect url as Amazon has changed their URL format

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

Cannot check out svn repository

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

listObjects ignores prefix and maxKeys

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.