FTP commands are one of the most frequently used commands by Internet users. Whether using FTP in DOS or UNIX operating systems, a large number of FTP Internal commands are encountered. You are familiar with and flexible to use
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 commands are one of the most frequently used commands by Internet users. Whether using FTP in DOS or UNIX operating systems, a large number of FTP Internal commands are encountered. You are familiar with and flexible to use
user's home directory, and to discover the files that were created before.LS Error 500, no off SELinuxlftp [email protected]:/>?? You can see which commands are supported by FTP.Transfer the Testftp.txt to this machine:lftp [email protected]:/> get testuser1/testftp.txtlftp [Email protected]:/> quit[[email protected] ~]# lsTestftp.txtThe directory that accepts the file is the current directory, which is the directory into the
Internet connections (only servers)Proto recv-q send-q Local address Foreign address State Pid/program name?TCP6 0 0::: +:::* LISTEN 2795/vsftpdVSFTPD Service Monitor 21 portThe FTP service listens on port 21, sshd listens on port 22, and Telnet listens on port 23.TestTo install the FTP client under Linux:[email protected] ~]# Yum install-y lftpTo log on to the FTP
-f /etc/vsftpd/vsftpd_login /etc/vsftpd/vsftpd_login.db //将密码转换为二进制文件 mkdir /etc/vsftpd/vsftpd_user_conf cd /etc/vsftpd/vsftpd_user_conf
The profile name is the same as the user name in the user password filevim testuser1 //加入如下内容local_root=/home/virftp/testuser1 //指定虚拟用户的家目录anonymous_enable=NO //是否允许匿名用户write_enable=YES //是否允许可写local_umask=022 //创建文件或目录的默认权限anon_upload_enable=NO //是否允许匿名用户上传anon_mkdir_write_enable=NO //是否允许匿名用户创建文件夹,写文件idle_session_timeout=600
check parent directory permissionsAll_squash any visitor to anonymous YongRoot_squash Root user accesses this directory and maps to the same permissions as the anonymous user (default)No_root_squash root user access to this directory with root operation privilegesIntroduction to FTPFTP is the abbreviation for the file Transfer Protocol (document Transfer Protocol), which is used to control the two-way transmission of files over the Internet.The primary role of
1. Connect to the FTP serverFormat: FTP [hostname| ip-address]A) under the Linux command line, enter:FTP 192.168.1.1b) The server asks for your user name and password, enter the user name and the corresponding password, respectively, to be certified.2. Download the fileThe download file usually uses the get and mget two commands.a) GetFormat: Get [Remote-file] [Local-file]Transfer files from the remote host
remote host.If you want to transfer the local 1.htm to the remote host/usr/your, and renamed to 2.htmFtp> put 1.htm/usr/your/2.htm (carriage return)b) mputFormat: Mput local-filesTransfers a batch of files from the local host to the remote host.To upload all the HTML files in the local current directory to the server/usr/your/Ftp> Cd/usr/your (carriage return)Ftp> mput *.htm (return)Note: The upload file i
want to transfer the local 1.bmp to the remote host E:\rose, and renamed to 333.bmpFtp> put 1.bmp/rose/333.bmp (carriage return)b) mputFormat: Mput local-filesTransfers a batch of files from the local host to the remote host.If you want to upload all BMP files in the local current directory to the server E:\roseFtp> cd/rose (carriage return)Ftp> mput *.bmp (return)Note: The upload file is from the current directory of the host. For example, the
Protected]:/home/a.tar.tzCopy files from the entire directory of the remote machinescp-r [email protected]:/home/*./ Content Source: http://www.cnblogs.com/weafer/archive/2011/06/13/2079509.html --------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------ Add: If you are downloading to the Windows platform using SCP, there are two ways to do this: 1. WINSCP tool, a graphical too
virftp:virftp /home/virftp
Defining where a password file is important
[[emailprotected] vsftpd_user_conf]# vim /etc/pam.d/vsftpd ##这是用来认证的一个文件auth sufficient /lib64/security/pam_userdb.so db=/etc/vsftpd/vsftpd_loginaccount sufficient /lib64/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
Edit the VSFTPD Master profile
[[emailprotected] vsftpd_user_conf]# vim /etc/vsftpd/vsftpd.conf将anonymous_enable=YES 改为 anonymous_enable=NO ##不允许匿名用户 将#anon_upload_enable
FTP description:
FTP is short for file transfer protocol. It refers to the file transfer protocol. The main function is to complete the file copy from one system to another. Like HTTP, HTTP is a widely used protocol on the Internet. The FTP protocol uses two TCP connections. One is the command link used to transmit commands
For details about FTP commands in Linux-Linux Enterprise applications-Linux server applications, see the following. FTP>! Exit from the ftp subsystem to the shell.
FTP>? Show ftp command description .? Same as help.
Format :? [Com
Two ways to download files remotely from Linux FTP commands and SCP commandsFTP command:Server has FTP server installed, another Linux can use the FTP client program to copy the file read and download.1. Connect to the FTP serverFormat:
192.168.1.200, please use disconnect first. ftp> disconnect 221 Goodbye. Ftp> Open 192.168.1.200 connected to 192.168.1.200. VsFTPd 2.0.5 User (192.168.1.200: (None)): Oracle 331 Please specify the password. Password: Login successful. Ftp> Loc Invalid command. ftp> lcd current local directory G:\testf
FTP Server is more common on the web, the function of the Linux FTP command is to control the transfer of files between the local machine and the remote machine in the way of the command, here is a detailed description of some of the Linux FTP commands often used in the command, I believe that the use of Linux for
FTP servers are more common on the Internet. Linux FTP commands use commands to control file transfer between local and remote hosts, here we will introduce some frequently used Linux FTP commands in detail. I believe it will be v
Ftp servers are more common on the Internet. Linux ftp commands use commands to control file transfer between local and remote hosts, here we will introduce some frequently used Linux ftp commands in detail. I believe it will be v
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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.