Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Save and close file block

The save and close file block saves a file that has been opened during the execution of an automation and then closes it.

save and close file block

A save and close file block is commonly used in the following situation:

  • When you open a file in an automation to read or write data to it.
Information noteAs a best practice, use the Save and close file block after the Write line to file block to ensure the content is written to the file when exported to the cloud storage platform.

Configuring a save and close file block

Configure the block to safely save and close an open file.

Inputs

The save and close a file block requires a file from a preceding block. The File field is automatically populated with any open files in your automation from preceding blocks.

Save and close file block inputs

save and close file block with file selected

Settings

The Settings tab is where you choose what the block does if it encounters an error.

Block settings tab

General settings for all cloud storage blocks

Connection

The Connection tab is where you can authenticate your cloud storage provider. Once you select the storage provider on the Inputs tab, a Connect button appears here which opens up an authentication window. You must authenticate the connection to use this block.

Block connection tab

Check if file exists block with Connect your dropbox shown

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!