Code Monkey home page Code Monkey logo

Comments (8)

rstefko avatar rstefko commented on September 2, 2024 3

With multiple files it takes even more. But in this case it was just a one file. The point is if we can display some info to user so that he knows that he should stay on the page. Eg. leave 99% instead of 100% in progress or display some message.

from fileshelter.

epoupon avatar epoupon commented on September 2, 2024 1

Ok I am currently rewriting this part!

from fileshelter.

epoupon avatar epoupon commented on September 2, 2024

Was the user uploading several files?
There are indeed several steps after upload: move the file from a tmp dir to the final dir (should be instant) and zip all the files together (may be long)

from fileshelter.

epoupon avatar epoupon commented on September 2, 2024

Hope it will be fine in v5 (current local tests do not show this bug)

from fileshelter.

rstefko avatar rstefko commented on September 2, 2024

I still have issues with that. I am now trying to upload a huge file (around 60 GB), but it hangs on 100%. I can see in the uploaded-files folder that the file is there, but when it is on 100% it is doing some copy of the file on the server. Not sure why it is doing so. After a few minutes both files disappear. I dont have any relevant log now, will try to get it. Can I disable the copy operation?

from fileshelter.

epoupon avatar epoupon commented on September 2, 2024

Hmm this is strange. In v5, no copy should occur.
Never tried to upload such a big file, I will try to reproduce.

from fileshelter.

rstefko avatar rstefko commented on September 2, 2024

I tried to upload a 500MB file and also see that when it is on 100% it creates a "copy" of the file:

image

In this case wtUqnjzS is the "copy" which is left there as the final one and the "temporary file" created during upload wtHsj3bv gets removed after it finishes.

from fileshelter.

montoyatim01 avatar montoyatim01 commented on September 2, 2024

I just wanted to chime in to say that I'm seeing the same behavior, on the newly released v6.0. I've attempted an upload of a 4.6GB file, and the progress bar holds on 100% while it's doing a copy on the backend. I was monitoring the directory throughout the process and indeed I could see the second file "wte" grow in size as the original file "wtg" remained intact. Once the copy was completed, the "wtg" file was removed.
Screen Shot 2023-06-30 at 2 53 31 PM

from fileshelter.

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.