Ewon TechForum
Providing technical solutions to technical requests


Post data from form to a csv file
khaterchi Offline
Junior Member
#1
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
Reply

simon Offline
eWON Support
#2
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
Reply

khaterchi Offline
Junior Member
#3
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
Reply

simon Offline
eWON Support
#4
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
Reply



Possibly Related Threads…
  4005CD Java.io.file Started by Cst
2 Replies - 158 Views
09-06-2020, 03:45 PM
Last Post: Cst
28-05-2020, 03:46 PM
Last Post: Cst
11-05-2020, 09:04 AM
Last Post: simon
30-05-2019, 10:34 PM
Last Post: ktmachinex
26-10-2018, 05:20 PM
Last Post: simon
  Can't open file Started by Padsc
2 Replies - 1.785 Views
20-09-2017, 01:19 PM
Last Post: Padsc
18-07-2017, 08:19 PM
Last Post: alessandro@sensorfocus.com



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy