I made it work, thanks a lot. I will check HttpUrlConnection for more information.
Type: Posts; User: luisp88
I made it work, thanks a lot. I will check HttpUrlConnection for more information.
Ok I made a php script to edit the .conf file and it works fine giving apache the permissions. But the problem is sending the information from JAVA to PHP script.
JAVA:
URL url = new...
Thanks for the link, I am already trying to figure it out.
Its a good idea to use URL passing to edit a whole .conf file? I mean its a long string, there is no problem sending it to a php script via...
ok I understand, maybe I can make a php or perl script to do this. How do I give the information to the script? Is there any class in java to communicate with a server side script? thanks for your...
There is a server (Debian) that host the .jar files (in the public /www directory of Apache). I execute them thru java web start (it downloads the resources to the local machine) on Windows. I need...
I have tried some codes, but none of them work :(
Just as simple as trying to create and write a .txt in the server
// Open an output stream
URI uri = new...
I only need to modify one .conf file from /etc/asterisk , I have no problem giving rights to edit it. In fact, I made Apache to show me the file to the public and I can retrieve it from the server...
I am trying to modify a .conf file in the /etc/asterisk (a voice ip PBX) that gives permissions to callers. I dont know much about debian or linux, it would be easy to modify a file in the www...
Hi everyone!
This time I have a java SE web start application hosted in a Linux/Debian server
I need to edit a .conf file from the /etc directory folder in the Debian server but I have no idea how...