olg / objc-s3 Goto Github PK
View Code? Open in Web Editor NEWS3 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
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
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.
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 ?
SignatureDoesNotMatch
The 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
I think we should investigate whether changes are required to accommodate Amazon's plan to change how S3 paths work for newly created buckets.
Blog post about the announcement at https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/
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.