flowupload icon indicating copy to clipboard operation
flowupload copied to clipboard

Setting to star all destination directories automatically

Open sunjam opened this issue 5 years ago • 5 comments

Steps to reproduce

  1. Set Destinations
  2. Begin uploading
  3. Refresh the page or move to a different app

Expected behaviour

Session would remain persistent and directory destinations would remain in the app once defined

Actual behaviour

All configuration is lost completely when refreshing the app

NextcloudPi 20.0.0 on Firefox 81 (64-bit)

Thanks for considering!

sunjam avatar Oct 10 '20 17:10 sunjam

The persistent directories would be quite easy. But persistent uploads would be hard or maybe impossible, because as far as i know the browser will no longer give the site permission to read the files after a refresh. You can only get the file permission when the user picks one (which is handled by the browser) and i don't think you can store that file "permission" for another session.

JonathanTreffler avatar Oct 10 '20 20:10 JonathanTreffler

Another problem might be multiple tabs of flowupload.

For now you can star directories and they will persist a refresh.

JonathanTreffler avatar Oct 10 '20 20:10 JonathanTreffler

Would you please star all added directories automatically. It makes more sense to remove them then click (...) menu and then add star. Anytime I use flowupload, it is because I have a lot of things to move around so it isn't usually a "one and done" with the destination directory.

Thank you for considering.

sunjam avatar Oct 16 '20 03:10 sunjam

We could add a option for this at some point, but i don't think it should be the default.

JonathanTreffler avatar Oct 17 '20 22:10 JonathanTreffler

I mean... it is the primary reason to use flowupload, no. Moving data to X directory over and over, as opposed to regular upload link.

sunjam avatar Oct 17 '20 22:10 sunjam