fileserver

Last Updated : Sep 14, 2022 |

Use fileserver to enable downloading IP phones software and configuration files from an Avaya Solutions Platform S8300 server. By default, the file server is disabled.

The HTTP/HTTPS file server is available on the Avaya Solutions Platform S8300 server to allow IP phones download of software and configuration files. A system administrator in the susers group can use the fileserver command to enable or disable the file server. After the command is executed, any administrator in the susers group can read, write, or update the files in the /var/web/fileserver/html directory.

The file server on Avaya Solutions Platform S8300 supports the following IP phones:

  • 46xx H.323

  • 96x0 SIP and H.323

  • 96x1 SIP and H.323

  • 16xx H.323

  • J1xx SIP and H.323

  • K1xx (Vantage) SIP

Note:
  • If a pre-8.1.1 backup is restored after enabling the file server, then the current settings are not overwritten.

  • If the R8.1.1 service pack is removed after the file server is enabled, then the file server will be disabled as the fileserver command is no longer available.

Syntax

fileserver  [-h] [-e [http|https|both]] [-d [http|https|both]] [-q] [-t v1.0|v1.1|v1.2>] [-f] [-l] [-a [SW package]] [-r [SW package]] [-v <SW package>] [-u <file>] [-c <file>] [-i]
-h

Print this help message.

-e [http|https|both]

Enable the HTTP or HTTPS file server or both HTTP and HTTPS file server which is the default if no argument is given.

-d [http|https|both]

Disable the HTTP or HTTPS file server or both HTTP and HTTPS file server which is the default if no argument is given.

-t v1.0|v1.1|v1.2

Set the minimum TLS version allowed for the HTTPS connections to the file server. By default, file server uses v1.2.

-f

Display all the files available for download.

-l

List the IP phones software packages with status.

-a [package]

Add or activate an IP phones software package to the file server document root directory. Without a parameter, the available packages are displayed for selection.

-r [package]

Remove or deactivate a package from the file server document root directory if active or from the download location, if packed. Without a parameter, the available packages are displayed for selection.

-v [package]

View information about an activated or packed IP phones software package.

-u file

Update or copy a given file to the file server document root. If a path is not given, the default download location ~ftp/pub is used.

-c file

Clean up or remove a given file from the file server document root.

-q

Query or print the status of the web file server and its disk usage.

Example

fileserver -h

Description

This commands performs various administrative operations for the HTTP, HTTPS file server available on the Avaya Solutions Platform S8300 server only.

The file server can be used to download new software or configuration files or both to Avaya IP phones.

The HTTP server is available on port 81 and the HTTPS server is available on port 411. Use the HTTPPORT DHCP variable, or manually administer using IP-Address:port to configure the non-standard ports.

It is possible to simply check the current status of the server and the disk space used by the file server using the -q option.

IP phones software packages downloaded using the SMI to the ~ftp/pub directory can be installed using the -a option and later removed using the -r option. IP phones packages can be listed with the -l option.

IP phone packages must use the standard naming convention: series-IPT-protocol-release-date.zip where protocol is SIP or H323. Release starts with 'R' and series is the IP phone series. For example: 96x1-IPT-SIP-R7_1_5_0-040219.zip

This command can only be executed by 'root' or system administrators in the 'susers' group.

Files

File server root directory: /var/web/fileserver/html/

HTTPS certificates directory: /etc/opt/ecs/certs/web411/

File server log files: /var/log/httpd/fileserv_*

Directory containing downloaded IP phones software packages: /var/home/ftp/pub/