Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

File manipulation in server code script

Hi,

I have an html template file that I want to open in a server code script, update some values and then save back to the file system as a separate html file. Is this possible with server script?

So far I have only been able to open and change the html (string replacements) but am not sure of commands to save back to the file system..

Thanks,
Aeneas

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

File manipulation in server code script

Hi Aeneas,

You can use Cordova File Plugin. It is already integrated in Appery.io project
Here is documentation, that can be helpful
https://github.com/apache/cordova-plu...

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

File manipulation in server code script

Are there any code examples where this plugin is used in server script? I'm a little bit new to javascript.

Thanks,
Aeneas

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

File manipulation in server code script

Hello Aeneas,

Unfortunately no code snippets.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

File manipulation in server code script

Are you able to provide example how to save an html file back to the server after manipulation?

Thanks,
Aeneas

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

File manipulation in server code script

Hello,

Regrettably we do not have ready solution.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

File manipulation in server code script

I'm not sure what has happened to your support but it used to be helpful and you would try and find solutions for us. :(

Return to “Issues”