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;








0















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?










share|improve this question






















  • 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 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












  • @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

















0















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?










share|improve this question






















  • 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 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












  • @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













0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 14:48









Harsh PriyadarshiHarsh Priyadarshi

167




167












  • 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 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












  • @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












  • 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











  • 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












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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현