PlatformAPI.TOTAPutFileFlags

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TOTAPutFileFlags = set of (opffRunnable, opffArchive, opffScript);

Properties

Type Visibility Source Unit Parent
set public PlatformAPI.pas PlatformAPI PlatformAPI

Description

TOTAPutFileFlags are flags for a TOTAPutFileItem record that indicate how to handle the specified file after copying it to a remote system. You may use any combination of the following flags:

  • opffRunnable: Gives the file execution permissions. This is required on POSIX-compliant systems, such as OS X or Linux, if you need to execute the file eventually.
  • opffArchive: Unzips the file.
  • opffScript: Executes the file.
    Note: opffScript implies opffRunnable.

See Also