cURL / Mailing Lists / curl-users / Single Mail

curl-users

Newbie help

From: Matthew Singer <matt_at_finaldraftbooks.com>
Date: Thu, 10 Apr 2003 12:25:26 -0400

I'm trying to automate some tasks to amazon.com, but I don't seem to be
having any luck getting the correct curl syntax for these forms.
Suggestions/hints please?

Thank you

--- FORM report. Uses POST to URL
"https://secure.amazon.com/exec/panama/login/attempt/customer/seller-admin/e
xpired/30/seller-admin/catalog-upload/catalog-upload-now/104-7798463-7868702
"
Input: NAME=" " VALUE=" " (HIDDEN)
Input: NAME=" " VALUE=" " (HIDDEN)
Input: NAME="login_id" VALUE="mylogin" (TEXT)
Input: NAME="login_password" (PASSWORD)
Button: "Sign in using our secure server" (SUBMIT)

--- FORM report. Uses POST to URL
"/exec/panama/seller-admin/catalog-upload/catalog-upload-now"
--- type: multipart form upload [use -F]
Input: NAME="customer_id" (HIDDEN)
Select: NAME="FileType"
  Option VALUE="" (SELECTED)
  Option VALUE="TabDelimited"
  Option VALUE="UIEE"
[end of select]
Input: NAME="enable-expedited-shipping" VALUE="Y" (CHECKBOX)
Input: NAME="ListingProgram" VALUE="ProMerchant" (RADIO)
Input: NAME="ListingProgram" VALUE="HybridSDP" (RADIO)
Input: NAME="ListingProgram" VALUE="PureSDP" (RADIO)
Select: NAME="FileOperationType"
  Option VALUE="" (SELECTED)
  Option VALUE="AMD"
  Option VALUE="PR"
  Option VALUE="MD"
[end of select]
Input: NAME="UploadFileName" (FILE)
Button: "" (IMAGE)
--- end of FORM

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-04-10