Creating and Managing Files
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
6.9
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.
Copying files
To copy files, use the
copy
commands. These commands allow you to copy files:
■
between different memory types attached to your device. Use the command:
awplus#
copy LOCAL-SOURCE LOCAL-DEST FILENAME
See
“Copying within a file system”
and
“Copying To and From NVS or SD card”
for
further details.
■
across a serial connection using ZMODEM. Use the command:
awplus#
copy zmodem
See
“Copying with ZMODEM”
for further details.
■
from your device onto a remote device, or to your device from a remote device. To copy
a file across an interface with IP configured, use the command:
awplus#
copy SOURCE-URL DESTINATION-URL
To copy files across these interfaces you can use the following protocols:
«
“Copying with Hypertext Transfer Protocol (HTTP)”
«
“Copying with Trivial File Transfer Protocol (TFTP)”
«
“Copying with Secure Copy (SCP)”
«
“Copying with SSH File Transfer Protocol (SFTP)”
When you copy a file...
Use this syntax:
In local Flash memory
flash:[/][DIRECTORY/]FILENAME
Stored on an SD card
card:[/][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
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......