Page 1 of 1

Domain Name External Sharing

Posted: 2019-08-25 12:36
by Adam3117
Hello!

I'm wanting to setup a SFTP server whereby once I'm connected in FileZilla, I can right click the file and copy the URL. I want to then be able to share this URL with someone so that they can paste this into their address bar and load up the image/download the file I uploaded. However, I would like the link to go to a domain name that I own (https://cdn.example.com/files/image.png as an example URL). I presume that I need to point an A record towards cdn.domain with the server IP, but I was wondering if anyone knew how to do this or could point me towards any material to allow me to do this?

Thanks!

Re: Domain Name External Sharing

Posted: 2019-08-26 09:37
by boco
There are multiple problems with your request.

1. Using FileZilla Server, you cannot offer SFTP, it simply isn't supported. FileZilla Server speaks FTP only. FTP over TLS (FTPS) can be set up, however.
2. FileZilla Server cannot serve files over the HTTP protocol. Availability of any file over HTTP(S) requires setting up an HTTP server (like Apache or nginx) that can serve the HTTP content.
3. FileZilla Client will only provide FTP URLs. Getting HTTP URLs is not possible, both services are completely independent.
4. Even using FTP URLs might not work, as a) browsers do not support FTPS at all, and b) browsers are currently in the process of removing FTP support completely.

Using an HTTP-based server (like HFS) might suit your needs much better.