Downloading Files with FTP Commands

This section provides a tutorial example on how to download files with FTP commands.

Now, let's see how we can put some files on the FTP server to allow other users to download them.

Copy files to the FTP server directory in a command window:

>copy ftp.html c:\inetpub\ftproot
        1 file(s) copied.

>copy index.html c:\inetpub\ftproot
        1 file(s) copied.

>copy reference.html c:\inetpub\ftproot
        1 file(s) copied.

Download them with the FTP client in a command window:

>ftp localhost
Connected to localhost.
...
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> mget *.*
200 Type set to A.

mget ftp.html? y
200 PORT command successful.
150 Opening ASCII mode data connection for ftp.html(5537 bytes).
226 Transfer complete.
ftp: 5537 bytes received in 0.01Seconds 553.70Kbytes/sec.

mget index.html? y
200 PORT command successful.
150 Opening ASCII mode data connection for index.html(5082 bytes).
226 Transfer complete.
ftp: 5082 bytes received in 0.01Seconds 508.20Kbytes/sec.

mget reference.html? y
200 PORT command successful.
150 Opening ASCII mode data connection for reference.html(1174 bytes).
226 Transfer complete.
ftp: 1174 bytes received in 0.00Seconds 1174000.00Kbytes/sec.
ftp> quit
221

Cool, downloading files are easy. The "mget" command allows you to get multiple files with one command.

Table of Contents

 About This Book

 Introduction to Microsoft Windows

 Introduction to Windows Explorer

 Introduction to Internet Explorer

 "Paint" Program and Computer Graphics

 GIMP - GNU Image Manipulation Program

 JPEG Image File Format Quality and Size

 GIF Image File Format and Transparent Background

 "WinZip" - ZIP File Compression Tool

 "WinRAR" - RAR and ZIP File Compression Tool

FTP Server, Client and Commands

 Setting Up FTP Server with IIS

 FTP Command Line Client Program

Downloading Files with FTP Commands

 Checking FTP Server Log File

 Uploading Files to FTP Servers

 "FileZilla" - Free FTP Client and Server

 Web Server Log Files and Analysis Tool - "Analog"

 Spyware Adware Detection and Removal

 IE Addon Program Listing and Removal

 Vundo (VirtuMonde/VirtuMundo) - vtsts.dll Removal

 Trojan and Malware "Puper" Description and Removal

 VSToolbar (VSAdd-in.dll) - Description and Removal

 Spybot - Spyware Blocker, Detection and Removal

 Setting Up and Using Crossover Cable Network

 Home Network Gateway - DSL Modem/Wireless Router

 Windows Task Manager - The System Performance Tool

 "tasklist" Command Line Tool to List Process Information

 "msconfig" - System Configuration Tool

 Configuring and Managing System Services

 Windows Registry Key and Value Management Tools

 Startup Programs Removal for Better System Performance

 Winsock - Windows Sockets API

 Java on Windows

 Glossary of Terms

 Outdated Tutorials

 References

 PDF Printing Version