TFTPFolder class - Platform - BlueCat Gateway - 22.11.1

Gateway Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.11.1

Click a link to jump to the indicated section.

class bluecat.tftp.TFTPFolder(api, api_entity)

Bases: bluecat.tftp.TFTPGroup

TFTP folders are used to create the directory structure on the TFTP server.

add_tftp_deployment_role(server_interface, properties='')

Adds a TFTP deployment role to a specified object.

Parameters Description
server_interface The object ID/server interface object to which the TFTP deployment role is to be added.
properties Adds object properties, including user-defined fields.

Returns: Added TFTP deployment role.

add_tftp_file(name, version, data, properties='')

Adds TFTP files

Parameters Description
name The name of the TFTP file.
version The version of the file.
data The file to be uploaded and distributed to clients by TFTP.
properties Adds object properties, including comments and user-defined fields.

Returns: instance of TFTP File.

add_tftp_folder(name, properties='')

Adds a TFTP Folder to the TFTP group

Parameters Description
name The name of the TFTP folder.
properties Adds object properties, including comments and user-defined fields.

Returns: instance of TFTP Folder