question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filesystem improvements

See original GitHub issue
  • The FileWriteOptions directory property needs to accept string concatenations like FilesystemDirectory.ExternalStorage + '/downlad', not only types defined in Enum.

  • Will be useful If the The FileWriteOptions directory accepts Blob type not only strings.

  • When you write a file, if it already exists, it will be overwritten? Is there any parameter for this?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:37
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

44reactions
viallycommented, Nov 18, 2018

👍 Using Blobs for file read/writes would be really useful.

17reactions
digauscommented, Mar 13, 2020

If anyone still needs this, I implemented a solution myself which works with current cap version. Here is a sample app:

https://github.com/digaus/CapacitorSaveBlob

Tested myself in browser, android and on iOS.

Maybe @jcesarmobile or someone else is willing to integrate this into the current filesystem plugin (maybe add a new encoding type blob) if this solution is up to their standard 😄

Edit: with this PR it will also work for electron -> https://github.com/ionic-team/capacitor/pull/2567

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linux kernel 6.2 promises multiple filesystem improvements
The forthcoming Linux kernel 6.2 should see improved filesystem handling, including performance gains for SD cards and USB keys, ...
Read more >
2.6. Storage and File System Improvements
For more comprehensive coverage of performance improvements relating to storage and file systems, refer to Chapter 7, File Systems.
Read more >
Kernel 6.2 Promises Multiple Filesystem Improvements
The forthcoming Linux kernel 6.2 should see improved filesystem handling, including performance gains for SD cards and USB keys, ...
Read more >
Enhancements to the Fast Filesystem To Support Multi ...
Enhancements to the Fast Filesystem To Support Multi-Terabyte. Storage Systems. Marshall Kirk McKusick. Author and Consultant. Abstract.
Read more >
Improvements in performance in very large file systems - IBM
The following actions can improve performance: Put the system pool on the fastest storage available, which can be either solid-state storage or hard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found