HELP! I need to get rid of my headache.
My JSP program works in this way:
1. It is runing in Server A and will import a text file from Server B.
--I make this part work by using java.net.URL. I import the file and save it on the hard drive of Server A.
2. After obtaining the file from server B, my JSP program should be able to create a back up file under the same path on server B.
--Is there methods to rename a file on another server. I think file.Renameto() method won't work here because the I only have the URL path. Is there a file method accepting an URL as parameter, or something like that? Or I have to send the file back to the same place from where I get this file. This sounds stupid to me, because in this way I am going to import a file and send it back right after I get it and, the only purpose is to make a back up file on server B.
3. The program will process the data in the file on server A. But it also should be able to create a new file on server B, which contains the error messages occured during data processing on Server A.
--can we create a file on another server? If we can, then how? Anybody has sample codes?
Thanks.

