Help writing and reading from server

I have a signed applet that is trying to read and write a file to the server. I have a logfile stored on the server at www.learning-java.com/logs.logfile.txt.The program runs and doesn't error, it just doesn't write to the file.

This is my code:

URL url = new URL("http://www.learning-java.com/logs/logfile.txt");

URLConnection urlcon = url.openConnection();

urlcon.setDoOutput(true);

urlcon.setUseCaches(true);

PrintWriter out = new PrintWriter(new OutputStreamWriter (urlcon.getOutputStream()));

out.append("@");

out.append("\n" + userName);

out.append("\n" + "USERNAME: " + userName);

out.append("\n" + "DATE/TIME : " + sdf.format(cal.getTime()));

out.append("\n" + "FILENAME: " + fileName);

out.append("\n" + "Number of Questions Answered: " + numQuestions);

out.append("\n" + "Number of Questions Correct: " + correct);

out.append("\n" + "@" +"\n");

out.close();

I want to keep appending each time I write to the file.

[1028 byte] By [bronze-starDukes] at [2007-11-26 12:14:22]
# 1
Do you have a backup idea of some sort?
silverstar at 2007-7-7 14:16:51 > top of Java-index,Archived Forums,Socket Programming...
# 2

What cotton means is: you can't do that.

Of course a little thought experiment will demonstrate immediately that you can't do that. Consider a static html file that you download from any website you can think of. Now imagine if it were possible for somebody to write to the file just like you tried to do there. Remembering that there are millions of bozos out there who like to mess up things, ask yourself how long such a static file would remain unchanged.

platinumsta at 2007-7-7 14:16:51 > top of Java-index,Archived Forums,Socket Programming...
# 3
So there is no way at all to write a file to the server? I would think there would be some sort of work around.
bronzestar at 2007-7-7 14:16:51 > top of Java-index,Archived Forums,Socket Programming...
# 4
If I were to write a log file onto the local system and then send that file to the server? Is it possible to send files and save them on the server?
bronzestar at 2007-7-7 14:16:51 > top of Java-index,Archived Forums,Socket Programming...