Impressive .. I hope u continue JavaScript tutorial and about indexed-database and broadcast- channel .. all about system files and streams this is basics of advanced JavaScript thanks for u
What about the file's path? I tested this API with an image file, but I can't get the reference to the path for the selected image file. I can console.log fileData and I am able to see a "path" property, but it's always blank.
Not selecting a directory is a feature rather than a bug of showOpenFilePicker() vs a forthcoming showOpenDirectoryPicker()? The mozilla documentation doesn't seem to address this currently.
While downloading files, can we able to save the directory path during first time and for second time can we directly point download to existing directory path without selecting paths for second time
That's a good question. I've tried looking this up and the best solution I could find is to store the fileHandle in localStorage which can then be retrieved after page reload. Note that another permission prompt may appear. stackoverflow.com/questions/64856292/persist-file-descriptor-across-page-reload-in-chrome-with-filesystemfilehandle
The function returns an array, and the file handle is the first element of the array. I used special JavaScript syntax called "array destructuring" to get the first element from the array.
Okay, that was pretty damn cool when you started coding in browser to get a function you needed for the next step. Really smart demonstration
I just caught on to that. So cool :)
Man, this is a dream. A solution for local apps. Thanks dude.
Fantastic vid. Short and sweet. Have been wondering how to work with files and JS for some time. Thank you!
OK, a video that explains file system API cant be better than this.
Wow! you just nonchalantly created a turing complete text editor in a 4 minute video.
Thanks so much!
Hahahah
My mind has just exploded and you just gained 1 sub.
Amazing and so simplified. Thank you!!!!
Impressive ..
I hope u continue JavaScript tutorial
and about indexed-database and broadcast- channel .. all about system files and streams
this is basics of advanced JavaScript
thanks for u
I left JavaScript 22 years; and i didn’t know will be popular.
I will start learning web development next year 😊
This video is really helpful! Thank you :)
I like you your added a gratuitous shit on python at the end. Keep that up
I couldn't help but notice that you inserted a tab in a textbox at 2:58
How did you do that? Usually, tab just cycles to the next element on the page
I copied a tab character from my text editor and used ctrl+v every time I wanted to indent 😁
Who is this guy .. this is awesome😅🎉 thanks man
Also compared to your other videos this one is pretty quiet so just a heads up
What about the file's path? I tested this API with an image file, but I can't get the reference to the path for the selected image file. I can console.log fileData and I am able to see a "path" property, but it's always blank.
Amazing!!! Thanks , I was wondering if I can upload and read couple of files? Thanks
Thanks this was Helpful
Show some binary manipulation over files as well if possible
Plz, try to make this kind of videos for javascript.
Very helpful. Thanks
This is awesome for desktop apps but what about mobile ones 😢😢😢😢
Not selecting a directory is a feature rather than a bug of showOpenFilePicker() vs a forthcoming showOpenDirectoryPicker()? The mozilla documentation doesn't seem to address this currently.
Probably, yes
Very nice
Great video!
Thanks!
While downloading files, can we able to save the directory path during first time and for second time can we directly point download to existing directory path without selecting paths for second time
That's a good question. I've tried looking this up and the best solution I could find is to store the fileHandle in localStorage which can then be retrieved after page reload. Note that another permission prompt may appear. stackoverflow.com/questions/64856292/persist-file-descriptor-across-page-reload-in-chrome-with-filesystemfilehandle
Is it possible to open file without propting new oprn file window?
when I click save it says
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'createWritable')
how to fix it?
If only this had full cross browser support.
Thank you so much!!!
how to get the file and folder list in sidebar
Bro Make the Video series for Assembly Language Please. Thanks 😘
th-cam.com/users/WhatsACreel
For save every time prompt was showing how to solve that
Is it possible for us to have access to the file in the next session without the user being prompted to select the files again?
Unfortunately I don't think this is currently possible.
why there is square bracket in file handle please someone can u explain in detail
The function returns an array, and the file handle is the first element of the array. I used special JavaScript syntax called "array destructuring" to get the first element from the array.
Q: how to get directory path in javascript? thanks
Can't wait for and IDE i don't have to install
UNIQUE
what are the limits to this?
Does this work in Android chrome?
the save function dont work :(
Hi but for me it makes a txt.crswap file
best men
the innerText won't load for me everything works but that
Did you create an element with id="textarea"?
You may also want to try `let textarea = document.querySelector("#textarea");` on the previous line.
Can I use the api in asp.net? How?
inception bro....
I feel dumber than before
like
this tutorial is great, but a lot of browsers don't support this API
I'd like to request a Python video, as it is a better language than javascript :)
It's not better haha. It's slower and use more energy.
Thank you so much!