NAME

Yote::YapiServer::File - Persisted file upload metadata

DESCRIPTION

Represents an uploaded file stored on the server. Created automatically when a method with files access receives an f-prefixed argument.

Files are content-addressed (SHA-256 hash of content as filename) and stored under www/webroot/img/<2-char-prefix>/.

FIELDS

url           - web-accessible path (public)
type          - MIME type (public)
size          - file size in bytes (public)
original_name - original upload filename (owner_only)
file_path     - server filesystem path (never sent to client)
owner         - uploading user (owner_only)