Git Product home page Git Product logo

Comments (17)

mariodivece avatar mariodivece commented on August 17, 2024

We will look into implementing large, chunked file transfers this week. Thanks for the good bug report!

from embedio.

geoperez avatar geoperez commented on August 17, 2024

@egops are you using HTTP partials? Usually if you don't use partial to chunk your file in multiple small request the entire file is loaded to stream it.

In the unit tests is a sample how to use partials: https://github.com/unosquare/embedio/blob/master/Unosquare.Labs.EmbedIO.Tests/StaticFilesModuleTest.cs#L108

from embedio.

egops avatar egops commented on August 17, 2024

@geoperez Thank you for your advice, I need the file can be downoaded by any browser, I think this solution is not suit for me.

from embedio.

egops avatar egops commented on August 17, 2024

@mariodivece OK, thank you for nice work.

from embedio.

mariodivece avatar mariodivece commented on August 17, 2024

@geoperez see if it would be possible to send out the file from the stream little by little avoiding an oomex please. Partials are not really the solution to this exception.

from embedio.

geoperez avatar geoperez commented on August 17, 2024

Sure, let me take a look.

On Sep 6, 2016 6:17 AM, "Mario Di Vece" [email protected] wrote:

@geoperez https://github.com/geoperez see if it would be possible to
send out the file from the stream little by little avoiding an oomex
please. Partials are not really the solution to this exception.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#42 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsYsEpw5FBXSy4ABJT77faeGIPZGsM7ks5qnUvPgaJpZM4J08aq
.

from embedio.

mariodivece avatar mariodivece commented on August 17, 2024

@egops we continue working on this. it should be ready in a couple of days. @geoperez decided to cleanup the monolithic-looking request handler that includes large file serving

from embedio.

geoperez avatar geoperez commented on August 17, 2024

@egops can you check the new Nuget (1.0.23)?

from embedio.

egops avatar egops commented on August 17, 2024

@geoperez I updated the version, any file can NOT be downloaded by my browsers ( IE and Firefox ) now!
Logs here when I try to download file:

2016-09-12 19:43:08.419 Start of Request d8741d92
2016-09-12 19:43:08.419 Source ::1:54160 - GET: /nvio.npg
2016-09-12 19:43:08.419 Static Files Module::StaticFilesModule.<.ctor>b__37_2
2016-09-12 19:43:08.419 File System: D:/nvio.npg
2016-09-12 19:43:08.601 Result: True
2016-09-12 19:43:08.601 End of Request d8741d92

but the browser shows nothing.
Can you check it out?

from embedio.

geoperez avatar geoperez commented on August 17, 2024

I didn't see any issue in the unit tests, let me investigate it.

On Sep 12, 2016 6:49 AM, "egops" [email protected] wrote:

@geoperez https://github.com/geoperez I updated the version, any file
can NOT be downloaded by my browsers ( IE and Firefox ) now!
Logs here when I try to download file:

2016-09-12 19:43:08.419 Start of Request d8741d92
2016-09-12 19:43:08.419 Source ::1:54160 - GET: /nvio.npg
2016-09-12 19:43:08.419 Static Files Module::StaticFilesModule.<.ctor>b__37_2
2016-09-12 19:43:08.419 File System: D:/nvio.npg
2016-09-12 19:43:08.601 Result: True
2016-09-12 19:43:08.601 End of Request d8741d92

but the browser shows nothing.
Can you check it out?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#42 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsYsFYopCt6aAAugHEqfaBdh_ed480_ks5qpTxfgaJpZM4J08aq
.

from embedio.

mariodivece avatar mariodivece commented on August 17, 2024

Guys, egops has the wrong path. See:
GET: /nvio.npg
Shouldn't it be nvio.png?
If not then verify the mime type is in the list.

from embedio.

geoperez avatar geoperez commented on August 17, 2024

Mario there's something wrong, I'm checking it.

On Sep 12, 2016 8:39 AM, "Mario Di Vece" [email protected] wrote:

Guys, egops has the wrong path. See:
GET: /nvio.npg
Shouldn't it be nvio.png?
If not then verify the mime type is in the list.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#42 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsYsHTUSKIWYBA-hxpPPcnO61eO2SBqks5qpVYFgaJpZM4J08aq
.

from embedio.

mariodivece avatar mariodivece commented on August 17, 2024

Ok. The other strange thing I noticed is that the result was TRUE for the request. Shouldn't it return FALSE when the file is not found?

from embedio.

geoperez avatar geoperez commented on August 17, 2024

I found the issue, when the browser request includes Header Compression the stream compressed is not valid. Working on patch.

from embedio.

geoperez avatar geoperez commented on August 17, 2024

Hello @egops can you try with the new nuget?

from embedio.

egops avatar egops commented on August 17, 2024

@geoperez @mariodivece thank you very much, I will try it tomorrow.

from embedio.

egops avatar egops commented on August 17, 2024

@geoperez @mariodivece it works well now.

from embedio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.