跳到主要内容 跳到补充内容

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.
信息注释As 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

本页面有帮助吗?

如果您发现此页面或其内容有任何问题 – 打字错误、遗漏步骤或技术错误 – 请告诉我们如何改进!