Coder Social home page Coder Social logo

olg / objc-s3 Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 3.0 1.59 MB

S3 Browser is a Mac OS X GUI browser for the Amazon S3 storage service.

Home Page: http://people.no-distance.net/ol/software/s3/

License: BSD 3-Clause "New" or "Revised" License

Shell 1.43% Perl 5.81% Objective-C 92.76%

objc-s3's People

Contributors

gpoul avatar mledford avatar olg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

objc-s3's Issues

Mass Download use Key as filename

I've just downloaded S3 Browser - really nice bit of software. One suggestion I have though - for mass downloads (I just downloaded 396 files this way), instead of downloading them 1 by 1 and asking the filename, ask once which folder to save to, and save the file using the key of the object in the S3 bucket.

Problem with S3DownloadObjectOperation (signature incorrect).

I'm using objc-s3 because this is the only code for OSX/Objective C that handle Amazon S3.
The code works fine for uploading, but not downloading.
Using

  • (BOOL) downloadFromBucket:(NSString_)theBucket key:(NSString_)key saveTo:(NSString*)path
    {

    S3Bucket *bucket = [[S3Bucket alloc] initWithName: theBucket];
    S3Object *objectToDownload = [[S3Object alloc] initWithBucket:bucket
    key:key
    userDefinedMetadata:nil
    metadata:nil
    dataSourceInfo:nil];

    S3DownloadObjectOperation* op = [[S3DownloadObjectOperation alloc]
    initWithConnectionInfo:[self connectionInfo]
    object: objectToDownload
    saveTo:path
    ];

    [_queue addToCurrentOperations:op];
    [op release];
    return TRUE;

}

This is generating an error. It seems that the code is not generating the correct signature. Can you fix the problem ?

SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.47 45 54 0a 0a 0a 46 72 69 2c 20 33 30 20 53 65 70 20 32 30 31 ?? 20 30 32 ?? 33 39 3a 32 31 20 2b ?? 30 30 30 0a 2f 67 6c 76 69 65 77 2f 65 78 74 65 6e 73 69 6f 6e 73 2e 7a 69 709E7EC5195AED6873BENzToJUiC9Keunx1NYSCSJMG9fHTqx/CyRdeJ/rScvr+VrSh99y8u+jqTTThdNZ???????????????????GET

Fri, 30 Sep 2011 02:39:21 +0000
/glview/extensions.zip???????????????????

PS: I've obfucated some bits

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.