DonationCoder.com Software > Post New Requests Here
IDEA: Upload a picture to image hosting service
(1/1)
mouser:
im interested in a commandline tool that could upload an image file specified on the commandline to one of the image hosting services (like http://www.imageshack.us/) , and reports back the url to the uploaded file.
how i would use this:
i'd like to add it to screenshot captor tool menu.
skrommel:
:) I think wget --post-data=string should work. All that needs to be done is build the right post string from the <form></form> data on each site.
wget can be found at http://users.ugent.be/~bpuype/wget/
Skrommel
mouser:
it shouldn't be too much harder than using wget, however the tool needs to check for the url returned by the image hosting service and report it (or copy it to clipboard), or display an error if upload was unsuccessful.
skrommel:
:tellme: Wget should return a html file, which could be searched for the url or error message.
Skrommel
brotherS:
@mouser: any news on this one?
Navigation
[0] Message Index
Go to full version