Hello,
I am uploading images in file ,so I get a reference to that file which I supposed to save for future use.Is there is a way to directly access the images in files without using the url generated.
Please help me in this issue
Hello,
Yes, you can “calculate” the URL without waiting for the upload result. Please see the documentation for details: https://backendless.com/docs/rest/files_file_download.html#downloading-a-file-via-api
Regards,
Mark
How to use Backendless.Files.Android.getFileCount(String path);
What should be the path?
Please explain!!
Thank You
Hi, all files stored in Backendless are available in Files section of your Backendless console.
This is the “root” directory. If you’d like to get count of files in “logging” directory your request would look this:
Backendless.Files.getFileCount("logging");
Example with a pattern (search condition, second optional parameter in getFileCount() method), f.e count all html files in “web” directory:
Backendless.Files.getFileCount("web", "*.html");
Anton
Thank Man!! Cheers!!
W/OkHttpClient: A connection to https://backendlessappcontent.com/ was leaked. Did you forget to close a response body?
This was displayed in terminal .
What does it mean and how to remove it…?
Thank You
Note :I am Accessing the images in Files.
Hi Surya
Could you please provide a full url what you are trying to load image with?
Here is my url what I just tried and it works
https://backendlessappcontent.com/7E25B48A-05FA-0B5D-FFAE-63CC0AC26C00/E9920D04-8F81-D6EC-FFBB-4D4D78486100/files/ava_big+copy.jpg
Regards, Vlad