I Need to send files using HTTP protocols, but the question is should I use sockets because I have big files ? or I can use WinHttpApi such as :
BOOL HttpSendRequest(
__in HINTERNET hRequest,
__in LPCTSTR lpszHeaders,
__in DWORD dwHeadersLength,
__in LPVOID lpOptional,
__in DWORD dwOptionalLength
);
and use the lpOptional for the file I want ? and should I devide the file or this API handles big files?
Is there any limitation in files size if I used the HTTP apis and should I devide data?