How to use Telegram API in C#?

How do I use Chrome Filesystem api to write to read/write from an user specified disk directory?

  • From http://developer.chrome.com/apps/fileSystem.html " Use the chrome.fileSystem API to create, read, navigate, and write to a sandboxed section of the user's local file system. With this API, Chrome Apps can read and write to a user-selected location. For example, a text editor app can use the API to read and write local documents. All failures are notified via chrome.runtime.lastError " Someone on SO seems to say that this is possible. http://stackoverflow.com/questions/19802032/how-can-a-chrome-extension-save-many-files-to-a-user-specified-directory But is it really possible? If so, do you have an example? Folks on StackOverflow booed me for this question however they didnt have an answer either?

  • Answer:

    Depends on what you're building. If you're making a Chrome Extension, then no, you can't write to the filesystem. The best you can get is localStorage, which can be infinite, but extensions cannot manage the actual filesystem of the computer the browser is running on. However, if you're building a Chrome *APP*, then you can do it. It would be silly to attempt to paste the methods here. Instead, I'll link you to an excellent resource - I run a Google+ community on Chrome App and Extension development at http://gplus.to/chromedev. That community is ripe with experts in this area, including much of the actual Google team. We have many demos and tutorials on this exact topic, if you just search the community for the "filesystem" string like so: https://plus.google.com/u/0/communities/107816657013931145360/s/filesystem  Give it a go, join us there, and if it's still unclear don't hesitate to repeat your question there.

Bruno Skvorc at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.