copy-cpfile

Use this command to download a zip file containing customized web pages. The copy-cpfile command is available from the wlan:<WLAN-service-name>:auth:captiveportal context.

copy-cpfile scp|ftp server user password dir file

Parameters

scp | ftp Specifies whether to use FTP or SCP to download the file.
server The IP address of the FTP or SCP server.
user The user name to log in to the server.
password The password for file transfer protocol.
dir The directory on the server where the file is located.
file The name of the file containing the web pages.

Example

This example uses FTP to copy the file “cpcustom.zip” located in the /tmp directory on FTP server 192.168.3.10, using log in credentials “root” and “mypasswd”:

EWC.extremenetworks.com:wlans:Lab126-12-Int-CP:auth:captiveportal# copy-cpfile ftp 192.168.3.10 root mypasswd /tmp cpcustom.zip