Binary File Handling

From SmartWiki
Revision as of 10:20, 14 May 2014 by Arthur Lathrop (talk | contribs) (See Also)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Export a File field using Report XML export

Put <!--FileExportBinary--> inside details box of Custom Export template
Xmlexport.jpg

XML exported

Xmlfileexport.jpg

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.
Xmlautoload.jpg

if authentication is required for FTP resources, please use this format:
ftp://username:password@hostname/myfolder/my.document.doc


See Also