Operating The Directories On An Ftp Server; Operating The Files On An Ftp Server - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

NOTE:
If no primary IP address is configured on the specified source interface, you cannot establish an FTP
connection.
If you use the ftp client source command to configure a source interface and then use it to configure a
source IP address, the source IP address overwrites the source interface, and vice versa.
Follow these steps to establish an IPv6 FTP connection:
To do...
Log in to the remote FTP server
directly in user view
Log in to the remote FTP server
indirectly in FTP client view

Operating the directories on an FTP server

After the switch serving as the FTP client has established a connection with an FTP server, you can create
or delete folders under the authorized directory of the FTP server. For more information about establishing
an FTP connection, see
Follow these steps to operate the directories on an FTP server:
To do...
Display detailed information about a directory or
file on the remote FTP server
Query a directory or file on the remote FTP server
Change the working directory of the remote FTP
server
Exit the current working directory and return to an
upper level directory of the remote FTP server
Display the working directory that is being
accessed
Create a directory on the remote FTP server
Remove the specified working directory on the
remote FTP server

Operating the files on an FTP server

After the switch serving as the FTP client has established a connection with an FTP server, you can upload
a file to or download a file from the FTP server under the authorized directory of the FTP server by
following these steps. For information about establishing an FTP connection, see
connection."
Use the dir or ls command to display the directory and the location of the file on the FTP server.
1.
Use the command...
ftp ipv6 [ server-address
[ service-port ] [ source ipv6
source-ipv6-address ] [ -i
interface-type interface-number ] ]
ftp ipv6
open ipv6 server-address
[ service-port ] [ -i interface-type
interface-number ]
"Establishing an FTP
connection."
86
Remarks
Use either approach.
The ftp ipv6 command is available
in user view; and the open ipv6
command is available in FTP client
view.
Use the command...
dir [ remotefile [ localfile ] ]
ls [ remotefile [ localfile ] ]
cd { directory | .. | / }
cdup
pwd
mkdir directory
rmdir directory
Remarks
Optional
Optional
Optional
Optional
Optional
Optional
Optional
"Establishing an FTP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents