bytescale / bytescale-upload-widget-react

Beautiful File Upload Component | Developed for React by Bytescale
https://www.bytescale.com/docs/upload-widget/react
MIT License
69 stars 1 forks source link

Is it possible to merely read files without actually uploading them to the cloud? #15

Open cade-bryant-swbc opened 9 months ago

cade-bryant-swbc commented 9 months ago

By default, the widget connects to a cloud provider (e.g. Bytescale) and uploads/saves the files there.

In my use case, however, I don't need to actually save the files. I just need to read their textual data. (The files I am working with are text and/or JSON files, not images. My workflow is basically (1) Read the raw text of files from the filesystem; (2) do something with that raw text.)

Is there a way to do this? Can I force the widget to not call the cloud storage provider?

ljwagerfield commented 9 months ago

At present, the Upload Widget always saves files at the point of user selection.

We're looking to change this in the future, such that the developer has the option to choose if/when the files are uploaded, although I can't provide an ETA on this.

I hope that helps!

PatrykKuniczak commented 1 month ago

@ljwagerfield I want it also, why this feature isn't implemented yet?

This is amazing component and this cloud integration is also very good solution, for serverless apps, but i want to store data on my database, let's do it in the near future, for dev purposes i will be using this overall, but i hope, you can implement this feature this year 😄