Skip to content

Repository files navigation

FileDownload-UE4

A http based file download plugin for Unreal Engine 5+

feature

1.breakpoint resume.(save task progress to json on stop, read from json on resume)

2.block based download.(use http RANGE feature download large file, up to 2GB, you can change int32 to int64 for 2GB+ file)

3.async IO write, no IO block on game thread

usages

Pseudo code

--add task on button clicked event localDownloadMgr=UE4.UGameplayStatics.SpawnObject(UE4.UFileDownloadManager)
localurl='https://www.blender.org/download/release/Blender3.2/blender-3.2.0-windows-x64.zip'localTaskID=DownloadMgr:AddTaskByUrl(url, '', '')
--get progress umg ticklocalTaskInfo=DownloadMgr:GetTaskInfo(TaskID)
localpercent=TaskInfo.CurrentSize/TaskInfo.TotalSize--update widget

About

A http based file download plugin for Unreal Engine 4

Topics

Resources

Stars

141 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages