UBlueprintFileUtilsBPLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintFileUtils

Header

/Engine/Plugins/BlueprintFileUtils/Source/BlueprintFileUtils/Public/BlueprintFileUtilsBPLibrary.h

Include

#include "BlueprintFileUtilsBPLibrary.h"

Syntax

UCLASS()
class UBlueprintFileUtilsBPLibrary : public UBlueprintFunctionLibrary

Constructors

Name Description

Public function

UBlueprintFileUtilsBPLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

bool

 

CopyFile

(
    const FString& DestFilename,
    const FString& SrcFilename,
    bool bReplace,
    bool bEvenIfReadOnly
)

Copies a file.

Public function Static UFunction BlueprintCallable, Category

bool

 

DeleteDirectory

(
    const FString& Directory,
    bool bMustExist,
    bool bDeleteRecursively
)

Deletes a directory and all the files in it and optionally all sub-directories and files within it

Public function Static UFunction BlueprintCallable, Category

bool

 

DeleteFile

(
    const FString& Filename,
    bool bMustExist,
    bool bEvenIfReadOnly
)

Deletes a file.

Public function Static UFunction BlueprintCallable, Category

bool

 

DirectoryExists

(
    const FString& Directory
)

Checks if a directory exists

Public function Static UFunction BlueprintCallable, Category

bool

 

FileExists

(
    const FString& Filename
)

Checks if a file exists

Public function Static UFunction BlueprintCallable, Category

bool

 

FindFiles

(
    const FString& Directory,
    TArray< FString >& FoundFiles,
    const FString& FileExtension
)

Finds all the files within the given directory, with optional file extension filter.

Public function Static UFunction BlueprintCallable, Category

bool

 

FindRecursive

(
    const FString& StartDirectory,
    TArray< FString >& FoundPaths,
    const FString& Wildcard,
    bool bFindFiles,
    bool bFindDirectories
)

Finds all the files and/or directories within the given directory and any sub-directories.

Public function Static UFunction BlueprintPure, Category

FString

 

GetUserDirectory()

Get the users directory.

Public function Static UFunction BlueprintCallable, Category

bool

 

MakeDirectory

(
    const FString& Path,
    bool bCreateTree
)

Makes a new directory, and optionally sub-directories

Public function Static UFunction BlueprintCallable, Category

bool

 

MoveFile

(
    const FString& DestFilename,
    const FString& SrcFilename,
    bool bReplace,
    bool bEvenIfReadOnly
)