Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I tried running your example, with the exact same password (on a test account) and did not have any issues uploading my sample image. I even looked through a pcap to make sure the encoding is being done correctly.</p> <pre><code>-desktop:~/Dropbox$ curl -vv -F "username=********" -F "password=='hwsh[g" -F "message=test twitpic" -F media=@./code_Quality_Measurement_wtfm.jpg http://twitpic.com/api/uploadAndPost * About to connect() to twitpic.com port 80 (#0) * Trying 174.36.58.233... connected * Connected to twitpic.com (174.36.58.233) port 80 (#0) &gt; POST /api/uploadAndPost HTTP/1.1 &gt; User-Agent: curl/7.19.5 (i486-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15 &gt; Host: twitpic.com &gt; Accept: */* &gt; Content-Length: 46066 &gt; Expect: 100-continue &gt; Content-Type: multipart/form-data; boundary=----------------------------50b761e49108 &gt; &lt; HTTP/1.1 100 Continue &lt; HTTP/1.1 200 OK &lt; Server: nginx/0.6.35 &lt; Date: Thu, 03 Dec 2009 19:06:38 GMT &lt; Content-Type: application/xml &lt; Connection: keep-alive &lt; X-Powered-By: PHP/5.2.9 &lt; Content-Length: 196 &lt; &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;rsp status="ok"&gt; &lt;statusid&gt;6311967029&lt;/statusid&gt; &lt;userid&gt;**********&lt;/userid&gt; &lt;mediaid&gt;rzu6c&lt;/mediaid&gt; &lt;mediaurl&gt;http://twitpic.com/rzu6c&lt;/mediaurl&gt; * Connection #0 to host twitpic.com left intact * Closing connection #0 &lt;/rsp&gt; </code></pre> <p>what Shell are you using? depending on what "special" characters you use in your password, you may need to escape them differently to keep the shell from expanding/etc </p> <p>any time you use double quotes in a command line, you have to deal with variable expansion, especially if your password contains a dollarsign ($). it may be better to use single quotes around the password field, and explicitely escape any single quotes in your password:</p> <pre><code>-F 'password==\'hwsh[g' </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload