Available for: Content Management Server, Search Engine Server
Task: This command streams the contents of a file to the Content Management Server so that other applications or scripts can fetch them from there.
Additional information: The command can be called only in
-single
mode or from within wizards.
Syntax:
stream uploadFile path
Function parameters:
path
is the path of the file to be
streamed to the Content Management Server.Return value if successful: the streaming ticket ID with which the file can be fetched.
Necessary permissions: no restrictions
Example:
CM>stream uploadFile /tmp/test 2097