How to Make a Link to FTP With Username & Password

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.

Step 1

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

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.

Step 4

Save and close the HTML file.

Keşfetmeye Devam Edin

Leave a Comment

Your email address will not be published. Required fields are marked *