/Engine/Source/Developer/SourceControl/Public/SourceControlOperations.h
This version ofFDownloadFilewill download the files and keep them in memory, which can then be accessed by calling ::GetFileData. Full logging verbosity will be used.
FDownloadFile()