html - ftp link without password for my websiteusers -


on website want put href="" link.

i want when user clicks on hyperlink opens new tab pdf.

this pdf on ftp server in file.

but don't know link have put on href="".

i've tested example: ftp://username:password@servername.com example works, second problem is, don't want users see password in link.

i work html , don't know ftp server hosting etc.

could me please?

you use http:// protocol view files regularly. practical purposes, can view webpage on http://. ftp:// used edit server's files, needing password protect it. used server access/maintenance purposes, , not intended serve data public.

therefore necessary use http://, , obviating need username/password.

the url should changed http://yourdomain.com/directory/to/pdf.pdf.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

android - Format a french phone number -