delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/13/10:49:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <75cc17ac0709130748v14989cc9m41c859c1d7b24aff@mail.gmail.com>
Date: Thu, 13 Sep 2007 09:48:26 -0500
From: "Gregg Reynolds" <dev AT mobileink DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Webdav batch file transfer: curl, wget
In-Reply-To: <46E82389.28C5B4D9@dessent.net>
MIME-Version: 1.0
References: <fbrfm3$942$1 AT sea DOT gmane DOT org> <75cc17ac0709111359u1b7635ej4cc3bab19658af46 AT mail DOT gmail DOT com> <fc8evd$4e5$1 AT sea DOT gmane DOT org> <46E82389 DOT 28C5B4D9 AT dessent DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 9/12/07, Brian Dessent <brian AT dessent DOT net> wrote:

> Curl on the other hand is better suited for http scripting where you are
> trying to emulate the actions of a user, such as when submitting form
> fields.  Wget has the ability to do http POSTs but it only supports the
> old "application/x-www-form-urlencoded" content encoding and not the
> more sophisticated "multipart/form-data" encoding which allows for
> things like file uploads.  Curl supports both.

Curl is also great for examining protocol transactions for any of the
supported protocols.  Great tool for e.g. learning what webdav
transactions actually look like.  I wouldn't want to try to debug a
networking application without it, that's for sure.

-g

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019