Upload a Simulate file in an HTML5 web application

Say I have a webapp that runs entirely on the client side. Its purpose is to act as a file conversion utility, for example, converting a user's local stored word document into PDF.

Thus, with the permission of the user, the application can read the specified local file and process it in memory in PDF format.

How can I make the user "download" the result? since the data is stored in the browser’s memory, I don’t want to upload it to any server.

[edit]

  • No flash solutions
  • Expected file sizes up to 15 mb
+7
source share
1 answer

The solution for my case would be to use the HTML5 FileSaver API.

Perhaps this question should just be closed, since it is actually a duplicate

Using HTML5 / Javascript to Create and Save a File

Thanks aefxx

+7
source

All Articles