data-file create
qlik data-file create
Upload a new data file.
Synopsis
Upload a new data file.
qlik data-file create [flags]
Options
--appId string If this file should be bound to the lifecycle of a specific app, this is the ID of this app.
--connectionId string If present, this is the DataFiles connection that the upload should occur in the context of. If absent,
the default is that the upload will occur in the context of the MyDataFiles connection. If the DataFiles
connection is different from the one specified when the file was last POSTed or PUT, this will result in
a logical move of this file into the new space.
-f, --file string Path to the file that should be included in the request.
-h, --help help for create
--interval int Duration in seconds to wait between retries, at least 1 (default 1)
--name string Name that will be given to the uploaded file. It should be noted that the '/' character
in a data file name indicates a 'path' separator in a logical folder hierarchy for the name. Names that
contain '/'s should be used with the assumption that a logical 'folder hierarchy' is being defined for the
full pathname of that file. '/' is a significant character in the data file name, and may impact the
behavior of future APIs which take this folder hierarchy into account.
-q, --quiet Return only IDs from the command
--raw Return original response from server without any processing
--resumable Make a resumable request, recommended for large payloads.
The request is split in chunks. If the request is interrupted, it can be resumed by repeating the same command. (default true)
--retry int Number of retries to do before failing, max 10
--sourceId string If a SourceId is specified, this is the ID of the existing data file whose content should be copied into
the specified data file. That is, instead of the file content being specified in the Data element,
it is effectively copied from an existing, previously uploaded file.
--tempContentFileId string If a TempContentFileId is specified, this is the ID of a previously uploaded temporary content file whose
content should be copied into the specified data file. That is, instead of the file content being specified
in the Data element, it is effectively copied from an existing, previously uploaded file. The expectation
is that this file was previously uploaded to the temporary content service, and the ID specified here is
the one returned from the temp content upload request.
Options inherited from parent commands
-c, --config string path/to/config.yml where parameters can be set instead of on the command line
--context string Name of the context used when connecting to Qlik Associative Engine
--headers stringToString HTTP headers to use when connecting to Qlik Associative Engine (default [])
--insecure Enabling insecure will make it possible to connect using self-signed certificates
--json Returns output in JSON format, if possible. Disables verbose and traffic output
-s, --server string URL to Qlik Cloud or directly to a Qlik Associative Engine
--server-type string The type of server you are using: cloud, Windows (Enterprise on Windows) or engine
-v, --verbose Log extra information