Binary File Handling
From SmartWiki
Revision as of 09:05, 30 August 2013 by Arthur Lathrop (talk | contribs)
Export a File field using Report XML export
Put <!--FileExportBinary--> inside details box of Custom Export template
XML exported
Export XML size will be at least twice the total size of all files.
Autoloader can be used to import file field as well
Three nodes are mandatory:
- filename,
- url and
- data
The file node MUST contain a datatype="binary" attribute.
The system will ignore the data node if the URL starts with "http" or "ftp." The system will download a copy from the remote site and store a local copy.
if authentication is required for FTP resources, please use this format: ftp://username:password@hostname/myfolder/my.document.doc