Comments (5)
@luckyvs1 no worries, that is definitely ok :D hope to enable server side uploads and functions again soon (for the very late christmas update lol)
from s3.
Also @luckyvs1 you can use 3 ticks to format your code ^_^
from s3.
@Lepozepo, can you confirm if this is a valid solution I have tested it and it works, but want to know if there are any known issues, as I read the server side upload had some errors (re: your comments in #148).
In place of S3.delete, on the server side I would use the S3.knox.deleteFile, so the code is the following:
S3.knox.deleteFile(
relative_path,
function(err,response) {
if(response) {
console.log('Success, file has been deleted');
} else {
console.log('Unable to delete, please try again later');
}
}
);
I can't seem to markdown the code with my formatting intact, so apologies for the poorly formatted code.
from s3.
is there any update on server side upload?
from s3.
@harvinder34 I've been super disconnected from the Meteor
community lately, I'll see if I can fit some time into upgrading some of these super old meteor packages next week with some of the new work I have on npm
. If you really need server side uploads immediately, you might find it easier to use the aws-sdk
package from AWS directly. Just do an npm i aws-sdk
in your project and follow AWS's documentation for uploading server files.
from s3.
Related Issues (20)
- Upload success but file not found HOT 1
- How to enable AES256 encryption for all the files uploaded ?? HOT 1
- AES 256 encryption
- File type restriction
- how to get version Id of an object??
- Unable to upload saved file
- Server Side Upload HOT 5
- React Examples in Docs HOT 3
- Unable to upload files HOT 1
- s3.upload hangs no results or errors HOT 9
- S3 URL Format Issue HOT 1
- Some files failed to upload getting "Bad Request Error" HOT 4
- S3.delete(path,callback) returns true, doesn't delete from s3 HOT 1
- Question Lepozepo:S3 Multiple File Upload HOT 1
- S3 does not work on 1.6.1 due to Meteor.uuid being depreciated.
- [Question] How does the S3 package share the credentials between client and server? HOT 2
- Add support for GovCloud region HOT 3
- ReferenceError: _ is notdefined HOT 1
- lepozepo s3 Cannot read property 'upload' of undefined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3.