cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: loging in with -F

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Jun 2002 13:35:27 +0200 (MET DST)

On Tue, 4 Jun 2002, Fernando D. Mato Mira wrote:

> > You should probably make a post that fulfills the requirement the HTML form
> > sets. You can't pick a type at your own discretion. How does the <form>
> > [blurb] </form> tag stuff look?
>
> <form autocomplete="off"
> action="http://www.privatestar.ch/servlet/PrivateDB.UploadDocumentsServlet"
> method="POST" name="loginform">

This is a regular -d post. You can't use --form or -F to post to this URL.

> > > With the -d option, I manage to get through. Any ideas?
> >
> > Why not use -d if that works?
>
> Even if newlines were preserved, it won't work for Asian customers, for
> example.

Why not? What fails for "Asian customers" that you can't have curl do for
you?

Using -F/--form is not the answer to your questions.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-06-04