Constructor: upload.file

Back to constructors index

File content.

Attributes:

Name Type Required Description
type storage.FileType Yes File type
mtime int Yes Modification type
bytes bytes Yes Binary data, file content

Type: upload.File

Example:

$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes'];

Or, if you’re into Lua:

upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.