It me!
Via npx:
npx chilts
Forked https://github.com/bnb/bitandbang and changed.
MIT.
(deprecated: use aws-sdk) NodeJS module to for talking to Amazon S3.
License: Other
It me!
Via npx:
npx chilts
Forked https://github.com/bnb/bitandbang and changed.
MIT.
When i tried s3 upload, i am getting RequestTimeout
error. I have been using the exact code in the README file.
Code: 'RequestTimeout',
Message: 'Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.',
Hello, is it possible to forcefully close readable stream from GetObject
method
without getting all the data from it?
If the stream not drained it won't get closed automatically by itself, is it possible to somehow close it forcefully?
s3.GetObject(options, { stream : true }, function(err, data) {
if(somethingBadHappanedInMyApplicationAndIDontWantToReadDataAnymore){
data.Stream.closeForcefully()
}
});
Since you requested I make a ticket here, here it is. I actually need this functionality now, so I went ahead and added this to the existing s3-config.js
, but I have yet to test it. If you notice any bugs, please let me know.
// Post Object Restore
PostObjectRestore : {
url : 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPOSTrestore.html',
// request
method : 'POST',
host : hostBucket,
path : pathObject,
defaults : {
restore : undefined,
},
args : {
BucketName : {
required : true,
type : 'special',
},
restore : {
required : true,
type : 'resource',
},
Body : {
required : true,
type : 'body',
},
},
addExtras : extrasContentMd5,
// response
extractBody : 'none',
},
Hi,
I'm keeping receiving this error. First time that I receive this error because I use this plugin 2 weeks ago.
{ StatusCode: 301,
Headers:
{ 'x-amz-request-id': 'B06E11977F7586C3',
'x-amz-id-2': 'oUewJMOl3Yy0efzCJJDk7re5iRvmQzBZOG1vVXGDcPrwP5HO8SMU29zl38QYU8Fx',
'content-type': 'application/xml',
'transfer-encoding': 'chunked',
date: 'Tue, 02 Jul 2013 14:14:24 GMT',
connection: 'close',
server: 'AmazonS3' },
Body:
{ Error:
{ Code: 'PermanentRedirect',
Message: 'The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.',
RequestId: 'B06E11977F7586C3',
Bucket: 'statement',
HostId: 'oUewJMOl3Yy0efzCJJDk7re5iRvmQzBZOG1vVXGDcPrwP5HO8SMU29zl38QYU8Fx',
Endpoint: 's3.amazonaws.com' } } }
Any idea ?
Thank you.
AWS allows capital letters in bucket names in the US east region. Some apps work successfully with them, but awssum-amazon-s3 doesn't.
A capital letter in the name results in a SignatureDoesNotMatch error.
PutObject-02-StreamingUpload.js example is not working. Looks like we are overriding the options.body in line 630 with undefined, if body is provided in args.
I just tried to get a non existing object from S3 with stream option set to true. The error callback was activated but never finished.
To reproduce the problem, you can use the streaming example provided here.
Currently you cannot use the 'MetaData' property on a 'CopyObject' command. This function should be available as it allows users to add/update metadata on a file.
ie:
s3.CopyObject({
BucketName: 'bucket', ObjectName:'sample',
SourceBucket: 'bucket', SourceObject:'sample',
MetadataDirective: 'REPLACE',
MetaData: { 'working': 'yes' }
})
This can be facilitated simply by:
diff -rupN awssum-amazon-s3/config.js my-awssum-amazon-s3/config.js
--- awssum-amazon-s3/config.js Fri Nov 15 23:20:56 2013
+++ my-awssum-amazon-s3/config.js Fri Nov 15 22:46:53 2013
@@ -1839,8 +1839,12 @@ module.exports = {
type : 'header',
note : 'A comma-separated list of one or more grantees (of the format type=value). Type must be emailAddress, id or url.',
},
+ MetaData : {
+ required : false,
+ type : 'special',
+ },
},
- addExtras : extrasCopySource,
+ addExtras : [extrasCopySource, headersMetaDataHeaders]
},
InitiateMultipartUpload : {
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.