As a network administrator, you must be familiar with FTP server operations. Now we will introduce the FTP server logon procedure. In some FTP Server login processes, we can use different methods. So what we will introduce today is to use the doscommand to complete this logon task.
1. remote FTP Server login
Command Format: ftp FTP Server IP address.
If our FTP server address is 127.0.0.1, type the command ftp 127.0.0.1 in MS-DOS mode and press enter to confirm.
After that, the user name input prompt "user" appears. Enter the user name, for example, "laoduan ". Press enter to enter the Password. Press enter to log on to the server.
2. Browse and delete directories and files
Enter the dir command to view the directory within the permission range. Enter "rename + space + name of the original file or folder + space + name of the new file or folder", and press enter to confirm the name of the original file or folder. You can also use the Delete command to Delete files or folders, and use "cd + space + folder name" to browse the corresponding folders, just like on a local machine. Of course, all users you log on to must have the corresponding permissions for your operations to be effective.
3. remotely modify the FTP server logon Password
If the user you log on to has the permission to change the password, you can use the following command to change the password.
Command Format: quote "site pswd + space + old password + space + new password"
After you press the Enter key to confirm, the message "230 Password Changed Okay" appears, indicating that the modification was successful.
Command Line Method:
Early logon to FTP was performed using one command in the command line. At that time, all operations were performed under DOS, without any graphical tools.
For example, we have created an FTP site server address of 211.153.80.240. How can we log on to this FTP site and download useful resources? The command line method does not require any tools. Even if a computer without a browser is installed, you can use the command line method to transfer files.
Step 1: Choose Start> RUN> Enter cmd to enter the command line mode.
Step 2: Enter ftp 211.153.80.240 and press Enter. When the user prompt is displayed, enter the user name assigned to us, and then enter the password. 1) when the "230 User logged in, proceed." prompt appears, it means that we have successfully logged on to the FTP server.
Figure 1 FTP server logon successful
Step 3: enter a command to download and upload files and view file directories. Commonly used ls to display file directories, similar to DIR), get to download files), put to upload files), bye to leave the FTP site ). For example, enter get softer.exe to download the file from the FTP server to the local directory.
Tip: the reader who just got in touch with the command line FTP may not know what command to input. Can we input it? . In addition, you cannot modify the FTP transmission mode by using the command line mode.