1. Connect to the FTP serverFormat: ftp [hostname | IP-address]
A) on the Linux Command Line, enter FTP 10.18.34.115.
B) The server will ask you for your username and password, and enter the yint and password respectively. You can wait for the authentication to pass.
2. Download an object
The get and mget commands
In Win7, you cannot view the file list using the dir or ls commands of ftp. In this case, you cannot view the file list using the dir or ls commands of ftp in command line mode of Win7, you cannot view the file list using the dir or ls commands of
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
1. Connect to the FTP server
Format: ftp [hostname | IP-address]
A) FTP ftp.drivehq.com
B) The server asks you for your username and password. Enter the password.
2. Download an object
The get and mget commands are usually used to download files.
A) Get
Format: Get [Remote-file] [loca
Use ftp commands or gftp to upload files under fedora9-Linux Enterprise Application-Linux server application information. For details, refer to the following. Flashfxp has been used in windows for a long time. Since the platform was recently transferred to fedora 9, it was a bit difficult at first.
When I first uploaded the file, I did not expect any upload tool under fedora 9. Therefore, the
, modify the permissions of the home directory: Chown vipftp:vipftp/home/vipftp9. Define where our password files are: (Edit Authentication file)VIM/ETC/PAM.D/VSFTPD//Add to the frontAuth sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginAccount Sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_login10. Edit the vsftpd.conf configuration fileChange Anonymous_enable=yes to Anonymous_enable=noChange #anon_upload_enable=yes to Anon_upload_enable=noChange #anon_mkdir_wri
heard of. But I thought that since I was trying to hide the file, the goal was not to like others to find out, of course, the complexity is better. The MV command is used to move the file, but if it is still under the same path, it is usually named "." In the Mac. The beginning of the file is a hidden file, so we can use the MV command to achieve file hiding. For example, there is a file named tool, I want to hide, you should go to the tool path, such as tool in the program folder, you should g
The steps to upload to the server are as follows: 1. " Start "-" Run "-Enter" FTP "2.open qint.ithot.net This step can be combined with the first step and enter" FTP Qint.ithot.net "directly in" run ". If your FTP server is not using the 21 default port, if the port is 2121, then this step of the command should be in the following space plus 2121, that is, "open
In the Mac OS X operating system of apple, there are many ways to hide the display of files. The simplest method is to enter commands on the Mac terminal. The command for displaying/hiding a Mac hidden file is as follows (note the spaces and make them case sensitive ):
Command for displaying Mac hidden files: Defaults write com. Apple. Finder appleshowallfiles-boolTrue
Command for hiding Mac hidden files: D
= = " __main__ " : print (" sys.argv[0] = {0} Span style= "COLOR: #800000" > " .format (Sys.argv[0])) print (" sys.argv[1] = {0} Span style= "COLOR: #800000" > ". Format (sys.argv[1 print (" sys.argv[2] = {0} Span style= "COLOR: #800000" > ". Format (sys.argv[2]) 2. Sys.stdin\stdout\stderrFeatures: stdin, stdout, and stderr variables contain stream objects that correspond to standard I/O streams. If you need more control over the output, and print does not meet your requirements
The command line format for FTP is: ftp-v-d-i-N-G [hostname], where
-V does not display all the response information for the remote server;
-N Limit FTP automatic login, that is, do not use;. N etrc File
-D using debug mode
-G cancels the global file name.The internal commands used by
Document directory
Common commands
Less common commands
Abor
Acct *
Allo
Appe
Cdup
CWD
Dele
Help
List
MDTM
MKD
Mode
NLST
Noop
Pass
PASV
Port
PWD
Quit
Rein *
Rest
RETR
RMD
RNFR
RNTO
Site *
Size
Stat
Stor
STOU
Stru
Syst
Type
User
Note that commands marked with a * are not implemented in a number of
it: Touch/home/vipftp/testftp/2018.txt8, modify the permissions of the home directory: Chown-r vipftp:vipftp/home/vipftp9. Define where our password files are: (Edit Authentication file)VIM/ETC/PAM.D/VSFTPD//Add to the frontAuth sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginAccount Sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_login10. Edit the vsftpd.conf configuration fileChange Anonymous_enable=yes to Anonymous_enable=noChange #anon_upload_enable=yes to A
Server commands for SMTP, POP3, nntp, FTP, and HTTP
SMTP commands
1. mail from:
2. rcpt to:
3. Data
4. Quit
Common HTTP commands
For HTTP servers, you only need to send a GET command in the following format:
Get
The path is the valid path on the server or the file name with the complete path. After the command is
relevant properties of the directory itself, typically used with-L.-R: Reverse mode display-R: Recursive display-rw-r--r--. 1 root root 41364 June Install.log-,d,l,b,c,p,sNumber 1: Number of times a file has been hard linkedLeft Root: Owner of FileRight root: Group of files41364: Siize of filesJune 14 14:32: Last modified time for a fileInstall.log: File nameFile View commands: Cat, TACCat: ForwardCat/etc/fstabCat/etc/fstab/etc/issueTAC: Reverse Orde
1. Connect to the FTP serverFormat: ftp [hostname | IP-address]A) on the Linux Command Line, enter FTP 10.18.34.115.B) The server will ask you for your username and password, and enter the yint and password respectively. You can wait for the authentication to pass.2. Download an objectThe get and mget commands are usua
Lab. Developed, compatible with bash)
/BIN/TCSH (Consolidated C Shell, provides more features)
/BIN/CSH (has been replaced by/BIN/TCSH)
/bin/zsh (based on Ksh developed, more powerful shell)
Bash is a shell, and Linux is now the default shell for bash. When you use Ubuntu 10.4.1 to develop Android, the shell is also changed to bash. Mac OS default shell is bash, open terminal, default is bash if enter command in Terminal bash:taylors
) verifies that the given path exists and returns a bool valueos.path.getsize (path) Gets the size of the path (file or directory), and if it is a directory, returns 0L, in bytesOs.path.abspath (Path) obtains an absolute pathOs.path.normpath (path) specification path string form, result/change//os.path.split (path) splits the path name and file name, the return value is tuple: (pathname, filename. file name extension), if the path is a directory, then return: (Pathname, ')os.path.splitext (path)
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.