EXPORT_SPEC int UpnpDownloadUrlItem

( IN const char* url,
  OUT char** outBuf,
  OUT char* contentType )

UpnpDownloadUrlItem downloads a file specified in a URL.

Documentation

UpnpDownloadUrlItem downloads a file specified in a URL. The SDK allocates the memory for outBuf and the application is responsible for freeing this memory. Note that the item is passed as a single buffer. Large items should not be transferred using this function.

Parameters:
url - URL of an item to download.
outBuf - Buffer to store the downloaded item.
contentType - HTTP header value content type if present. It should be at least LINE_SIZE bytes in size.
Returns:
[int] An integer representing one of the following:

Alphabetic index



This page was generated with the help of DOC++.