I am trying to upload files via an html page on our unix-based server, but I do not know how to take the files on a remote server and save the files there.
I am writing the following code, please help me link 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>
source share