1-23
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
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.
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.
Description
Use the
user
command to log in to an FTP server with the specified username and password.
Examples
# Log in to the FTP server using the user account with the username
tom
and the password
111
.
[ftp] user tom 111
331 Password required for tom.
230 User logged in.verbose