Results 1 to 7 of 7
  1. #1
    islamfunny is offline Member
    Join Date
    Aug 2008
    Posts
    27
    Rep Power
    0

    Unhappy Difference between http and ftp

    I really encounter a big misunderstanding between HTTP and FTP. When i deployed a file on my http server and requested its path on a browser my download manager popped up?Then i can download files and page (and may be any thing ,who knows then) using http .What do we use FTP for?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default

    These are two flavors of internet protocols for communication between two computers.
    HTtp - HyperText transmission protocol
    FTp - File Transfer protocol
    These protocols are defined in some RFC document. Using Google you can find them and read all about them.

    HTTP is used by browsers to view pages.
    FTP is used to upload and download files.
    Last edited by Norm; 08-12-2008 at 08:48 PM.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Norm, using HTTP we can download as well, right? In lite weight applications I used it with HttpUrlConnection.

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default

    Eranga,
    Yes HTTP can be used to copy files both ways.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  6. #6
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hi,
    I would like to add point on this.
    As norm mentioned HTTP is for page transfer and FTP is for file transfer.
    We can transfer a file by using HTTP but it may result in Performance issues as it may slow down your process.
    To finish sooner, take your own time....
    Nivedithaaaa

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    It can cause much damage in larger file transferring actually. That's why I mentioned that suitable for light weight applications. In most of the applications I use HTTP connections for file transfer, because no need to worry about proxy. ;) But not at all.

Similar Threads

  1. difference between Abstract and interface
    By mrark in forum New To Java
    Replies: 3
    Last Post: 11-07-2009, 04:20 AM
  2. Difference between browswer and appletviewer?
    By jklsemicolon in forum Java Applets
    Replies: 5
    Last Post: 08-09-2008, 05:23 AM
  3. Http change to HTTP\SSL
    By ballyv24 in forum Advanced Java
    Replies: 0
    Last Post: 05-14-2008, 11:32 AM
  4. Difference between ASP and JSP
    By barney in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 07:15 AM
  5. difference between this and super
    By mrark in forum New To Java
    Replies: 1
    Last Post: 06-27-2007, 05:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •