Window Technical Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 24 August 2013

FTP Server and its Commands

Posted on 03:10 by Unknown

What is FTP?

The FTP (File Transfer Protocol) utility program is commonly used for copying files to and from other computers. These computers may be at the same site or at different sites thousands of miles apart. FTP is a general protocol that works on UNIX systems as well as a variety of other (non-UNIX) systems.

For the purposes of this Web page, the local machine refers to the machine you are initially logged into, the one on which you type the ftp command. The remote machine is the other one, the one that is the argument of the ftp command.

A user interface for the standard File Transfer Protocol for ARPANET, FTP acts as an interpreter on the remote machine. The user may type a number of UNIX-like commands under this interpreter to perform desired actions on the remote machine.

Most operating systems and communication programs now include some form of an FTP utility program, but the commands differ slightly between them. The following explanations and alphabetical list of commands refers to the common FTP utility program as provided on a UNIX machine. Check the documentation for your own machine to determine the comparable commands.

Most computers today include a windows-based type FTP program that is more PC-oriented and does not require full knowledge of these commands.
You can also perform FTP through a browser. For example, bring up Internet Explorer and type in             ftp://yourLoginName@IPaddress
instead of a normal web page URL.

Common FTP Commands

? to request help or information about the FTP commands
ascii to set the mode of file transfer to ASCII
(this is the default and transmits seven bits per character)
binary to set the mode of file transfer to binary
(the binary mode transmits all eight bits per byte and thus provides less chance of a transmission error and must be used to transmit files other than ASCII files)
bye to exit the FTP environment (same as quit)
cd to change directory on the remote machine
close to terminate a connection with another computer
  close brubeck closes the current FTP connection with brubeck,
  but still leaves you within the FTP environment.
delete to delete (remove) a file in the current remote directory (same as rm in UNIX)
get to copy one file from the remote machine to the local machine
  get ABC DEF copies file ABC in the current remote directory to (or on top of) a file named DEF in your current local directory.
  get ABC copies file ABC in the current remote directory to (or on top of) a file with the same name, ABC, in your current local directory.
help to request a list of all available FTP commands
lcd to change directory on your local machine (same as UNIX cd)
ls to list the names of the files in the current remote directory
mkdir to make a new directory within the current remote directory
mget to copy multiple files from the remote machine to the local machine;
  you are prompted for a y/n answer before transferring each file
  mget * copies all the files in the current remote directory to your current local directory, using the same filenames. Notice the use of the wild card character, *.
mput to copy multiple files from the local machine to the remote machine;
  you are prompted for a y/n answer before transferring each file
open to open a connection with another computer
  open brubeck opens a new FTP connection with brubeck;
  you must enter a username and password for a brubeck account
      (unless it is to be an anonymous connection).
put to copy one file from the local machine to the remote machine
pwd to find out the pathname of the current directory on the remote machine
quit to exit the FTP environment (same as bye)
rmdir to to remove (delete) a directory in the current remote directory
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Disable Shutdown option in Windows
    This article will walk you through removing the shutdown option from Windows Server 2003/2008 1. Go to Start > Run 2. Type in gpedit.msc ...
  • Adding Host (A) DNS Records in Windows Server 2008 R2
    About DNS Records Since DNS server plays an important role when it comes to keeping the network up and accessible, it becomes important for...
  • Technical Interview Questions - Windows Server 2008/R2 Hyper-V and Virtualization Part7
    What is virtualization (in general)? What are the 4 major virtualization areas? Describe the major benefits of Server Virtualization. What i...
  • RAID 2, RAID 3, RAID 4, RAID 6 Explanation
    In most critical production servers, you will be using either RAID 5 or RAID 10 . However there are several non-standard raids, which are n...
  • How to configure ftp server in windows
      FTP Server using IIS 7.0 and Windows Server 2008 Open Server Manager, go to Roles and click “Add Roles” In the Add Role Wizard, select Web...
  • Transferring FSMO Roles in Windows Server 2008
    Introduction This is a must to read article for any system administrator who administers Microsoft Windows Servers. One of any...
  • Change RDP Port on Windows XP
    The setting for the Terminal Services port lives in the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Termina...
  • SMTP Server Configure on Windows Server 2008 R2
    Installing the SMTP feature 1 . Click Start > Run and then enter servermanager.msc in the Open dialogue box then click OK to load Se...
  • Configuring Windows Server 2008 Remote Desktop Administration
    Windows Server 2008 is, as the name suggests, a server operating system. In the real world this means that systems running Windows Server ...
  • Installing and configuration Distributed File System
    The Distributed File System (DFS) technologies offer wide area network (WAN)-friendly replication as well as simplified, highly available ...

Blog Archive

  • ▼  2013 (91)
    • ►  December (2)
    • ►  November (10)
    • ►  October (5)
    • ►  September (15)
    • ▼  August (26)
      • Creating a Capture Image in WDS
      • 2008 R2 - Enable Multiple RDP sessions
      • What is virtual private network (VPN)?
      • Important Tips for Before Going on ANY Interview
      • VMware Admin Interview Questions & Answers.
      • Change RDP Port on Windows XP
      • FTP Server and its Commands
      • Block IP address with Windows Firewall 2008
      • Disable Shutdown option in Windows
      • windows server 2008 password complexity
      • Microsoft Certification paper codes
      • Technical Interview Questions - Windows Server 200...
      • Technical Interview Questions - Windows Server 200...
      • Technical Interview Questions - Exchange Server 20...
      • Technical Interview Questions – MCSE & System Admi...
      • Technical Interview Questions – Active Directory P...
      • Technical Interview Questions – Networking Part2
      • Technical Interview Questions - Windows Server 200...
      • windows server 2008 r2 interview questions and ans...
      • windows server 2008 r2 interview questions and ans...
      • windows server 2008 r2 interview questions and ans...
      • Virtual Hard Disks
      • Upgrading Windows Vista to Windows 7
      • Upgrading Windows XP to Windows 7
      • Pv6 Addressing
      • List of Server Role services in Windows Server 200...
    • ►  July (1)
    • ►  June (5)
    • ►  May (14)
    • ►  April (5)
    • ►  March (1)
    • ►  February (1)
    • ►  January (6)
Powered by Blogger.

About Me

Unknown
View my complete profile