Publishes the file to a web accessible path. Takes a path as the argument.
Example:
aFile.publish('/theFile');
If a file object is published to the same path as a a JavaScript function (via the publishPath method) the File object takes priority.
Parent
File
|