Show TOC

IF_WD_ACFUPDOWNLOAD_SWFSLocate this document in the navigation structure

Method CHOOSE_FILE

Method CHOOSE_FILE displays the file selection dialog box, which is used to select a file on the local computer.

If you choose Open at the end of the dialog box, the path of the selected file is returned.

Method Parameters

  • WINDOW_TITLE

    Title of the file selection window.

    Enter @acf_null if you want a standard title based on the default language to be displayed. For example, if you want to use an Internet browser whose language is set to English, the title is Open .

  • START_DIRECTORY (optional)

    Initial directory for the file selection dialog. The file selection dialog will display all files in the specified path. For example, if you enter C:\ , the directory C: and its files are displayed.

  • DEFAULT_FILE (optional)

    Default file to be opened

    This file is selected by the file selection dialog if this is displayed.

  • FILTER (optional)

    Filter.

    File name extension used to display only those files with the extension specified in the file selection dialog. Files with other name extensions are hidden. For example, if *.ini,*.txt is specified, only txt and ini files are displayed.

  • FILTER_DESCRIPTION (optional)

    Filter description.

    If you used a filter, you can assign it a name (description). For the filter specified above, for example, this could be Only TXT and INI files .

  • CONTEXT_ATTRIBUTE

    Context attribute, see IF_WD_CONTEXT_ELEMENT .

  • DIRECTORY_ONLY (optional)

    If the value of the parameter is true, the user can select a local directory, rather than a file (network hard drive paths are not permitted).

    If the parameter is set to false (not set), a file can be selected in the usual way.

Test Application

You can find a test application in the system in component WD_ACF_TEST_UPDOWN_SWFS.