How to Make a Link to FTP With Username & Password

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Web pages can contain links to an FTP server which allow visitors to download files. If the FTP server requires that the user provide a username and password, you can specify the information directly in the URL (Uniform Resource Locator). This is an extremely insecure practice. It is better to set up the FTP server to allow anonymous access.

Advertisement

Step 1

Open the HTML document in a text editor, such as Notepad.

Video of the Day

Step 2

Locate the area of the document where you want to add the FTP link.

Step 3

Type the code "<a href=ftp://user_name:password@hostname/">FTP Link" to add the link. Replace "user_name" with the username for the FTP server and replace "password" with the password for the account. Replace "hostname" with the hostname of the FTP server. Replace "FTP Link" with any text you prefer.

Advertisement

Step 4

Save and close the HTML file.

Video of the Day

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...