Skip to content

Remove unfinished uploads #267

@ck23onGithub

Description

@ck23onGithub

Question:
Is it possible to get the name of the file in the FS when the upload starts?

it immediately creates the file in FS when upload is started, right? is there any possible way to get this?

I'm thinking of deleting the file if the upload was not finished.

Why I need this? Here is the scenario I'm thinking:

  1. Client uploads a file
  2. While upload is ongoing, he closed his browser (or something like losing connection from the client side) and returns only after a few hrs
  3. A file remains in the FS and I need to delete it

I'm thinking if there is a way to get the file name of the created file, from the client side, I'll just pass it to the server and then remove it some time in the future.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions