I require some assistance, I have a pdf file that is located on a ftp location.
What i want to do, is on a button click i want to retrieve the pdf file and display it on a new tab.
Please assist on how to accomplish this task.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just use the HTML anchor tag (“a” tag). In the
hrefattribute put the FTP address of the PDF file (eg.ftp://example.com/file.pdf). To open in a new window you should also specify atargetattribute with the value"_blank".Example:
<a href='ftp://example.com/file.pdf' target='_blank'>Click here to open the PDF file</a>