Project

General

Profile

Can we access local files on client side?

Added by twid twid over 10 years ago

Can we access local files on client side?

Like we store cookies to access later on


Replies (2)

RE: Can we access local files on client side? - Added by Alex V over 10 years ago

You might want to look at the HTML5 javascript local storage API for storing files on the client side. As far as I am aware, there currently is no interface to this in Wt.

HTML5 storage allows files to be stored in and read from a sandboxed section of the filesystem. Which means it does not allow full access to the filesystem from your app.

If you need full access to the local file system you will need to create a java/flash/activeX application and have the user accept the permissions when the app is run.

RE: Can we access local files on client side? - Added by Koen Deforche over 10 years ago

Hey,

I believe that's more typically used in off-line applications?

In any case, you can use this directly from JavaScript.

Regards,

koen

    (1-2/2)