How to upload an image to imageshark using curl?
Posted
by cinek1lol
on Stack Overflow
See other posts from Stack Overflow
or by cinek1lol
Published on 2010-03-10T18:59:54Z
Indexed on
2010/03/28
8:33 UTC
Read the original article
Hit count: 224
Hello:
I wrote a program using curl.exe
that sends pictures to imageshark and receives a link to the pictures.
The problem that I have to specify the path to the image on the disk, and the rest of my so constructed that I have uploaded these pictures to a binary char array And I mean, I can send these pictures to char variable, and not giving the file path (you know what I mean?) Not too much know how to use it to save the library directly to curl. I'll be very grateful for any help
sorry I know little English. wants to send a file loaded POST method to the variable char binary.
Programs that are written above, send the file to disk. Do you understand what's going on?
This is look like
I would like to send the file in char variable, rather than on the hard disk I found the program, but he sends the entire file, and I would like to have it sent to the variable char dz
© Stack Overflow or respective owner