Skip to content

Uploading large files in browser with PUT and chunks. #25181

Closed

Description

@macdabby

My current environment, Nginx with PHP FPM - although the same issue is present in apache and other php configurations.

Currently if I want to upload a 10gig file, i would be required to change the max file size in nginx to 10G, as well as the max file size in PHP-FPM, as well as the memory requirement in PHP-FPM. The memory requirement one is the worst because I only have 4G on the server.

In HTML5, there is now an option to read a file into chunks and upload using separate requests, as implemented in this JS library:

https://github.com/23/resumable.js

It would be great to implement this into the web interface, as well as the app to be able to upload large files in smaller chunks, so that the size and memory of the web server and php server are irrelevant. even with an external storage system, if the file were written to a temp directory, it could be moved to an external storage system (or standard data storage location) once it's complete.

Activity

  1. tflidd commented on Jun 20, 2016

    @tflidd
    Contributor
  2. PVince81 commented on Jun 21, 2016

    @PVince81
    Contributor

    Partially discussed in #4380 which is the first step.

    But there is no dedicated ticket for PUT chunking in the browser, so reusing this one.

  3. added this to the milestone on Jun 21, 2016
  4. changed the title [-]Uploading large files using smaller chunks.[/-] [+]Uploading large files in browser with PUT and chunks.[/+] on Jun 21, 2016
  5. PVince81 commented on Oct 7, 2016

    @PVince81
    Contributor

    Okay, there is indeed an older ticket. Closing as duplicate of #8955

  6. lock commented on Aug 3, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions