Re: Http put Vs ftp

Ted Han <[email protected]> Tue, 22 Feb 2011 08:38:09 -0500
Newsgroups gmane.comp.web.smil
Message-ID <[email protected]>
--20cf3054a69f4e55c0049cdf17e5
Content-Type: text/plain; charset=ISO-8859-1

FTP stands for File Transfer Protocol, and is one of the old-timey ways to
shunt files around the internet.  FTP relies on having an FTP daemon set up
on whatever machine is the host machine that you're pushing files to.  FTP
itself is notoriously insecure.  SFTP (FTP over SSH) is an unrelated
implementation with a similar interface to FTP made subsequently to address
FTP's total lack of security.

HTTP PUT is a RESTful HTTP verb, along side other verbs like GET, POST,
DELETE and HEAD.  The intention for PUT is to update an existing resource
(which is denoted by some URI, such as http://example.host.net/video/1.html)
with new data sent in HTTP headers (just as what happens when you POST to a
resource).  POSTs like any HTTP verb can be performed over secure
connections using SSH and a browser's builtin facility for negotiating https
connections signed with security certificates.

If your goal is to set up a personal server to upload files to and from, you
want to use something like FTP.

If your goal is to accept, and update content from users (who may be
untrusted -- and you should always assume your users are untrusted), then
you probably want a web app that uses things like POST and PUT to receive
data and files.

Fundamentally, FTP and HTTP do very different things and aren't really
directly comparable.  To give you a more useful example, i would have to
know more about what it is that you're atually trying to accomplish.

-Ted

On Tue, Feb 22, 2011 at 5:08 AM, Datta321 <[email protected]>wrote:

> Can anyone explain in detail the *difference* between *Http PUT *and* FTP
> *with an example ?
> ------------------------------
> View this message in context: Http put Vs ftp<http://old.nabble.com/Http-put-Vs-ftp-tp30984384p30984384.html>
> Sent from the w3.org - www-smil mailing list archive<http://old.nabble.com/w3.org---www-smil-f11729.html>at Nabble.com.
>

--20cf3054a69f4e55c0049cdf17e5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

FTP stands for File Transfer Protocol, and is one of the old-timey ways to =
shunt files around the internet. =A0FTP relies on having an FTP daemon set =
up on whatever machine is the host machine that you&#39;re pushing files to=
. =A0FTP itself is notoriously insecure. =A0SFTP (FTP over SSH) is an unrel=
ated implementation with a similar interface to FTP made subsequently to ad=
dress FTP&#39;s total lack of security.<div>
<br></div><div>HTTP PUT is a RESTful HTTP verb, along side other verbs like=
 GET, POST, DELETE and HEAD. =A0The intention for PUT is to update an exist=
ing resource (which is denoted by some URI, such as <a href=3D"http://examp=
le.host.net/video/1.html">http://example.host.net/video/1.html</a>) with ne=
w data sent in HTTP headers (just as what happens when you POST to a resour=
ce). =A0POSTs like any HTTP verb can be performed over secure connections u=
sing SSH and a browser&#39;s builtin facility for negotiating https connect=
ions signed with security certificates.</div>
<div><br></div><div>If your goal is to set up a personal server to upload f=
iles to and from, you want to use something like FTP.</div><div><br></div><=
div>If your goal is to accept, and update content from users (who may be un=
trusted -- and you should always assume your users are untrusted), then you=
 probably want a web app that uses things like POST and PUT to receive data=
 and files.</div>
<div><br></div><div>Fundamentally, FTP and HTTP do very different things an=
d aren&#39;t really directly comparable. =A0To give you a more useful examp=
le, i would have to know more about what it is that you&#39;re atually tryi=
ng to accomplish.</div>
<div><br></div><div>-Ted</div><div><br><div class=3D"gmail_quote">On Tue, F=
eb 22, 2011 at 5:08 AM, Datta321 <span dir=3D"ltr">&lt;<a href=3D"mailto:DS=
[email protected]">[email protected]</a>&gt;</span> wrote:<=
br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">
 Can anyone explain in detail the <b>difference</b> between <b>Http PUT </b=
>and<b> FTP </b>with an example ?
<br><hr align=3D"left" width=3D"300">
View this message in context: <a href=3D"http://old.nabble.com/Http-put-Vs-=
ftp-tp30984384p30984384.html" target=3D"_blank">Http put Vs ftp</a><br>
Sent from the <a href=3D"http://old.nabble.com/w3.org---www-smil-f11729.htm=
l" target=3D"_blank">w3.org - www-smil mailing list archive</a> at Nabble.c=
om.<br>
</blockquote></div><br></div>

--20cf3054a69f4e55c0049cdf17e5--