Questions tagged [uppy]

A full-featured file uploader for webbrowsers that supports tus

Sleek, modular open source JavaScript file uploader.

Uppy fetches files locally and from remote places like Dropbox or Instagram. With its seamless integration, reliability and ease of use, Uppy is truly your best friend in file uploading.

95 questions
0
votes
0 answers

File uploading directly from client to backlaze bucket using Uppy Js

I tried three different methods to get checksum of a same file. 1- using crypto-js (with CryptoJS.SHA1(event.target.result)) 2- using sha1.min.js (with sha1(event.target.result) 3- using crypto (with crypto.subtle.digest('SHA-1', fileUint8)) Each…
0
votes
0 answers

Uppy/Shrine: How to retrieve presigned url for video after successful upload (using AWS S3)

I'm using Uppy for file uploads in React, with a Rails API using Shrine. I'm trying to show a preview for an uploaded video before submitting a form. It's important to emphasize that this is specifically for a video upload, not an image. So the…
Doug
  • 1,517
  • 3
  • 18
  • 40
0
votes
0 answers

uppy-plugin-image-compressor options not being used

I am trying to use the following image compression plug in for uppy: https://github.com/arturi/uppy-plugin-image-compressor Uppy({ restrictions: { maxFileSize: 10000000, maxNumberOfFiles: 1, allowedFileTypes: […
Horrerblade
  • 103
  • 3
  • 14
0
votes
1 answer

Cannot upload file on Apache server

I am trying to upload a file using uppy. On my server I am using php 8.0 and Apache 2. I am uploading a file which is about 156Mb in size but server returns response with 413 status code and no message. As per instruction given on all over internet…
fahad shaikh
  • 593
  • 1
  • 14
  • 29
0
votes
0 answers

How to determine S3 endpoint in tus upload

this.tusServer.datastore = new tus.S3Store({ path: '/s3-store', namingFunction: this.fileNameFromRequest, bucket: storageConfig.bucket, accessKeyId:…
rezasafaei
  • 23
  • 1
  • 6
0
votes
1 answer

How to resolve application/octet-stream in S3 using TUS node, Tusd, Uppy or .NET,

This is an explanation of a problem, I encountered while uploading files to S3 using tus-node-server or Tusd. The problem, is I have a server running tus server and takes requests from react and react native clients. The file gets uploaded…
Ahmad Khudeish
  • 1,017
  • 13
  • 15
0
votes
0 answers

Uppy js is showing success, but the file is not actually uploaded to directory

I am using Laravel 9 with Uppy. I have an issue that when the upload is successful, the file isn’t actually stored in the destination: I have a global file upload action that runs across the entire application: class UploadImageAction implements…
Abdulrahman Mushref
  • 1,012
  • 2
  • 18
  • 40
0
votes
0 answers

How to Bind Html Form attribute to Uppy?

I'm trying to get the ImageUrl attribute from Uppy but can't bind it to input asp-for="ImageUrl" type="file" name="file" class="form-control" id="ImageUrl". When I click on create button,my ImageUrl shows up null in controller method even though I…
user17847724
0
votes
0 answers

Uppy ReactJs - handle access to microphone/webcam in iframe

First post after decades as a frequent visits, thanks all for the help throughout the years! Im building a solution that will require webcam/microphone access. The solution will be running in an iframe in another system. We cant controll the…
0
votes
1 answer

Uppy and OneDrive integration

When I try to use the OneDrive plugin for Uppy I get error: AADSTS900144: The request body must contain the following parameter: 'client_id'. But when I do a request like this: GET…
Tony
  • 618
  • 12
  • 27
0
votes
1 answer

How to use disconnect() to close a Uppy JS instance – Stimulus

When I click the "back button", my Uppy form is briefly loaded twice. How can I get Stimulus to close the previous Uppy instance when I leave the page? Following the Uppy Docs, I'm hoping something like this (code below) but I get the error: uppy is…
Kobius
  • 674
  • 7
  • 28
0
votes
1 answer

how to test error files in uppy uploader?

I tried to check an error uploading to aws3. The only manipulation I success to check is after I dropped the files, to change the name of one of them.There are another options to check uploading error files?
0
votes
1 answer

Javascript async-mutex does not seem to lock properly

I am using [async-mutex](https://github.com/DirtyHairy/async-mutex because there is a race condition in my code from concurrent requests returning. And upon all of the concurrent requests resolving, they each need to add something from the response…
notacorn
  • 3,526
  • 4
  • 30
  • 60
0
votes
0 answers

How you would go about rendering a component inside an existing DOM node (that could change over time)?

Ok, this question sounds weird, but hear me out: I am ussing @uppy/react, and it offers some buttons to trigger cloud file provider uploads (Google Drive, DropBox, etc) I can get those buttons with document.querySelector. I want to render a custom …
0
votes
1 answer

Using async function Promise return value in Uppy initialization

I am trying to attach a JWT token from AWS Cognito to Uppy requests in my upload component. To get the token, I believe I need an async function: async function getSessionToken() { const data = (await…
Victor M
  • 603
  • 4
  • 22