curl-users
imagebin automation
Date: Mon, 15 Sep 2008 17:32:49 -0400
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?
Many Thanks
Izaak Beekman
===================================
Princeton University
D309 Engineering Quadrangle
Princeton, NJ 08544
ibeekman_at_princeton.edu
-------------------------------------------------------------------
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-15