Illustrated Windowsxp—FTP server configuration

  

FTP is short for File Transport Protocol. Its role is to enable clients connected to the server to transfer files between the server and the client. In addition to WWW services, FTP is considered to be the most widely used service.

FTP Server Configuration

Here's how to use IIS to set up an FTP server. (Like WWW services, IIS has a default FTP site by default, so you can modify the default FTP site to suit your needs.)

Right click on the default FTP site as shown:
< Br>

Input Description: I love the computer, set the IP address: 192.168.1.3, the port defaults to 21, generally do not need to be changed.

Set up the connection and pay attention to enabling logging in the same way as the web server.

and select the main directory dialog box is shown:

disposed substantially according to figure on it, access to the specified directory. Generally choose to read, you can also specify the access rights in the future, let the administrator specifically write the permissions, so that the general article holder has read permissions.

Modify account information in the security accounts, modify according to their needs, as shown below:

Allow Anonymous Connections option must fill. Otherwise the user will need a username and password to access this site. By default, anonymous access is allowed. The username is anonymous and the password is blank. Information and maximum number of connections when

define user access FTP sites and exit sites, as:

Of course, it all can be set according to their needs and preferences.

Final test: (not through the browser, but the ftp command in cmd)

In operation, open cmd, then enter ftp 192.168.1.3 (just set IP address) back Car, enter the username anonymous. Then press Enter and ask for the password, because the password is empty, press Enter. Get Download a file to a local folder. (In order to secure the future of the site, you can set prohibit anonymous access, and to strengthen the password, set here so anonymous user in order to facilitate the testing)

In the cmd ftp command a lot, are mainly used:

ftp 192.168.1.3 login ftp;

dir display remote host directory;

cd remote-dir: enter remote host directory;

help[cmd]: display Ft internal command cmd help information, such as: help get.

get remote-file[local-file]: Transfer the remote host's file remote-file to the local hard disk's local-file (local folder).

put local-file[remote-file]: Transfer the local file local-file to the remote host.

quit: with the bye, exit the ftp session.

& hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip;; & hellip; & hellip & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip; & hellip;

internal ftp used command is as follows (in parentheses indicate optional):

1 [cmd [args]]:.! execute interactive shell on the local machine, exit back ftp environment, such as:!. ls * .zip

2.$ macro-ame[args]: Execute macro definition macro-name.

3.account[password]: Provides the supplemental password required to access system resources after logging in to the remote system successfully.

4.append local-file[remote-file]: Append the local file to the remote system host. If the remote system file name is not specified, the local file name is used.

5.ascii: Use the ascii type of transmission.

6.bell: Each command after the implementation of computer ring once.

7.bin: Use binary file transfer.

8.bye: exit the ftp session.

9.case: When using mget, convert the uppercase in the remote host file name to lowercase.



Copyright © Windows knowledge All Rights Reserved