Comparing HTTP and FTP for transferring files

前端 未结 6 1632
既然无缘
既然无缘 2020-11-28 01:51

What are the advantages (or limitations) of one over the other for transferring files over the Internet?

(I am aware of secure forms of both protocols. I\'d like to

6条回答
  •  無奈伤痛
    2020-11-28 02:17

    One consideration is that FTP can use non-standard ports, which can make getting though firewalls difficult (especially if you're using SSL). HTTP is typically on a known port, so this is rarely a problem.

    If you do decide to use FTP, make sure you read about Active and Passive FTP.

    In terms of performance, at the end of the day they're both spewing files directly down TCP connections so should be about the same.

提交回复
热议问题