http://onionworks.net/2006/data/editing

createBinary (filename : string, mimeType : string) : string

The method “createBinary” writes a binary data object on the basis of a physical file or a link to a binary method in onion.net and returns the ReferenceIdentifier as the result.

If the binary object cannot be produced in onion.net, then no ReferenceIdentifier is returned.