Skip to content

Encode a file form html <input> #23

@lazaro92

Description

@lazaro92

Hi,
when I chose a file from an input tag of html, I have acces to an array of File object. Every File object has tihs elements:

{ lastModified: 42342342 lastModifiedDate: Date ... name: "272.jpg" size: 46675 type: "image/jpeg" }
How can I access to the file and do a $base64.encode(file) of it's data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions