Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0

With the Filesystem adapter, you can write, read, rename, remove files and retrieve status information about a file.

ItemLink
Reading a File
Multiexcerpt include
MultiExcerptNametoc
PageWithExcerptReading a File
shouldDisplayInlineCommentsInIncludesfalse

Writing to a File

Multiexcerpt include
MultiExcerptNametoc
PageWithExcerptWriting to a File
shouldDisplayInlineCommentsInIncludesfalse

Handling the File Object

Multiexcerpt include
MultiExcerptNametoc
PageWithExcerptHandling the File Object
shouldDisplayInlineCommentsInIncludesfalse

Directory and File Alias

Multiexcerpt
MultiExcerptNamealiases
shouldDisplayInlineCommentsInIncludesfalse

The Filesystem adapter can be configured with two different types of aliases:

  • Directory Alias
    The Directory alias specifies a path to a directory and the default encoding for the contained files. You can use it for static directory access or to define a base path and encoding for file and directory handling.

  • File Alias
    The File alias specifies a path to a file and its encoding. You can use it for static file access (see below).

Static and Dynamic Filesystem Access

Multiexcerpt
MultiExcerptNamestatic_dynamic_access
shouldDisplayInlineCommentsInIncludesfalse

You can use the Filesystem Adapter in three ways: statically, dynamically, and in a mixed mode between both.

ItemDescription
StaticStatic access means that the path to the file/directory is defined statically to the service via an alias. Every time you use an operation of the Filesystem adapter, you need to select the related alias on the operation. The attributes of the alias are static within a service but can be changed in the service settings.
DynamicDynamic file access means that the path to the file/directory has to be provided manually via input parameters for every usage of an operation of the Filesystem adapter.
MixedYou can also mix static and dynamic file access. All attributes that have been assigned to an adapter call via the related alias can still be overwritten manually. Or, you can configure only some attributes on the alias, and provide others dynamically.
This way, you can e.g. specify a base directory using a DirectoryAlias, and write different files to that directory. Or, specify a default encoding and write different files.
Panel
titleOn this Page:
Table of Contents
rp
Panel
titleRelated Pages:

Children Display