I am able to read the contents of the file, given the URL but modifying the contents and writing it back to the url is the problem!
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35256
7
posted
0
Vinitra Ramji wrote:How am I supposed to go about this? I want to know the methods/objects to use.
Do you know how to write servlets in general? Do you know how to use the java.io package to manipulate/write the file in the way that you need? If the answer to both is "yes", can you combine both? If the answer is "no" to either of these, I'd start by learning that particular skill.
The servlet would, of course, have to run on the remote server - do you have control over that server, so that you can run servlets there?
Vinitra Ramji wrote:How am I supposed to go about this? I want to know the methods/objects to use.
Do you know how to write servlets in general? Do you know how to use the java.io package to manipulate/write the file in the way that you need? If the answer to both is "yes", can you combine both? If the answer is "no" to either of these, I'd start by learning that particular skill.
The servlet would, of course, have to run on the remote server - do you have control over that server, so that you can run servlets there?
I know to write servlets in general and I also know to use java.io package but combining the both I am just able to read from the file on the remote server; not able to write.
And about the server you are asking about, I have control over that server to some extent. Like I can move around the files on the server etc.