Adds a new alternative file.

$resource * The ID of the resource.
$name * A short descriptive name for the new alternative file.
$description A more verbose description.
$file_name The file name of the new alternative file.
$file_extension The extension of the new alternative file.
$file_size The size of the alternative file in bytes
$alt_type Used as a tag that in conjunction with configuration $alt_types_organize will group and organize the display of alternative files
$file Optional
Alternative file location to copy over to ResourceSpace. Can be a physical path or URL.

Return values

The ID of the new alternative file or false on failure.