httpc_post

Hi,

With the function httpc_post(), I only post data but not a file.

Somone have a sample ?

Regards

Hi , I think you can only post the data to the file using the function httpc_post().

This is the function description.
int httpc_post( httpc_Socket far *s, const char *host, word port, const char *file, const char *auth, const char far *postdata);
DESCRIPTION
Connect to “host” and POST “postdata” to “file” using “auth” credentials.

Check the Dynamic C TCP/IP Volume 2
http://ftp1.digi.com/support/documentation/019-0144_G.pdf