How to configure to share sftp server files to http server on google compute engine?

0

I am new to the Google cloud. I am trying to set up 2 Google Compute Engines. First one is HTTP server and the second one is FTP/SFTP server. And I successfully implement both HTTP and SFTP server on two different VMs. The HTTP server can be accessed from the browser and also it has MySQL database properly working. In the case of SFTP server, it is accessed from Filezilla client apps using host IP, user and password.

What I need is access my FTP server as website i.e. sftp://xxxxxx.xx/ or ftp://xxxxxxx.xxx so that I can use FTP server files to my web server and share the download link to anybody. or any idea that can fix my problem. I already searched may websites articles but nothing there to solve it.

As an admin, I will upload files using FileZilla if possible the in the browser. what do I need to do if users can only view and download files in FTP server via browser?

I am using Debian GNU/Linux 9 for web-server and CentOS 7 for SFTP. They are in different region/zone and different VM instance.

Google Cloud Screenshot: Compute Engine's VM

FileZilla Connection Screenshot: Successfull Connection to SFTP server

Madhu Shrestha

Posted 2019-05-20T00:27:35.237

Reputation: 1

No answers