Skip to content

Feature Request: Support for Moving / Renaming Files in Vercel Blob #872

@tillschweneker

Description

@tillschweneker

Currently, all uploaded files in Blob Storage are publicly accessible, and the uploader immediately knows the file’s public URL.
In my use case, I want to prevent the uploader from having knowledge of the file’s final URL.

To work around this, I currently:

  1. Use onUploadCompleted to copy the uploaded file into a new, unguessable folder with a randomized filename.
  2. Delete the original file once the copy is finished.

This works, but it is slow and inefficient for large files. For example, copying a 1GB file takes ~20 seconds, which adds unnecessary latency and cost.

Feature Request

It would be very beneficial if the SDK / API supported:

  • Move or Rename operations (instead of copy + delete).
  • This would allow setting the final path/filename without duplicating file data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions