File repository

Navigation:  Client commands > Tools > Client command editor > Command list >

File repository

Version 1.0.0

Show hidden text

The file repository allows you to specify files for Client Commands. These data will be loaded later while executing the client. However, the file repository distinguishes between data of the Global folder and the Private folder. The Global folder can be centrally accessed from any client, while the Private folder can only be accessed from a single client with a command. For further information about file repositories, see Distributed File Repositories, , as well as File Repo./Updates. The file repository is accessed via the corresponding button above the Command list.

 

hmtoggle_arrow1Upload file

With this command, some files can be loaded into the file repository. Enter the required files in the Details tab with the right-hand button. In Store files to you enter the folder of the file repository where the files are stored. You can manually enter this folder or call the file repository with the button, then mark a folder and select it with the Close button.

 

hmtoggle_arrow1Download file

With this command you can download files from the file repository. In the Search file(s) tab, select the desired files from the file repository with the right-hand button, which are then displayed in the text field. In Save As, specify the path where the files should be stored. You can enter this path manually, or insert it with the button to the right of this input field. With the Overwrite existing file(s), any existing files will be replaced by the loaded files. Use the Always use ACMP server for downloads option determines that the files are always loaded from the ACMP server, even when other file repositories are assigned to the client   (see Distributed File Repositories, as well as File Rep./Updates)

 

Hinweis

Note:

If this command is used within a function (see Functions), the data will be always loaded from the ACMP server. In this case, the Always use ACMP server for downloads option is ignored.

 

In the Specify file(s) tab, you can enter files directly with their file names. For this purpose, you will find two text fields. In the top text field, you can enter the files that can be found in the file repository, while the files in the bottom text field are loaded from the Private folder.

 

hmtoggle_arrow1Delete file

With this command you can delete files from the file repository.

 

In the Browse for file(s) tab, you can select and accept files from the opened file repository via the right-hand button. The selected files will now appear in the text field and will be deleted from the file repository when the command is called.

 

In the Specify file(s) tab, you can specify the files that are to be deleted from the global as well as the private section of the file repository. List the required file names one below the other. Please note that it is not permitted to use wildcards (e.g., *.tmp).

 

In the Specifiy folder(s) tab, you can specify entire directories that are to be deleted from the global and private section of the file repository. In this case, the listed directories, including their existing files and subdirectories, will be deleted. Do this by specifying a directory name per line.

 

hmtoggle_arrow1Iterate file repository

With this command you can check, for example, if the file repository contains a file or not. This is achieved by executing the subordinate commands under this command (similar to a for ... each loop).

 

To this end, you can define the section of the file repository to be scanned (global/private) in the Details tab. In addition, you must specify an existing variable or create a new one (see Variables).

It is recommended that a subordinate If...then command, and an Else command, if necessary, to this command to avoid having to treat all files.

Last change on 10.03.2014