BE_HTTP_PUTFile
BE_HTTP_PUTFile(url ;path;{username ;password })
Does a HTTPPUT function with a referenced file and returns the results. This uses the curl library so output will be similar to that. This is used in conjunction with the BE_HTTP_SetCustomHeader function to set custom headers in advance and the BE_HTTP_ResponseCode and BE_HTTP_ResponseHeaders functions to get the result values after the PUT is complete.
Parameters:
- url : the url to retrieve.
- path : The path to the file to upload.
- username : username for basic HTTP authentication.
- password : password for basic HTTP authentication.
Keywords:
HTTP PUT File
Version History:
- 2.0 :
- 2.1 : Changed the name to BE_HTTP_PUT_DATA to reflect the actual use of the function parameters.
- 4.0.2 : Renamed from BE_HTTP_PUTData
Notes:
- Check for errors using theBE_GetLastErrorfunction and use https://curl.haxx.se/libcurl/c/libcurl-errors.html for error details.