Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP syntax

Status
Not open for further replies.

peterpann

Programmer
Jun 19, 2007
63
GB
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;
 
Hi

If that would work, then anyone could just upload your files to an FTP server.

In FireFox you could use the FireFTP extension to automate some actions for links with ftp:// protocol, but I small chances to work as you want.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top