cterasdk.edge.ftp module

class cterasdk.edge.ftp.FTP(gateway)

Bases: cterasdk.edge.base_command.BaseCommand

Gateway FTP configuration APIs

disable()

Disable FTP

enable()

Enable FTP

get_configuration()

Get the current FTP configuration

Return cterasdk.common.object.Object:
 
is_disabled()

Check if the FTP server is disabled

modify(allow_anonymous_ftp=None, anonymous_download_limit=None, anonymous_ftp_folder=None, banner_message=None, max_connections_per_ip=None, require_ssl=None)

Modify the FTP Configuration. Parameters that are not passed will not be affected

Parameters:
  • allow_anonymous_ftp (bool,optional) – Enable/Disable anonymous FTP downloads
  • anonymous_download_limit (int,optional) – Limit download bandwidth of anonymous connection in KB/sec per connection. 0 for unlimited
  • anonymous_ftp_folder (str,optional) – Anonymous FTP Directory
  • banner_message (str,optional) – FTP Banner Message
  • max_connections_per_ip (int,optional) – Maximum Connections per Client
  • require_ssl (bool,optional) – If Ture, allow only SSL/TLS connections