FFileHelper::IsFilenameValidForSaving

Checks to see if a filename is valid for saving.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/FileHelper.h

Include

#include "Misc/FileHelper.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp

Syntax

static bool IsFilenameValidForSaving
(
    const FString & Filename,
    FText & OutError
)

Remarks

Checks to see if a filename is valid for saving. A filename must be under FPlatformMisc::GetMaxPathLength() to be saved

Parameters

Parameter

Description

Filename

Filename, with or without path information, to check.

OutError

If an error occurs, this is the reason why

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss