Switch to desktop version  
Post data from form to a csv file - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Java (https://techforum.ewon.biz/forum-53.html)
+--- Thread: Post data from form to a csv file (/thread-1279.html)



Post data from form to a csv file - khaterchi - 29-04-2020

Hi,

I want to submit data from a form (browser) to a csv file (in the flexy ewon), and I did'nt find the solution ? 
Can the export block descriptor solve that ?

Thanks


RE: Post data from form to a csv file - simon - 02-05-2020

Hi,

I do not quite understand if you want to post data to a webserver or you want to retrieve data from a webserver and store it in a CSV file.

To get or post the data, you'll have to use the functions ScheduledActionManager.RequestHTTPX() or .GetHTTP() or .PostHTTP

To create a file, just use the standard java api :

FileWriter fileWriter = new FileWriter("/usr/t.txt", true);
fileWriter.write("test2");
fileWriter.close();

Simon


RE: Post data from form to a csv file - khaterchi - 02-05-2020

Hi,

I want to make a web application (client) that communicate with the flexy by sending files without deploy it into server,
What solution can I pursue ?

Thanks


RE: Post data from form to a csv file - simon - 08-05-2020

So, you want to create a web application for Ewon, right ?
I am sorry, I do not get "by sending files without deploy it into server, ", You do not want to preinstall files into the Flexy /usr space ?

Simon