Answer the question
In order to leave comments, you need to log in
Which is better - FTP or HTTP?
Hello!
What is the best protocol for downloading files from the site? FTP or HTTP?
What is the difference between them? Is there a difference in download speed?
And which would be safer?
Answer the question
In order to leave comments, you need to log in
ftp is better suited for downloading files, especially in bulk and managing them. The protocol was created specifically for this.
http is the best protocol for downloading files. If it is supposed to provide download access to everyone, then http is safer for the hoster. The protocol does not provide for the management and modification of files, which is much more secure than ftp.
Although both protocols are open, and you need to transfer secret data (not for everyone), you can use their encrypted counterparts sftp and https.
From the series "Which is better: a colored refrigerator or a washing machine with wi-fi"
More secure - https.
It is easier for users to download via http(s).
looking for what. for uploading files of course ftp, but this is only for administration. and it is better for users to give everything through http. just do not create unnecessary difficulties for users. many people know less about FTP than about torrents and how to use it I think a 13 year old girl will not understand
FTP is possible, but as previously written it is suitable for torrents or large files.
Best over http with public and private key, or as a paid alternative to https
I found it on the net.
==============
For a small single file and a slow connection, FTP will work best. When receiving multiple files in a row (especially small ones), HTTP usually performs better.
===============
What makes FTP fast?
there are no meta descriptions in the transmitted stream, only pure binary data. Reference data goes in a separate connection;
there is no overhead for transcoding the transmitted data.
What makes HTTP fast?
reusing existing persistent connections improves TCP performance, no time wasted creating new connections;
pipeline processing allows you to quickly request multiple files from the same server;
(automatic) traffic compression reduces the amount of transmitted data, this can increase the transmission speed under the condition of a fast client and server and a slow communication channel;
no control commands in the data stream, it saves processing time.
Ultimately, the net result depends of course on the specific details, but I would argue that for single static files you won't be able to see a perceptible difference.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question