4Suite API Documentation

Module Ft.Server.Client.Commands.Fetch

This command retrieves the content of a resource from a 4Suite repository. It requires a subcommand specifying which type of resource to fetch. See the help message for one of the subcommands for specific usage info.
Functions:
Globals:

Modules

This command produces a directory-like listing of the resources that are the children of a Container in a 4Suite repository. Columns in the listing include: Internet Media Type, size in bytes, date last modified, and resource's relative name. If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command produces a summary of the information in a Document Definition resource ("DocDef") in a 4Suite repository. For XSLT based DocDefs, fetches the XSLT document. For XPath based DocDefs, provides a formatted summary. If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command prints the content of an XML-based document (e.g. an XML Document or XSLT Document) in a 4Suite repository. Currently, the output is the same as for '4ss fetch rawfile', but it may eventually be interpreted as if processed by a repository-aware version of '4xml'. If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command prints information about a Group resource in a 4Suite repository. It lists the group's members and summarizes its ACL. If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command prints the raw content of a resource in a 4Suite repository, without additional interpretation. The resource type must be a Raw File or a subclass thereof (most resource types are). If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command prints a summary of the metadata for a resource in a 4Suite repository. Metadata includes the resource type, creation date, last modified date, Internet Media Type, size, owner, and ACL. If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command prints information about a User resource in the 4Suite repository. Lists the user's password hash, ACL, and group membership. If necessary, you will be prompted first for credentials and access info to connect to the repository.
This command lists the custom name-value data pairs associated with a User resource in a 4Suite repository. If necessary, you will be prompted first for credentials and access info to connect to the repository.

Functions

Register()

Globals

g_subCommands = [<module 'Ft.Server.Client.Commands.Fetch.Contain....3/Ft/Server/Client/Commands/Fetch/Container.py'>, <module 'Ft.Server.Client.Commands.Fetch.Group' ...86-2.3/Ft/Server/Client/Commands/Fetch/Group.py'>, <module 'Ft.Server.Client.Commands.Fetch.DocDef'...6-2.3/Ft/Server/Client/Commands/Fetch/DocDef.py'>, <module 'Ft.Server.Client.Commands.Fetch.Documen...2.3/Ft/Server/Client/Commands/Fetch/Document.py'>, <module 'Ft.Server.Client.Commands.Fetch.RawFile...-2.3/Ft/Server/Client/Commands/Fetch/RawFile.py'>, <module 'Ft.Server.Client.Commands.Fetch.Resourc...2.3/Ft/Server/Client/Commands/Fetch/Resource.py'>, <module 'Ft.Server.Client.Commands.Fetch.User' f...686-2.3/Ft/Server/Client/Commands/Fetch/User.py'>, <module 'Ft.Server.Client.Commands.Fetch.UserDat...2.3/Ft/Server/Client/Commands/Fetch/UserData.py'>]