HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 74

Managing directories on the FTP server

Page 74 highlights

Step 4. Log in to the FTP server. Command • (Method 1) Log in to the FTP server directly in user view: ftp ftp-server [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface { interface-name | interface-type interface-number } | ip source-ip-address } ] • (Method 2) Log in to the FTP server in FTP client view: a. ftp b. open server-address [ service-port ] Remarks Use either method. The source IP address specified in the ftp command takes precedence over the one set by the ftp client source command. To establish an IPv6 FTP connection: Step 1. Enter system view. Command system-view 2. (Optional.) Specify the source ftp client ipv6 source { interface IPv6 address for FTP packets interface-type interface-number | sent by the FTP client. ipv6 source-ipv6-address } 3. Return to user view. 4. Log in to the FTP server. quit • (Method 1) Log in to the FTP server directly in user view: ftp ipv6 ftp-server [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface interface-type interface-number | ipv6 source-ipv6-address } ] [ -i interface-type interface-number ] • (Method 2) Log in to the FTP server in FTP client view: a. ftp ipv6 b. open server-address [ service-port ] Remarks N/A By default, no source IPv6 address is specified. The source address is automatically selected as defined in RFC 3484. N/A Use either method. The source IP address specified in the ftp ipv6 command takes precedence over the one set by the ftp client ipv6 source command. Managing directories on the FTP server Task Display directory and file information on the FTP server. Command • Display the detailed information of a directory or file on the FTP server: dir [ remotefile [ localfile ] ] • Display the name of a directory or file on the FTP server: ls [ remotefile [ localfile ] ] 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

67
Step
Command
Remarks
4.
Log in to the FTP server.
(Method 1) Log in to the FTP server
directly in user view:
ftp
ftp-server
[
service-port
]
[
vpn-instance
vpn-instance-name
]
[
source
{
interface
{
interface-name
|
interface-type
interface-number
} |
ip
source-ip-address
} ]
(Method 2) Log in to the FTP server in
FTP client view:
a.
ftp
b.
open
server-address
[ service-port ]
Use either method.
The source IP address
specified in the
ftp
command
takes precedence over the
one set by the
ftp client source
command.
To establish an IPv6 FTP connection:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Specify the source
IPv6 address for FTP packets
sent by the FTP client.
ftp
client
ipv6 source
{
interface
interface-type interface-number
|
ipv6
source-ipv6-address
}
By default, no source IPv6 address
is specified. The source address is
automatically selected as defined
in RFC 3484.
3.
Return to user view.
quit
N/A
4.
Log in to the FTP server.
(Method 1) Log in to the FTP
server directly in user view:
ftp
ipv6
ftp-server
[
service-port
] [
vpn-instance
vpn-instance-name ] [
source
{
interface
interface-type
interface-number
|
ipv6
source-ipv6-address
} ] [
-i
interface-type
interface-number
]
(Method 2) Log in to the FTP
server in FTP client view:
a.
ftp ipv6
b.
open
server-address
[ service-port ]
Use either method.
The source IP address specified in
the
ftp ipv6
command takes
precedence over the one set by the
ftp client ipv6 source
command.
Managing directories on the FTP server
Task
Command
Display directory and file information on the FTP
server.
Display the detailed information of a directory or file
on the FTP server:
dir
[
remotefile
[
localfile
] ]
Display the name of a directory or file on the FTP
server:
ls
[
remotefile
[
localfile
] ]