copy ftp announcement-file

Last Updated : Jun 03, 2021 |

Downloads a file from an FTP server to the announcement directory of the gateway. The FTP command prompts for the username and password after the command is entered.

Note:

If you install increased RAM, the command works only if an announcement file system exists. An announcement file system is created when one of the following occurs:

  • The gateway is registered to Communication Manager, and at the SAT interface of the Communication Manager, you enter enable announcement-board.

  • You run a backup or restore operation (without reset).

Syntax

copy ftp announcement-file filename {<ip-addr>|<IPv6–addr>[%zone-id]|<hostname>} [destination-filename]

Parameters

Parameter

Description

Possible Values

Default Value

filename

The file name on the FTP server

ip-addr

The IPv4 address of the FTP server

IPv6–addr

The IPV6 address of the FTP server

%zone-id

VLAN number

1 — 4,090

hostname

Hostname of the FTP server

destination-filename

The file name in the announcement directory of the gateway

String of up to 32 characters

User level

read-write

Context

general

Example

To download announcement_file2.wav from the FTP server at IP address 192.168.49.10 and save it in the gateway’s announcement directory as local_announcement_file2, using login dan:

Gxxx-001cp(super)# copy ftp announcement-file c:\temp\announcement_file2.wav
192.168.49.10 local_announcement_file2
Username: dan
Password:

To download announcement_file2.wav from the FTP server at IP address 2001:db8::c657:8699 ann1234 and save it in the gateway’s announcement directory as local_announcement_file2, using login dan:

Gxxx-001cp(super)# copy ftp announcement-file c:\temp\announcement_file2.wav
2001:db8::c657:8699 ann1234 local_announcement_file2
Username: dan
Password: