HTTP与FTP上传 [英] HTTP vs FTP upload
问题描述
我的问题是,在这种情况下,我应该使用HTTP还是FTP上传。请记住,80-90%的上传将会像cca 1-3MB这样的较小尺寸,但有时会有一些成员也想上传大文件(10MB以上)。
< HTTP上传足够可靠的这样的大文件,或者我应该去FTP?在上传文件时,HTTP和FTP之间有明显的速度差异吗?
我在问,因为我使用Zend Framework,它已经有文件上传的HTTP适配器,万一我选择FTP,我将不得不为自己写适配器。
谢谢!
你的客户。很多地方都有代理或防火墙阻止所有FTP流量(进出)。
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 final upload limit yet but it will be somewhere between 10-25MB).
My question is, should I go with HTTP or FTP upload in this case. Bear in mind that 80-90% of uploads will be smaller size like cca 1-3MB but from time to time some members will also want to upload large files (10MB+).
Is HTTP uploading reliable enough for such large files or should I go with FTP? Is there a noticeable speed difference between HTTP and FTP while uploading files?
I am asking because I'm using Zend Framework which already has HTTP adapter for file uploads, in case I choose FTP I would have to write my own adapter for it.
Thanks!
HTTP definitely puts less of a burden on your clients. A lot of places have proxies or firewalls that block all FTP traffic (in or out).
这篇关于HTTP与FTP上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!