Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 3 - FTP Server: The Theory
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

FTP Server: The Theory
By: Leidago
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2007-01-29

    Table of Contents:
  • FTP Server: The Theory
  • Explaining the Exchange
  • FTP Commands
  • Access Control Commands
  • Commands That Manipulate

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    FTP Server: The Theory - FTP Commands


    (Page 3 of 5 )

    The FTP commands are at the heart of the FTP protocol. It is essentially the language of communication between the client and the server. Below, I’ve provided a full list of commands used in the protocol:

    USER <SP> <username> <CRLF>

    PASS <SP> <password> <CRLF>

    ACCT <SP> <account-information> <CRLF>

    CWD <SP> <pathname> <CRLF>

    CDUP <CRLF>

    SMNT <SP> <pathname> <CRLF>

    QUIT <CRLF>

    REIN <CRLF>

    PORT <SP> <host-port> <CRLF>

    PASV <CRLF>

    TYPE <SP> <type-code> <CRLF>

    STRU <SP> <structure-code> <CRLF>

    MODE <SP> <mode-code> <CRLF>

    RETR <SP> <pathname> <CRLF>

    STOR <SP> <pathname> <CRLF>

    STOU <CRLF>

    APPE <SP> <pathname> <CRLF>

    ALLO <SP> <decimal-integer>

    [<SP> R <SP> <decimal-integer>] <CRLF>

    REST <SP> <marker> <CRLF>

    RNFR <SP> <pathname> <CRLF>

    RNTO <SP> <pathname> <CRLF>

    ABOR <CRLF>

    DELE <SP> <pathname> <CRLF>

    RMD <SP> <pathname> <CRLF>

    MKD <SP> <pathname> <CRLF>

    PWD <CRLF>

    LIST [<SP> <pathname>] <CRLF>

    NLST [<SP> <pathname>] <CRLF>

    SITE <SP> <string> <CRLF>

    SYST <CRLF>

    STAT [<SP> <pathname>] <CRLF>

    HELP [<SP> <string>] <CRLF>

    NOOP <CRLF>

    You can implement as many or as few commands as you want in your custom FTP server application. Of course, the more commands you implement the more robust your application is going to be.  The FTP protocol is under constant review, so try to keep a close eye on the changes that are being made.

    More Delphi-Kylix Articles
    More By Leidago


       · This article just describes what a FTP server is and how it works. Any comments are...
       · Hi,The notes on FTP Server was very useful. I want to know more detail about the...
     

    DELPHI-KYLIX ARTICLES

    - Delphi Wrapper Classes and XML
    - Delphi and the DOM
    - Delphi and XML
    - Internet Access: Client Service
    - Finishing the Client for an Internet Access ...
    - The Client for an Internet Access Control Ap...
    - User Management for an Internet Access Contr...
    - Important Procedures for an Internet Access ...
    - Server Code for an Internet Access Control A...
    - Constructing the Interface for an Internet A...
    - Building a Server Application for an Interne...
    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT