Ftp¶
SCPI Commands
CONFigure:DATA:CONTrol:FTP:STYPe
CONFigure:DATA:CONTrol:FTP:ENConnection
CONFigure:DATA:CONTrol:FTP:AUSer
CONFigure:DATA:CONTrol:FTP:DUPLoad
CONFigure:DATA:CONTrol:FTP:IPVSix
- class Ftp[source]
Ftp commands group definition. 7 total commands, 1 Sub-groups, 5 group commands
- get_auser() → bool[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:AUSer value: bool = driver.configure.data.control.ftp.get_auser()
Specifies whether access to the FTP server is allowed for anonymous users.
- return
anonymous: OFF | ON OFF: not allowed ON: allowed
- get_dupload() → bool[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:DUPLoad value: bool = driver.configure.data.control.ftp.get_dupload()
Specifies whether data upload to the FTP server is allowed for anonymous users.
- return
data_upload: OFF | ON OFF: not allowed ON: allowed
- get_en_connection() → bool[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:ENConnection value: bool = driver.configure.data.control.ftp.get_en_connection()
Specifies whether access to the FTP server is allowed from an external network (via LAN DAU) .
- return
ext_net_conn: OFF | ON OFF: not allowed ON: allowed
- get_ipv_six() → bool[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:IPVSix value: bool = driver.configure.data.control.ftp.get_ipv_six()
Specifies whether the FTP server supports IPv6.
- return
ip_v_6_enable: OFF | ON OFF: IPv4 support only ON: support of IPv4 and IPv6
- get_stype() → RsCmwDau.enums.ServiceTypeA[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:STYPe value: enums.ServiceTypeA = driver.configure.data.control.ftp.get_stype()
Selects the FTP service type. The other CONFigure:DATA:CONTrol:FTP:… commands configure the FTP server. They are not relevant, if the service type TGENerator is selected.
- return
service_type: SERVer | TGENerator SERVer: an FTP server runs on the R&S CMW TGENerator: the R&S CMW acts as a traffic generator
- set_auser(anonymous: bool) → None[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:AUSer driver.configure.data.control.ftp.set_auser(anonymous = False)
Specifies whether access to the FTP server is allowed for anonymous users.
- param anonymous
OFF | ON OFF: not allowed ON: allowed
- set_dupload(data_upload: bool) → None[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:DUPLoad driver.configure.data.control.ftp.set_dupload(data_upload = False)
Specifies whether data upload to the FTP server is allowed for anonymous users.
- param data_upload
OFF | ON OFF: not allowed ON: allowed
- set_en_connection(ext_net_conn: bool) → None[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:ENConnection driver.configure.data.control.ftp.set_en_connection(ext_net_conn = False)
Specifies whether access to the FTP server is allowed from an external network (via LAN DAU) .
- param ext_net_conn
OFF | ON OFF: not allowed ON: allowed
- set_ipv_six(ip_v_6_enable: bool) → None[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:IPVSix driver.configure.data.control.ftp.set_ipv_six(ip_v_6_enable = False)
Specifies whether the FTP server supports IPv6.
- param ip_v_6_enable
OFF | ON OFF: IPv4 support only ON: support of IPv4 and IPv6
- set_stype(service_type: RsCmwDau.enums.ServiceTypeA) → None[source]
# SCPI: CONFigure:DATA:CONTrol:FTP:STYPe driver.configure.data.control.ftp.set_stype(service_type = enums.ServiceTypeA.SERVer)
Selects the FTP service type. The other CONFigure:DATA:CONTrol:FTP:… commands configure the FTP server. They are not relevant, if the service type TGENerator is selected.
- param service_type
SERVer | TGENerator SERVer: an FTP server runs on the R&S CMW TGENerator: the R&S CMW acts as a traffic generator
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.configure.data.control.ftp.clone()
Subgroups