Today, XWindow was so miserable that we finally returned to the ftp command line (including basic FTP commands)

Source: Internet
Author: User
Tags ftp commands
The XWindow was so miserable today that we finally returned to the ftp command line (including basic FTP commands)-Linux Enterprise Application-Linux server application information. Here is the details. I want to compile the kernel today. My FC9 cannot go to the Internet. When the new kernel is on XP, the kernel is uploaded to FTP (the lab belongs to the Intranet, you want to download it from FTP to FC. Well, I started to think about it:

I thought it was easy and fast (the result was counterproductive). I logged on to X WINDOW (GNOME) in the character mode of a common account and used firefox to show that my network connection was poor! Why is it possible to ping the terminal ?! I tried N + 1 times, but it still doesn't work! Changed to Konqueror. OK! It went up in a row, but I couldn't download it with KGet! Depressed, change! I switched to KFTP and connected it. The interface is easy to use. It looks a bit like CUTE FTP. It's good, but it's not enough.

Is the account subject to permission restrictions? Log out, change to root, and try again! Everything works.

Log out, change to a normal account, and try again! Dizzy! Everything is normal again.

Just now? ? What happened? I have not modified anything.

Yes, you have changed the command line directly. It's fast and convenient!

FTP> ascii: Set File Transfer in ASCII mode (default)
FTP> bell: an alarm is triggered every time a file is transferred.
FTP> binary: sets File Transfer in binary mode.
FTP> bye: Terminate the FTP process on the host and exit FTP management.
FTP> case: when it is ON, use the MGET command to copy the file name to the local machine, all converted to lowercase letters.
FTP> cd: The same as the unix cd command.
FTP> cdup: Return to the upper-level directory.
FTP> chmod: Change the File Permission of the remote host.
FTP> close: Terminate the remote FTP process and return to the FTP command status. All macro definitions are deleted.
FTP> delete: delete files from the remote host.
FTP> dir [remote-directory] [local-file] lists the files in the directory of the current remote host. If there are local files, write the results to the local file.
FTP> get [remote-file] [local-file] is transferred from the remote host to the local host.
FTP> help [command] explanation of the output command.
FTP> LCD: changes the working directory of the current local host. If it is set to default, it is transferred to the HOME Directory of the current user.
FTP> ls [remote-directory] [local-file] is the same as DIR.
FTP> macdef: defines macro commands.
FTP> mdelete [remote-files] deletes a batch of files.
FTP> mget [remote-files] receives a batch of files from the remote host to the local host.
FTP> mkdir directory-name: create a directory in the remote host.
FTP> mput local-files transfers a batch of files from the local host to the remote host.
FTP> open host [port] to create a new connection.
FTP> prompt: Interactive prompt mode.
FTP> put local-file [remote-file] transfers a local file to the remote host.
FTP> pwd: list the directory of the current remote host.
FTP> quit: Same as BYE.
FTP> recv remote-file [local-file] is the same as GET.
FTP> rename [from] [to] Change the file name in the remote host.
FTP> rmdir directory-name: Delete the directory in the remote host.
FTP> send local-file [remote-file] is the same as PUT.
FTP> status: displays the status of the current FTP.
FTP> system: displays the system type of the remote host.
FTP> user-name [password] [account] log on to the remote host with another user name.
FTP>? [Command]: Same as HELP. [command], it specifies the name of the command that requires HELP. If no command is specified, ftp displays a list Of all commands.
FTP>! Exit from the ftp subsystem to the shell.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.