Forum Moderators: open

Message Too Old, No Replies

Linking to FTP folder

         

monkeythumpa

12:47 am on Feb 24, 2005 (gmt 0)

10+ Year Member



What is the syntax to link to a FTP folder with username and password? I know it will break in some browsers but I have seen it done in IE and my client is unaware that there are other browsers.

hrudayamm

1:44 am on Feb 24, 2005 (gmt 0)

10+ Year Member



i guess this would help
<a href="ftp://www.example.com/">url link to ftp</a>

[edited by: tedster at 4:19 am (utc) on Feb. 24, 2005]
[edit reason] use example.com [/edit]

tedster

4:26 am on Feb 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you want to incorporate username and password into the link (on a publicly available page, this IS a security risk) the syntax would be:

<a href="ftp://username:password@ftp.example.com/">link</a>

monkeythumpa

5:25 am on Feb 24, 2005 (gmt 0)

10+ Year Member



Thanks, the colon was tripping me up.