QOps-ImportFile

Uploads a file from your disk into the data files of a Qlik Cloud space — the same files a load script reads with lib://<space>:DataFiles/<file>. A name already present in the space is replaced in place, so re-running the same command after a change works without an overwrite switch.

Needs Qlik Cloud. Run against a Qlik Sense or QlikView configuration, the command reports that data files are supported only in Qlik Cloud mode and stops without doing anything.

See also QOps-ExportFile for the other direction and QOps-RemoveFile for deleting a file from the space.

Syntax

QOps-ImportFile -Space [Space] -Path [Path] [-Profile] [-Verbose]

-Space specifies the Qlik Cloud space the file is uploaded into. Required. The space is found by name; the API key you are configured with has to be a member of it.

-Path specifies the local file to upload, or a wildcard matching several files on disk. Required. A relative path is counted from where you are standing.

-Profile overrides default User Profile with the specified one

-VerboseLog enables full verbose output including complete API response dumps and debug information. By default, QOps now produces concise output summaries.

New in version 3.0.14

Examples

QOps-ImportFile -Space Sales -Path .\data\Customers.csv


QOps-ImportFile -Space Sales -Path .\data\*.csv