Working with Files#

The block allows you to upload a file to a remote computer or download a file.

Process ID

[Link] A variable that stores the process ID. Indicates which application needs to be worked with.

If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab that the block should work with.

If the property is left empty, or if the process ID variable was not previously assigned at the moment of launching the application or opening the browser, the application and browser tab will be determined from the content of the corresponding selector line.

The process ID can be obtained, for example, using the Run Application or Get Process blocks.

Remote File[Text] The full path of the file on the remote computer.
Local File[Text] The full path of the file on the local computer.
Operation

The operation being performed.

Possible values:

  • Upload - uploading a local file to the path of the remote file (uploading a local file);
  • Download - downloading a remote file to the path of the local file (downloading a remote file).
Timeout[Number] The timeout for the operation to complete. If the value is zero, the property is ignored, and the block will wait for the operation to fully complete.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value of the "Start" block of this diagram will be used.

Message Level

Select the message level that the blocks will output during operation. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value of the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.