Support Topics Documentation Slack YouTube Blog

Console not displaying files that is uploaded


(Tpg Third) #1

Hi , My application adds a bitmap file to a folder, when I go to the folder on the console it says there is no data to display, but if I add a new image with same name it says that the file already exists?


(Anton Govorushkin) #2

Hi!

We’d need your application id and a code snippet (exact code) of how you are uploading your first file in order to verify the problem. Also please attach file here in topic

Anton


(Tpg Third) #3

My Application ID: “2F84C9B8-5560-55E7-FFD8-C87BA5BF1F00”

Backendless.Files.Android.upload(bitmap,
Bitmap.CompressFormat.PNG,
100,
photoname +".png",
https://api.backendless.com/2F84C9B8-5560-55E7-FFD8-C87BA5BF1F00/517E970E-F2E2-6167-FF74-E26DE12C4B00/files/players+images”, new AsyncCallback<BackendlessFile>() {
@Override
public void handleResponse(BackendlessFile response)
{
Toast.makeText(getBaseContext(), “photo saved”, Toast.LENGTH_LONG).show();
}

@Override
public void handleFault(BackendlessFault fault)
{
Toast.makeText(getBaseContext(), fault.getMessage(), Toast.LENGTH_LONG).show();
}
});


(Anton Govorushkin) #4

Unfortunately I couldn’t reproduce the problem with my own file. Are you receiving this error on second execution of the code you’ve shown? Or you are uploading the file via Backendless console?

Also please prepare a minimal verifiable project which shows the behavior you’ve described so we could reproduce the problem and provide a solution and send it to support@backendless.com. Thanks in advance

Anton