Uploading large files using UnityWebRequest Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!UploadProgressChanged Event Not Being Called (More Details)How to create Excel (.XLS and .XLSX) file in C# without installing Ms Office?Uploading files to file serverFile Upload ASP.NET MVC 3.0Upload file directly to azure?how to upload a large file with ASP.NET MVC4 Web Api with progressbarAzure Blob Storage large file uploadProper way to upload image files to Azure blob C#Any ideas on large zip file upload as chunks to azure blob and extractC# Why am I getting concurrent IO errors when trying to upload a large file using WebRequest.GetRequestStream?Xamarin C# HttpClient upload Large Files
Is there a way to fake a method response using Mock or Stubs?
Does using the Inspiration rules for character defects encourage My Guy Syndrome?
Where/What are Arya's scars from?
Stretch a Tikz tree
Why doesn't the university give past final exams' answers?
How would you suggest I follow up with coworkers about our deadline that's today?
Bright yellow or light yellow?
Protagonist's race is hidden - should I reveal it?
false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'
How did Elite on the NES work?
Is there a possibility to generate a list dynamically in Latex?
Simulate round-robin tournament draw
Why is arima in R one time step off?
What's parked in Mil Moscow helicopter plant?
How long can a nation maintain a technological edge over the rest of the world?
"Working on a knee"
Why does Java have support for time zone offsets with seconds precision?
What is /etc/mtab in Linux?
What's called a person who works as someone who puts products on shelves in stores?
What is the numbering system used for the DSN dishes?
What was Apollo 13's "Little Jolt" after MECO?
How was Lagrange appointed professor of mathematics so early?
What happened to Viserion in Season 7?
What does the black goddess statue do and what is it?
Uploading large files using UnityWebRequest
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!UploadProgressChanged Event Not Being Called (More Details)How to create Excel (.XLS and .XLSX) file in C# without installing Ms Office?Uploading files to file serverFile Upload ASP.NET MVC 3.0Upload file directly to azure?how to upload a large file with ASP.NET MVC4 Web Api with progressbarAzure Blob Storage large file uploadProper way to upload image files to Azure blob C#Any ideas on large zip file upload as chunks to azure blob and extractC# Why am I getting concurrent IO errors when trying to upload a large file using WebRequest.GetRequestStream?Xamarin C# HttpClient upload Large Files
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have an API to upload file to Microsoft Azure blob storage. Users can be uploading large files. Webclient handles files automatically, but its progress change event doesn't work.
Here is a link to that issue though:
UploadProgressChanged Event Not Being Called (More Details)
How do I use UnityWebRequest to upload large file without reading entire file into memory first?
c# unity3d webclient unitywebrequest
|
show 1 more comment
I have an API to upload file to Microsoft Azure blob storage. Users can be uploading large files. Webclient handles files automatically, but its progress change event doesn't work.
Here is a link to that issue though:
UploadProgressChanged Event Not Being Called (More Details)
How do I use UnityWebRequest to upload large file without reading entire file into memory first?
c# unity3d webclient unitywebrequest
I guess you can't. UnityWebRequest.Put and UnityWebRequest.Post needbyte[]
as inputs.
– derHugo
Mar 22 at 15:25
That's the HLAPI, Uploading streamed data is supported by their LLAPI: Creating Upload Handlers
– Foggzie
Mar 22 at 15:33
@Foggzie as far as I can see in their example they also// ... fill payload with data ...
(which is abyte[]
) before they start the upload
– derHugo
Mar 22 at 15:59
That's what the constructor accepts but it's still uploaded as a stream. "This buffer is copied internally into native code memory and then used by the UnityWebRequest system when the remote server is ready to accept body data.". From the UnityWebRequests page it states: "It also supports high-demand features such as chunked HTTP requests, *streaming POST/PUT operations*, and...."
– Foggzie
Mar 22 at 16:10
@Foggzie But we still have to read entire file as byte first, and pass it as parameter right?
– Harsh Priyadarshi
Mar 23 at 5:54
|
show 1 more comment
I have an API to upload file to Microsoft Azure blob storage. Users can be uploading large files. Webclient handles files automatically, but its progress change event doesn't work.
Here is a link to that issue though:
UploadProgressChanged Event Not Being Called (More Details)
How do I use UnityWebRequest to upload large file without reading entire file into memory first?
c# unity3d webclient unitywebrequest
I have an API to upload file to Microsoft Azure blob storage. Users can be uploading large files. Webclient handles files automatically, but its progress change event doesn't work.
Here is a link to that issue though:
UploadProgressChanged Event Not Being Called (More Details)
How do I use UnityWebRequest to upload large file without reading entire file into memory first?
c# unity3d webclient unitywebrequest
c# unity3d webclient unitywebrequest
asked Mar 22 at 14:48
Harsh PriyadarshiHarsh Priyadarshi
167
167
I guess you can't. UnityWebRequest.Put and UnityWebRequest.Post needbyte[]
as inputs.
– derHugo
Mar 22 at 15:25
That's the HLAPI, Uploading streamed data is supported by their LLAPI: Creating Upload Handlers
– Foggzie
Mar 22 at 15:33
@Foggzie as far as I can see in their example they also// ... fill payload with data ...
(which is abyte[]
) before they start the upload
– derHugo
Mar 22 at 15:59
That's what the constructor accepts but it's still uploaded as a stream. "This buffer is copied internally into native code memory and then used by the UnityWebRequest system when the remote server is ready to accept body data.". From the UnityWebRequests page it states: "It also supports high-demand features such as chunked HTTP requests, *streaming POST/PUT operations*, and...."
– Foggzie
Mar 22 at 16:10
@Foggzie But we still have to read entire file as byte first, and pass it as parameter right?
– Harsh Priyadarshi
Mar 23 at 5:54
|
show 1 more comment
I guess you can't. UnityWebRequest.Put and UnityWebRequest.Post needbyte[]
as inputs.
– derHugo
Mar 22 at 15:25
That's the HLAPI, Uploading streamed data is supported by their LLAPI: Creating Upload Handlers
– Foggzie
Mar 22 at 15:33
@Foggzie as far as I can see in their example they also// ... fill payload with data ...
(which is abyte[]
) before they start the upload
– derHugo
Mar 22 at 15:59
That's what the constructor accepts but it's still uploaded as a stream. "This buffer is copied internally into native code memory and then used by the UnityWebRequest system when the remote server is ready to accept body data.". From the UnityWebRequests page it states: "It also supports high-demand features such as chunked HTTP requests, *streaming POST/PUT operations*, and...."
– Foggzie
Mar 22 at 16:10
@Foggzie But we still have to read entire file as byte first, and pass it as parameter right?
– Harsh Priyadarshi
Mar 23 at 5:54
I guess you can't. UnityWebRequest.Put and UnityWebRequest.Post need
byte[]
as inputs.– derHugo
Mar 22 at 15:25
I guess you can't. UnityWebRequest.Put and UnityWebRequest.Post need
byte[]
as inputs.– derHugo
Mar 22 at 15:25
That's the HLAPI, Uploading streamed data is supported by their LLAPI: Creating Upload Handlers
– Foggzie
Mar 22 at 15:33
That's the HLAPI, Uploading streamed data is supported by their LLAPI: Creating Upload Handlers
– Foggzie
Mar 22 at 15:33
@Foggzie as far as I can see in their example they also
// ... fill payload with data ...
(which is a byte[]
) before they start the upload– derHugo
Mar 22 at 15:59
@Foggzie as far as I can see in their example they also
// ... fill payload with data ...
(which is a byte[]
) before they start the upload– derHugo
Mar 22 at 15:59
That's what the constructor accepts but it's still uploaded as a stream. "This buffer is copied internally into native code memory and then used by the UnityWebRequest system when the remote server is ready to accept body data.". From the UnityWebRequests page it states: "It also supports high-demand features such as chunked HTTP requests, *streaming POST/PUT operations*, and...."
– Foggzie
Mar 22 at 16:10
That's what the constructor accepts but it's still uploaded as a stream. "This buffer is copied internally into native code memory and then used by the UnityWebRequest system when the remote server is ready to accept body data.". From the UnityWebRequests page it states: "It also supports high-demand features such as chunked HTTP requests, *streaming POST/PUT operations*, and...."
– Foggzie
Mar 22 at 16:10
@Foggzie But we still have to read entire file as byte first, and pass it as parameter right?
– Harsh Priyadarshi
Mar 23 at 5:54
@Foggzie But we still have to read entire file as byte first, and pass it as parameter right?
– Harsh Priyadarshi
Mar 23 at 5:54
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55302223%2fuploading-large-files-using-unitywebrequest%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55302223%2fuploading-large-files-using-unitywebrequest%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I guess you can't. UnityWebRequest.Put and UnityWebRequest.Post need
byte[]
as inputs.– derHugo
Mar 22 at 15:25
That's the HLAPI, Uploading streamed data is supported by their LLAPI: Creating Upload Handlers
– Foggzie
Mar 22 at 15:33
@Foggzie as far as I can see in their example they also
// ... fill payload with data ...
(which is abyte[]
) before they start the upload– derHugo
Mar 22 at 15:59
That's what the constructor accepts but it's still uploaded as a stream. "This buffer is copied internally into native code memory and then used by the UnityWebRequest system when the remote server is ready to accept body data.". From the UnityWebRequests page it states: "It also supports high-demand features such as chunked HTTP requests, *streaming POST/PUT operations*, and...."
– Foggzie
Mar 22 at 16:10
@Foggzie But we still have to read entire file as byte first, and pass it as parameter right?
– Harsh Priyadarshi
Mar 23 at 5:54