cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Errors using Curl

From: Covington, Jimmy D. (NGIT) <Jimmy.Covington_at_mail.va.gov>
Date: Mon, 12 Sep 2005 09:36:51 -0500

Here is the http code from Sun's site:
<table width=100%>
<tr ><td>
<FORM ACTION="http://supportfiles.sun.com/upload" METHOD="post"
ENCTYPE="multipart/form-data">
<p><br>You can use the form below to upload a core or explorer file for the
attention of a Sun Service Engineer.</p>
    <h3>Step 1</h3>
    <p>
    <b>Choose the file you wish to upload. </b><br>
    Some browsers may have difficulty uploading files greater than 2GB.
    <br><br>

  <INPUT TYPE="file" size=80 NAME="file">
 <br><br></p>
    <h3>Step 2</h3>
    <p><b>Select a destination for this file</b><br>
    Your support engineer should advise you on an appropriate location
    <br><br>
  Destination: <SELECT name="destination">
<OPTION>cores</OPTION><OPTION>europe-cores/asouth/incoming</OPTION><OPTION>e
urope-cores/ch/cores</OPTION><OPTION>europe-cores/de/incoming</OPTION><OPTIO
N>europe-cores/fr/cores</OPTION><OPTION>europe-cores/se/cores</OPTION><OPTIO
N>europe-cores/uk/incoming</OPTION><OPTION>iplanetcores</OPTION><OPTION>expl
orer</OPTION> </SELECT><br><br></P>
  <h3>Step 3</h3>
  <p><b>Upload your file</b><br>
  Some browsers may not provide any progress indication. Please be patient,
hitting upload multiple times may restart your transfer.
  <br><br>
  <INPUT TYPE="submit" NAME="Submit" VALUE="Upload"></p>
  </FORM> <br><br>
</td></tr>
<tr class=sunred><td><div class="gwpadding1"><font color=white><b>This file
will NOT be transmitted securely. If you would prefer to use a secure
transfer, please <a href="https://supportfiles.sun.com/upload"><font
color=white>click
here</font></a>.</b></font></div></td></tr></div></td></tr></table></div></d
iv></td><td valign="top">
<!-- BEGIN RIGHT COLUMN COMPONENTS -->

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Monday, September 12, 2005 9:21 AM
To: curl tool talk
Subject: RE: Errors using Curl

On Mon, 12 Sep 2005, Covington, Jimmy D. (NGIT) wrote:

> It is still giving this error. I even tried sending as binary instead of
> ascii.

Are you sure you should POST to https://supportfiles.sun.com/upload/cores in

the first place? It seems very unlikely, since that page replies fine to GET

and offers an upload service that I suspect you want to use.

If you do, then you should note that it expects the upload to be sent to
"https://supportfiles.sun.com/upload" and nowhere else.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-12