Filesaver.js: Q: How do define the directory for txt file to be saved at?

Created on 4 Sep 2013  路  4Comments  路  Source: eligrey/FileSaver.js

Normally the .txt file save is saved in the same directory as the FileSaver.js in an webapp (if I'm correct) but how do you define the path for it to be saved(for moz)?

Most helpful comment

Hi, is it possible to open a browser dialog box, where user can select his directory to save? Something like downloadify. Or the best way to make it work with Downloadify. Thanks.

All 4 comments

Sorry, that is not possible due to security restrictions in the File API. The user will have to choose the directory a file is saved to.

Hi, is it possible to open a browser dialog box, where user can select his directory to save? Something like downloadify. Or the best way to make it work with Downloadify. Thanks.

@odimou did you find a solution for that?

a good idea

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MFEKN picture MFEKN  路  5Comments

Aw3same picture Aw3same  路  7Comments

mluis picture mluis  路  3Comments

HeroSony picture HeroSony  路  5Comments

carlosEdua picture carlosEdua  路  3Comments