Page 1 of 1

Remote FTP server

Posted: Mon Oct 25, 2021 11:51 am
by ixtambay76
Hi everyone. I would like to ask how to configure Joomla (3.9.26) to connect to a remote FTP server? I was able to setup an ftp server using vsftp but i can't seem to know where to configure Joomla to connect to it to be able to upload files there instead. I was hoping instead of uploading files under images it would connect to the ftp server instead. It seems allowing FTP under global config is not enough. Thanks in advance.

Re: Remote FTP server

Posted: Mon Oct 25, 2021 12:12 pm
by toivo
If you want Joomla to download image files from a different web server or cloud service, you can use FTP to upload the images to the target server. Then you need to provide the URLs to Joomla and Joomla will download those images using HTTP as usual. FTP is not needed when presenting a web page containing images.

Forget about FTP in Global Configuration! It was used only in some web server configurations to enable uploading. Nowadays Joomla itself does not connect to FTP services. For example the recently launched Joomla 4 does not have that FTP setting.

On the other hand, files are transferred using FTP to the folders in the web server that is hosting Joomla. That operation is independent of Joomla.

When you use File Transfer Protocol (FTP) to transfer files to a web server running Joomla, the FTP service is provided by the server box that runs the web server application, not Joomla itself. An FTP client application runs in your workstation and makes a connection to the FTP port, monitored by the FTP service in the web server, which makes file transfers possible.

Re: Remote FTP server

Posted: Mon Oct 25, 2021 12:38 pm
by ixtambay76
Ok thanks for the info sir. I was planning on having 2 instances that can connect remotely to 1 mysql server and 1 file server. I was able to create a remote database and both instance is already accessing it but my only problem now is I still have to upload files on both servers too to make my links work. Is there any other solution that can be done here that I haven't thought of where I can configure joomla to access a remote file server? Thanks again.

Re: Remote FTP server

Posted: Mon Oct 25, 2021 1:17 pm
by Per Yngve Berg
Use NFS to Mount the volume on the remote server.

Re: Remote FTP server

Posted: Mon Oct 25, 2021 1:58 pm
by ixtambay76
Hi Sir. Thanks for your reply. Is there a detailed way/instruction on how to configure that with Joomla? Thanks again.

Re: Remote FTP server

Posted: Mon Oct 25, 2021 7:53 pm
by Per Yngve Berg
See the documentation for the Linux distro you are using. You will also find some tutorials online.