Quote:
Originally Posted by JosAH
At least you have to conform to the protocol *how* that other server wants you
to upload your file.
kind regards,
Jos
my code is here:::----
the supporting html code is
- <html>
-
-
<head>
-
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-
<title>file upload</title>
-
</head>
-
-
<body>
-
<form method="post" action="Process_FileUpload.jsp" name="uploadform" enctype="multipart/form-data">
-
<table >
-
<tr>
-
<td>
-
Select the file to upload
-
</td>
-
</tr>
-
<tr>
-
<td>
-
Subject : <input type=text name=subject>
-
</td>
-
</tr>
-
<tr>
-
<td>
-
<input type="hidden" name="newFileName" value="newUploadedFileName1">
-
<input type="file" name="uploadfile">
-
</td>
-
</tr>
-
<tr>
-
<td align="center">
-
<input type="submit" name="Submit" value="Upload" >
-
<input type="reset" name="Reset" value="Cancel">
-
</td>
-
</tr>
-
</table>
-
</form>
-
-
</body>
-
</html>
this code is running on one server ...
now you can see in code I have created a FILE class object that points on that server itself... and then item.write(<file class object>) is used to write...
but Is there any way that I can make a FILE class object to point to a location on some remote machine.....
how to do?????
can you suggest the protocol as you were asking....