beautypg.com

Copying files to and from your device, Url syntax – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 136

background image

Creating and Managing Files

Software Reference for x310 Series Switches

6.12

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Copying Files To and From Your Device

This section provides instructions on:

URL syntax

Copying files

URL syntax

Many of the file management commands use the placeholder “URL” to represent the
name and location of the file that you want to act on. The following table explains the
syntax of this URL for each different type of file location.

When you copy a file...

Use this syntax:

In local Flash memory

flash:[/][<directory>/] <filename>

To or from a USB storage device

usb:[/][

<directory>

/]

<filename>

Copying with Hypertext Transfer
Protocol (HTTP)

http://[[<username>:<password>]@]

{<hostname>|<host-ip>}[/<filepath>]/<filename>

Copying with Trivial File Transfer
Protocol (TFTP)

tftp://[[<location>]/<directory>]/<filename>

Copying with Secure Copy (SCP)

scp://<username>@<location>[/<directory>][/<filename>]

Copying with SSH File Transfer
Protocol (SFTP)

sftp://[[<location>]/<directory>]/<filename>

To or from stack member Flash

<hostname>-<stack_ID>/flash:[/][]

<stack_member_filename>