HTTP vs FTP upload

前端 未结 7 2533
攒了一身酷
攒了一身酷 2020-12-28 19:01

I am building a large website where members will be allowed to upload content (images, videos) up to 20MB of size (maybe a little less like 15MB, we haven\'t settled on a fi

7条回答
  •  臣服心动
    2020-12-28 19:26

    Is HTTP uploading reliable enough for such large files

    One major advantage of FTP would be the ability to resume aborted uploads. Most FTP servers and clients support this, though it's not always activated. Whereas with HTTP, it's theoretically possible using special headers, but a normal client (i.e. browser) will not support it.

    Another advantage would be bulk uploads: very simple in FTP, not so in HTTP.

    But why not simply offer both options? HTTP for those who are behind proxies or won't/can't use an FTP client, and FTP for people who have to do upload many or large uploads over unreliable connections.

提交回复
热议问题