Generating Download URL in the Unreal App
Get the Download URL of your Local File from your Unreal Engine App.
Â
Â
Before Using some of the features take a look at the document below covering how to send a pixel streaming command to E3DS System:
How to send a Pixel Streaming Response
Â
Demo Video:
Â
Blueprint Code:
In order to make this work, there is a pixel streaming command that the user needs to send.
{"cmd":"getDownloadUrlOfLocalFile","fileToDownload":" (Path to Local File with extension) "}
The Complete path Example will be something like:
{"cmd":"getDownloadUrlOfLocalFile","fileToDownload":"C:\Unreal\Content\image.png"}
Â
For demonstration in this document this code is added to a widget blueprint and being executed on Event Construct:
Â
Then the BindEventOnInputEvent, there will be a response message from the system which will contain the download URL. This response will be:
{"type":"takeDownloadUrlOfLocalFile","downloadURL":"(DownloadURL)","localFile":"(FilePathInLocal)"}
Here is how you can get the Download URL from it in Unreal:
You can open this URL by running another pixel stream command.
{"cmd":"lunchUrl","value":"(URL to Open)"}
Â
More About Opening URLs can be found in this Document.
Need help? Contact Support
Submit a new request at E3DS support portal.
Requests sent on weekends will not be addressed until the following business day.