API docs     >     Files     >     FileMgr

FileMgr->add

Description

add ( $parentFileId, $name, $fileType )
Adds a new File to the specified parent File folder

Parameters

$parentFileId
int
Parent File Id
$name
string
(optional) File name
$fileType
int
Filetype Id

Returns

int
New File Id