FEditorFileUtils::IsFilenameValidForSaving

Checks to see if a filename is valid for saving.

Windows
MacOS
Linux

Deprecated

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h

Include

#include "FileHelpers.h"

Source

/Engine/Source/Editor/UnrealEd/Private/FileHelpers.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

DEPRECATED in version 4.18, Call FFileHelper::IsFilenameValidForSaving instead

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