FTP or HTTP?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

FTP or HTTP?

Post by Charles256 »

So we all know that FTP is what you use to transfer large files, it's easier for those with half of a technical know how. But how do you convince your boss to use FTP when they're expecting clients to submit large files regularly or is using HTTP acceptable? Give me some evidence when you make your claim for either one please. :)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

The main difference between FTP and HTTP is that FTP has an authenticated session with the reconnection benefits that implies. However, you can also implement an authenticated session with the HTTP as well as reconnection functionality -- but you need to do it yourself. So it is really a money question for your boss unless she/he does not mind clients transfers failing and having to restart.
(#10850)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

I built a file-upload-via-web-form thing that runs on Uniform Server on an office computer - works like a charm. I set the max filesize to 100M and basically just host that one form - the uploaded files are then available locally on a Windows SMB share. Easy peasy.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Post by califdon »

arborint wrote:The main difference between FTP and HTTP is that FTP has an authenticated session with the reconnection benefits that implies. However, you can also implement an authenticated session with the HTTP as well as reconnection functionality -- but you need to do it yourself. So it is really a money question for your boss unless she/he does not mind clients transfers failing and having to restart.
Thanks, arborint, for that concise and clear comparison. Very useful knowledge!
Post Reply