Twitter LogoFacebook Logo
Cloud Storage - Delete File
Hello, in this video, I’ll show you how to delete files in the Firebase Cloud Storage in Unreal Engine using the Firebase Blueprint Plugin.
By: King

Hello, in this tutorial, I’ll show you how to delete files in the Firebase Cloud Storage in Unreal Engine using the Firebase Blueprint Plugin.

Delete File

To begin, make sure you have some files in the Cloud Storage to delete.

Image from Codeible.com

In the blueprint, call the Delete File node.

Image from Codeible.com

Then use the Storage Path pin to reference the file in the Cloud Storage.


Click and hold on it, then drag on an empty spot.

Search for Make Array, and select it in the menu.

Image from Codeible.com

Each element represents the directory, where the last element is the file name.

If we take a look at the Cloud Storage, I have a file inside the images folder call image.png.

Image from Codeible.com

So I’ll put images for the first element, and then image.png as the last element.

Image from Codeible.com

Callbacks

Now just add the callbacks. 


Click and hold on them, then drag on an empty spot. 

Select Add Event, then Add Custom Event.

Image from Codeible.com

Full connection

Image from Codeible.com

Now, when I run the app, and click on the delete button, there’ll be a message telling me that the file was deleted.

Image from Codeible.com

When I go to the Cloud Storage in the Firebase console, the image is no longer there when I refresh the page.

Image from Codeible.com

Sign In