File Database

Provides a database to manage binary files. Each stored file is identified with a globally unique identifier (Guid) at a domain level.

Files can be uploaded to a database with the File control from user interface or can be created with scripting environment $Files object.

Accessing a File

Unique file id can be used to build a URL address in "http(s)://mydomain.emakin.com/file/<fileId>" format. This file url can be accessed from anonymous environment.

Security

Generated guid values are already secured, so there is no need for additional security to be performed. But IP restriction can also be applied at a domain level if it is required.

Accessing to the file by default shows the preview application, if it is supported. If you want just to download, please use the "http(s)://mydomain.emakin.com/attachment/<fileId>" format to force.

Revisioning

In emakin every file has its own unique identifier, and any update on the file is stored with new identifier and marked as "revision". When revision is completed, the new file content is replaced with the old file to keep id number same.

Updates from user interface are automatically handled, but in scripting environment you may need to use Files.Replace method to update revision.

Copyright © 2010 - 2023 Emakin. All rights reserved.