Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

File Upload FTP vs. HTTP PerformanceComparision ????

Posted on 2001-08-22
15
Medium Priority
?
340 Views
Last Modified: 2008-03-06
I want to upload files (Binary as well as Text) to my web server.

I wnat to know which one will give me better performance and why

1. HTTP upload using 'multipart/form-data'
OR
2. FTP functions of 'Wininet' library.

Also what are the isues behind their choices?


Thanks in anticipation.
rskathait
0
Comment
Question by:rskathait
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
15 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6413006
FTP is more effient that HTTP.  But it has the drawback of requiring the FTP server to be setup and running on the server.  For small files you'll not get much improvement but if you intend to upload many large files, FTP is superior.
0
 
LVL 1

Author Comment

by:rskathait
ID: 6413037
Thanks,

Can you tell me why??? and what are the issue???

These 2 questions have the 80% of total points.


rsKathait
0
 
LVL 15

Expert Comment

by:ameba
ID: 6413056
listening
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 32

Expert Comment

by:jhance
ID: 6413064
Let me find it.  I have an article comparing the overhead of the two protocols.  HTTP is designed to be simple at the cost of efficiency, FTP is designed to be efficient at the cost of simplicity.
0
 
LVL 32

Accepted Solution

by:
jhance earned 400 total points
ID: 6413103
0
 
LVL 1

Author Comment

by:rskathait
ID: 6413107
Hello jhance, that article will be a great help. Thanks. I also agree that FTP will be faster then HTTP but I do not know why???
0
 
LVL 1

Author Comment

by:rskathait
ID: 6413194
Hi,

I read the article that clears most of the doubts. I will wait for a week before grading your comment to get more accurate answer.

This article is discussed on the point that FTP is file transfer and HTTP is for interactive file transfer.

Thanks a lot,
rsKathait
0
 
LVL 1

Author Comment

by:rskathait
ID: 6413197
FTP resides on session+presentation layer where does HTTP lies??

0
 
LVL 1

Author Comment

by:rskathait
ID: 6413203
Also can I use UDP over internet???
0
 
LVL 32

Expert Comment

by:jhance
ID: 6413274
>>FTP resides on session+presentation layer where does HTTP lies??

From the OSI layer model perspective, FTP and HTTP are identical.  Along with other application level protocols like: POP3, SMTP, HTTPS, IMAP, IRC, etc...

>>Also can I use UDP over internet???

Yes, but what does that have to do with this question?
0
 
LVL 1

Author Comment

by:rskathait
ID: 6413331
UDP - I thought if I can use UDP, it will be faster. Is it silly??? Forgive me.


rsKathait
0
 
LVL 32

Expert Comment

by:jhance
ID: 6413350
UDP can be faster but remember UDP is unreliable.  If you don't care if the data makes it to the destination or not, then UDP can be a useful choice.
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6413591
fpt is faster becase fpt was desing for :

File Transfer Protocol (FTP)
The protocol used for copying files to and from remote computer systems on a network using a Transmission Control Protocol/Internet Protocol (TCP/IP), such as the Internet. This protocol also allows users to use FTP commands to work with files, such as listing files and directories on the remote system.


0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6414682
Just a comment...
FTP is not always faster. Some sites (at least in my country) use less powerfull machines to the job than they use to http services.
Cheers
0
 

Expert Comment

by:andrewschneider
ID: 6416947
> Also what are the isues behind their choices?

There is a 3rd choice. HTTP PUT. It seems to me that is more analagous to FTP than the HTTP multi-part form upload. Multi-part form requires you to have content on your web server (cgi etc) that handles the upload. HTTP PUT simply requires you provide the appropriate access control.

The real choice is down to security. If you're bothered about security then bog-standard FTP will lose since HTTPS is better. You can tunnel FTP over secure protocols but most web servers and ftp servers don't support it out of the box. You've also got to make sure the FTP client and tunnel as well as the server. If you opt for HTTPS then it's a question of PUT vs multi-part-form and this very much depends on how well you can lock down the PUT and whether you want to write a web based form to assist in the upload or whether you just want to upload files arbitrarily.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question