shiny.types.FileInfo#

class shiny.types.FileInfo(_typename, _fields=None, /, **kwargs)#

Information about a file upload.

See also

input_file

Example

See input_file().

Attributes

name

The name of the file.

size

The size of the file in bytes.

type

The MIME type of the file.

datapath

The path to the file on the server.