cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: imagebin automation

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 15 Sep 2008 15:11:14 -0700

On Mon, Sep 15, 2008 at 05:32:49PM -0400, Izaak Beekman wrote:
> I am trying to write an emacs function which sort of emulates the idea behind
> lisppaste but for screen shots rather than code. I have the code (in elisp)
> which creates a screenshot from an xwd shell command and saves the image as a
> .png in my home folder. i was hoping to use curl to upload that image to
> imagebin via something like:
>
> curl -F "nickname=ibeekman;image=@~/EmacsScreenshot.png;title=curltest"
> imagebin.org/index.php?page=add
>
> but it seems curl won't load the url. Does anyone have any thoughts on how I
> might accomplish this?

What does "curl won't load the url" mean? Have you read
http://curl.haxx.se/docs/httpscripting.html ?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-09-16