|
FTP Server and Client
Part:
1
2
3
4
(Continued from previous part...)
To upload files, run the FTP client in a command window:
>ftp localhost
Connected to localhost.
220 Microsoft FTP Service
User (localhost:(none)): herong
331 Password required for herong.
Password: ********
230 User herong logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
11:05PM 5537 ftp.html
03:43PM 5082 index.html
08:39PM 1174 reference.html
226 Transfer complete.
ftp: 155 bytes received in 0.00Seconds 155000.00Kbytes/sec.
ftp> put help.html
200 PORT command successful.
150 Opening ASCII mode data connection for help.html.
226 Transfer complete.
ftp: 728 bytes sent in 0.00Seconds 728000.00Kbytes/sec.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
11:05PM 5537 ftp.html
11:53PM 728 help.html
03:43PM 5082 index.html
08:39PM 1174 reference.html
226 Transfer complete.
ftp: 205 bytes received in 0.00Seconds 205000.00Kbytes/sec.
ftp> quit
221
Note that:
- To access the FTP server, you need provide a user name and a password of the server's Windows system.
Conclusion
- Windows provides FTP server service through IIS (Internet Information Services), which is relatively easy
to manage.
- Windows also provides a command line client FTP program. If you are interested in client programs with
graphical user interface, there are a number of shareware available on the Interface.
- You should be careful about running your FTP server with anonymous option turned on. Anonymous option allows
anyone on the Internet to come to your server and take files away from FTP directory.
Part:
1
2
3
4
|