Giter VIP home page Giter VIP logo

Comments (6)

ankitpokhrel avatar ankitpokhrel commented on May 25, 2024 1

Browser cache has been emptied, and tus:expired has already been run.

@alexandrelgy There is no relation with browser cache and tus:expired will only delete expired uploads. Default TTL is 1 day.

You need to delete server cache to upload same file again. For redis you can connect to redis server and delete the entry. If you are using file cache then you can delete .cache/tus_php.cache file.

from tus-php.

samundra avatar samundra commented on May 25, 2024

@alexandrelgy If you are trying to upload same file on the same upload directory then you have to clear the cache and also delete the file from the server upload directory everytime before upload from the client.

from tus-php.

alexandrelgy avatar alexandrelgy commented on May 25, 2024

I've already cleared browser cache, run tus:expired and deleted files from directories(forgot to mention last one sorry).
Each time file has done uploading, it is moved to another custom directory with a custom mtdir function.

controller
js

from tus-php.

samundra avatar samundra commented on May 25, 2024

@alexandrelgy Can you please share the code on pastebin.com or somewhere in online and remove the attached link to downloadable files.

And after removing the browser cache also you were unable to upload files?

from tus-php.

alexandrelgy avatar alexandrelgy commented on May 25, 2024

Thanks for sharing good practices. I've edited my post.

And after removing the browser cache also you were unable to upload files?

No neither ! The TusFile sends a uploaded 100% message.

from tus-php.

alexandrelgy avatar alexandrelgy commented on May 25, 2024

That's what I was looking for thanks !

from tus-php.

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.