Przeskocz do zawartości głównej Przejdź do treści uzupełniającej

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.
InformacjaAs 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

Czy ta strona była pomocna?

Jeżeli natkniesz się na problemy z tą stroną lub jej zawartością — literówkę, brakujący krok lub błąd techniczny — daj nam znać, co możemy poprawić!