I am trying to upload files through html page in our unix based server but I don't know how to take the files on remote server & save files there.
I write the following code please help me to connect it.
<html>
<head>
<script type="text/javascript">
function Upload()
{
var filename = document.getElementById("filename").value;
var storepath = "HOSTURL/Foldername";
}
</script>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data" >
<input type="file" name="filename" />
<input type="submit" value="Upload" onclick="Upload" />
</form
</body>
</html>
actionon your form, what you've got should allow you to upload a file to your server (the javascript you have is completely unnecessary). At that point it's all server-side processing. What are you using on your server?