top | item 47187610

(no title)

dylan604 | 2 days ago

so you can upload (er, provide access to) an image of a PCB you are looking to trace

Edit: I should have used a different word than upload. It's just old habit. According to TFA, there is no uploading. All processing is done in the browser, so the app needs local file system access to get at your image

discuss

order

joemi|1 day ago

There are other ways for webpages to get file uploads than this particular JS API. I upload files via firefox every single business day as part of my job.

dylan604|1 day ago

This JS feature doesn't upload the file to a server. This particular app says right there on the page that it does the magic in the browser.

You appear to be misunderstanding on how browsers handle file uploads. You cannot get the local file path for a file. There is no C:\ or /Volumes or whatever your OS uses. Browsers deliberately mask that from the upload.

fc417fc802|1 day ago

But I can drag and drop (or use the file picker) just fine on other websites.

dylan604|1 day ago

To do what with? Upload? That's totally not the same thing as providing access for directly manipulating the file. That's basically HTML1.0 type stuff. JS file system access to provide a file to, I'm assuming, a WASM app is not even the same sport to be in the same ballpark.