Hello!
I am making a web app, when I click a button I get through a webservice a string with the data of a pdf encoded in base 64.
To be able to show it in the web browser I have to generate the pdf file.
I would like this file to be saved in a web server folder but I do not know how to write to the server with the powerserver.
Another option that I have tried has been generate the file by this way:
ls_file = AppeonGetCacheDir () + '\ plugin \ temp_file_name
li_file = FileOpen (ls_file, StreamMode !, Write !, LockWrite !, Replace!) but this always returns -1.
Could someone tell me why this is failing. And even better, could someone tell me if I can access a server folder and generate the file there.
Thank you very much again!!