What is the correct Javascript syntax in a webpage to FTP a file from the local m/c to the server, something like window.open(ftp://myaccount:mypassword@ftp.myserver.net/file:///C:/myfile.htm) or
window.location.href = ftp://myaccount:mypassword@ftp.myserver.net/file:///C:/myfile.htm;
window.location.href = ftp://myaccount:mypassword@ftp.myserver.net/file:///C:/myfile.htm;