Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
Commands
1-21
If the destination file name conflicts with the name of an existing file or directory, you will
fail to rename the file.
Examples
# Rename file
temp.c
as
forever.c
.
[ftp] rename temp.c forever.c
350 Enter the name to rename it to...
250 File renamed successfully
1.2.22 rmdir
Syntax
rmdir
pathname
View
FTP client view
Parameters
pathname
: Name of a directory on an FTP server.
Description
Use the
rmdir
command to remove a specified directory on an FTP server.
Note that you can only use this command to remove directories that are empty.
Examples
# Remove the directory
flash:/temp1
on the FTP server. (Assume that the directory is
empty.)
[ftp] rmdir flash:/temp1
200 RMD command successful.
1.2.23 user
Syntax
user
username
[
password
]
View
FTP client view
Parameters
username
: Username used to log in to an FTP server.
password
: Password used to log in to an FTP server.