Skip to content

Document how to get uploaded file name and content type #236

Open

Description

@23doors

Filename and content type are saved as file buffer properties - filename and contentType.

E.g.

ctx.args.file.filename 
ctx.args.file.contentType

Activity

  1. Idered commented on May 16, 2018

    @Idered
    Member

    ctx.args.file.size would also be helpful

    // Edit:

    ctx.args.file.length is available

  2. mkucharz commented on Nov 21, 2018

    @mkucharz
    Member

    @mattlsp can you create some docs about how we are handling files in scripts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions