BE_HTTP_PUT_FILE

BE_HTTP_PUT_FILE</a> ( url ; path {; username ; password } )

 

Does a HTTP PUT 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_Set_Custom_Header function to set custom headers in advance and the BE_HTTP_Response_Code and BE_HTTP_Response_Headers functions to get the result values after the PUT is complete.

 

Version : 2.0

Version : 2.1 : Changed the name to BE_HTTP_PUT_DATA to reflect the actual use of the function parameters.

 

Parameters :
url : the url to retrieve.
path : The path to the file to upload.
username ( optional ) : username for basic HTTP authentication.
password ( optional ) : password for basic HTTP authentication.

 

Result : Returns the value that the url returns. Other returned values are in the BE_HTTP_Response_Code and BE_HTTP_Response_Headers functions and error codes are in the BE_GetLastError function.

Have more questions? Submit a request

0 Comments

Article is closed for comments.