Hello, there is a remote Linux server on which files are stored, approximately along the following path: /opt/glassfish/blabla/файлы.
On another computer site on php, on the codeigniter framework. I need to do something so that when I click on the link and hit the controller, I can download the file from the first server.
I was told that I need to make links to files and store them in the database. But I don’t quite understand how these links should look like, how to create them. To get to the first server, you need a login and password, should they be in the link?
My searches in Google constantly end around the helpers "download" and "ftp", but the first one allows you to download something from your machine, and the second - upload something to a remote server, or change something there.
Could you explain to me about the links?