Loading...
Logo
Processing Forum
hy,

it might be a stupid question, but how can i download rewrite and UPLOAD (the bug) the same xml file on a server with an applet ?

i've tried the "post to web" and "proxml"  library ,but no luck...

little help would be more than welcome.

adri.

Replies(4)

The Post to Web solution is probably the way to go, but we lack information on what you tried to do... Some people in the past had a similar issue to send a textual content, you can find back these threads to see the solution.
hy phi.lho,

i would like :

1.from a processing applet load the xml file from the server.
2.addchild to this xml file.
3.upload (rewrite the xml file) it back to the server.

So no easyest way than sending to bytes (text file)  then make a php file that change your text file an into xml file?

1.from a processing applet load the xml file from the server.
2.send to bytes the child to add (text format).
3. php file adding the child to xml file

i was just wondering if a"send to xml" exist ?

thx.

adrien 
 
No, you must have a server-side program able to process the sent file. It can be PHP, or Java, or something else.
Mmm, unless you do FTP access to upload the file, but it isn't secure in an applet, as the FTP password can be found back by users...
thanks , i v added some stuff  in posttoweb php file to convert text in xml. and it works!!!  could be nice to add a fuction posttoxml and a  "post and appendchid, delete and modify"...i  would like to build it but i always loose myself in eclipse.

send u the link of my applet when i m done      

adri