Questions tagged [meteor-slingshot]

A lightweight file upload package to cloud storage services for meteor

53 questions
49
votes
7 answers

Allow Public Read access on a GCS bucket?

I am trying to allow anonymous (or just from my applications domain) read access for files in my bucket. When trying to read the files I get ``` AccessDenied Access denied.
8
votes
1 answer

Error using Meteor's Slingshot package with Google Cloud from localhost

I'm trying to set up a little upload section on my website for user to upload a profile image. I'm using Slingshot with Google Cloud and testing this from localhost, but I get these errors: OPTIONS https://mybucket.storage.googleapis.com/…
Mabeh Al-Zuq Yadeek
  • 46
  • 4
  • 16
  • 28
6
votes
1 answer

Meteor autoform, async callback in before hook

I am using Autoform and Slingshot for my S3 interaction. When the user submits the form, i want to intercept the process, upload the file to S3 through Slingshot, extend the doc object with the returned downloadUrl and then at that point, return the…
Tarlen
  • 3,657
  • 8
  • 30
  • 54
4
votes
0 answers

File uploads to s3 using Meteor Slingshot stopped working with error 403

I have been using meteor-slingshot to upload files to amazon S3 for some time. All of a sudden none of my upload functions seems to work. I am getting the following error when I try to upload files. Error uploading errorClass {error: "Forbidden -…
Sanath Kumar
  • 237
  • 1
  • 12
3
votes
3 answers

resize and save files to s3 in meteor

Is there any best way to resize and save files to s3 in meteor. I though about using cfs packages, but they put too much load on server. To directly upload images to the s3 I'm using slingshot which is very fine. but slingshot takes only file…
user555
  • 1,489
  • 2
  • 15
  • 28
2
votes
0 answers

Meteor-slingshot s3 to non-cors compatible server

Im trying to use meteor-slingshot to connect to a s3 protocol nodechef object server with that does not support cors configurations, and does not use regions, just bucket + endpoint + filename and im receiving: Access to XMLHttpRequest at [server]…
polar
  • 524
  • 5
  • 24
2
votes
0 answers

Slingshot: how to upload from a URL?

I want to upload a file from a URL to S3 using meteor-slingshot. The docs are clear how to upload from a , but how to get it from a URL? It would look something like this (but obviously this doesn't work): var uploader = new…
Alveoli
  • 1,202
  • 17
  • 29
2
votes
1 answer

Declaring slingshot on the server causes app to crash

On the client I have: 'change #banner_input': function(){ event.preventDefault(); var uploader = new Slingshot.Upload("myFileUploads"); Slingshot.fileRestrictions("myFileUploads", { allowedFileTypes: ["image/png", "image/jpeg",…
Avi A
  • 323
  • 4
  • 10
2
votes
0 answers

Upload video with edge slingshot meteor

I try to upload a video on my s3 bucket with edge:slingshot package, It's work fine with image file but with video file I have this error : "Error: Failed to upload file to cloud storage [ - 0] trace :…
2
votes
2 answers

Handling multiple uploaded files 'synchroneously'

I am writing an upload plugin for a WYSIWYG editor that I use in a Meteor app (Meteor 1.2.1). I use Slingshot for uploading files to Amazon S3. My plugin inserts a link in the editor towards the uploaded file once the file is uploaded. Nothing fancy…
2
votes
0 answers

Uploading to Google Drive using meteor meteor-slingshot

Trying to implement Slingshot for Google Drive. (Using a service account for storing application specific files). In this scenario, there is no way to know the download url until the upload is complete. It is a difficulty while implementing the…
1
vote
0 answers

Progress for Slingshot is NaN or 1 (Meteor + React)

Im using Meteor, Slingshot and React. Slingshot's image upload to Amazon is working but I cant get the progress indication to work. When I console.log(upload.progress()) the log returns NaN until the upload is complete, at which point it returns 1.…
Evanss
  • 23,390
  • 94
  • 282
  • 505
1
vote
1 answer

How To Modifying The Filename Before Uploading When Using Meteor Edgee:SlingShot Package

Please i am trying to modify the filename of a selected file posted by a user before uploading to Amazon S3 using the edgee:slinghot package. I can upload the file quite alright but the problem is how do i modify the filename. I modified it on the…
James Oshomah
  • 224
  • 2
  • 12
1
vote
2 answers

Angular2 view not updated after callback function

I'm using Meteor-Angular2 and slingshot package for uploading images to S3 storage. when returning from the function and assign to binded string, view not updated. (setTimout function is working and updating view, but uploader function not) export…
roish
  • 49
  • 1
  • 8
1
vote
0 answers

meteor-slingshot/S3: How HTTP requests work between slingshot and S3

I'm a beginner developer trying to understand how some 'backend' processes work when uploading files from a web app. I'm using edgee:slingshot in a meteor project to upload images to Amazon S3. My understanding is that a file upload from slingshot…
Thomas Chia
  • 79
  • 1
  • 7
1
2 3 4