Get Public URL not returning anything for a self hosted Standalone Backendless server

I uploaded an image file on an Ubuntu system. Now when I click the Get Public URL button in the console, i don’t get the public url for the file. Can someone please tell me how can I get the public URL of the image file?
I am trying it on Ubuntu installed as a virtual machine.

Hi Puneet,

What link do you get when clicking on “Get Public URL” button?

I don’t get anything :frowning:

when using the Backendless servers, the functionality is working fine.
I tried making my own api using the following url but wasn’t useful:
http://ip-address:8080/app-id/files/images/imagename

You mean, nothing is copied to clipboard when you click it?

yes. nothing is copied. :frowning:

The template for public URL is the following:
https://<your_server_host_port>/<application_id>/<version_name>/files/<path_to_file>

For example, for the file web/index.html you may have the link like this:
https://api.backendless.com/74F77F91-17AC-F753-FF5D-5F8A83576000/v1/files/web/index.html

Which browser do you use and does it have Flash enabled?

Mozilla Firefox. Flash is not enabled i think. Let me enable it and then check.

Didn’t know that the Flash should be enabled. :slight_smile:

It solved the problem. This can be marked as closed.
Also I did follow the URL template when I was trying to make it myself. Following is the link that I got which differs from the template slightly.
http://127.0.1.1:8080/api//v1/files/images/index.jpg

Thanks a ton Sergey for your help. Much appreciated. :slight_smile:

We fixed this Flash dependency in our online version, but it seems that you’re using some older version of Standalone which lacks this fix yet (soon we’ll be releasing a new Standalone version which will definitely have this fixed).

You link differs only in the <server_host_port> part, this is because your server address is 127.0.1.1:8080/api while, for example, our online server’s address is just api.backendless.com. But your one is totally OK, too.

i am using v3.0.0