Adds a new alternative file.

Param1 $resource The ID of the resource.
Param2 $name A short descriptive name for the new alternative file.
Param3 $description A more verbose description.
Param4 $file_name The file name of the new alternative file.
Param5 $file_extension The extension of the new alternative file.
Param6 $file_size The size of the alternative file in bytes
Param7 $alt_type
Param8 $file Optional; v8.1 and above
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.