Searching media files

Is there a way to search a media file based on the file name?

Also how do we find files which are not associated with the stored object. This feature with Parse was very helpful to cleanup the orphan files.

Hi!
You can use Directory Listing functionality:
https://backendless.com/documentation/files/rest/file_directory_listing.htm

The requirement is for an one time activity where there should be a way to do from the data browser instead of forcing to do some works.

How did you do it with Parse? They do not have File system browser.

Although not directly, Parse has an option to upload or replace a file directly in hte file browser. It seems an indirect option but can be used to clean up the old file.

When it comes to replacing a file, with Backendless you can:

    Delete and reupload using console Reupload using API with the overwrite argument set to true.
As for file listing, the API does what you want.

Can you please help or point me where can I find how to delete and reupload an media file via console? This is just an activity to be done randomly and not a continuous effort. I could not seem to understand.

I assume you specifically pointed out that it is a “media” file. Do you plan to use progressive download for streaming the media content? If so, there is a problem with progressive download on our servers at the moment.

Outside of that, you can simply drag and drop your file into Backendless Console when it has the Files section open. To delete a file, click the checkbox corresponding to it and then click the “Delete Selected” button.

Mark

Apologies. There seems to be some confufsion because of me. I am referring to the image files available in the “Files” section… either imported from parse or uploaded newly… I could not search or replace any file from the browser.

File search is not available in browser, only via API. Replacing a file in a browser requires file deletion first, then reuploading the file.

Sad that this feature is not available. If I could find the file in the browser, I can delete it and upload again manually.

@Mark: Any plans to add the file search feature in the browser? SQL based search as available for data would be great for file search. I have dozen of files to be deleted and upload again.

Possibly. We will consider adding it a feature you can purchase from the Marketplace :wink: