Code Monkey home page Code Monkey logo

Comments (7)

pionl avatar pionl commented on May 28, 2024

Hi @affinitycloud, this is strange. Could you send me Chrome .har file when - record the network activity when uploading (with finish) and export it. Also when I have time, I will update the example project with success callback.

I will check the communication for any possible issue.

from laravel-chunk-upload.

dainemedia avatar dainemedia commented on May 28, 2024

Hi @pionl I'm not sure it's down to you, to be fair. It appears, when using chunked uploads, that the response you'd expect as part of the success event is actually contained within the xhr property of the file.

So, once success fires, you get an empty responseText but can access the response you need via file.xhr.response, which is a little counterintuitive, to say the least, but I believe this is Dropzone itself.

from laravel-chunk-upload.

pionl avatar pionl commented on May 28, 2024

That definitely sucks! I When I have a time, I will update the demo + wiki for further usage. Thanks!

from laravel-chunk-upload.

shamshadzaheer avatar shamshadzaheer commented on May 28, 2024

Hello @pionl I have implemented Laravel Chunk with Dropzone. Upload with small files are working fine but while I am uploading large files, it gets stuck in middle.
Screen Shot 2019-12-21 at 10 50 28 PM

from laravel-chunk-upload.

pionl avatar pionl commented on May 28, 2024

@dainemedia I've found a solution: https://github.com/pionl/laravel-chunk-upload/wiki/Dropzone#get-final-response-data

from laravel-chunk-upload.

pionl avatar pionl commented on May 28, 2024

Hello @pionl I have implemented Laravel Chunk with Dropzone. Upload with small files are working fine but while I am uploading large files, it gets stuck in middle.
Screen Shot 2019-12-21 at 10 50 28 PM

Do you have any logs? I'm pushing new fix that is related with dropzone.

from laravel-chunk-upload.

Danmanu44 avatar Danmanu44 commented on May 28, 2024

$save->getFile() is returning empty dont know why, but while the chunks are uploaded successfully

from laravel-chunk-upload.

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.