![Advantech UbiQ Скачать руководство пользователя страница 72](http://html1.mh-extra.com/html/advantech/ubiq/ubiq_user-manual_2856809072.webp)
UbiQ Scenario Manager User Manual
66
5.2.11
GetFileFromHttp
Syntax
void GetFileFromHttp(string sHttp, string sDesFile)
Parameters
sHttp: Specifies the homepage file address.
sDestFile: Specifies the destination file on the device side. It should include the
path name.
Description
This function will get the file from the specified homepage address if the homep-
age exist.
Example
string sHttp;
string sDestFile;
sHttp=”http://taiwan.advantech.com.tw/unzipfunc/Unzip/EH-7105_ds.pdf”;
sDestFile=”\\EH7105.pdf”;
GetFileFromHttp(sHttp,sDestFile);
See Also
none
5.2.12
getenv
Syntax
string getenv(char* pEnv) or
string getenv(string sEnv)
Parameters
pEnv: Specifies the Null-ended environment variable.
sEnv: Specifies the environment variable string.
Description
This function returns the string value to the given environment variable.
Comments
This function just is used for writing CGI script on the WebCON kernel.
Example
string sButton;
sButton=getenv(“BUTTON”);
printf(“BUTTON=%s”,sButton);
See Also
printf
Содержание UbiQ
Страница 1: ...User Manual UbiQ Scenario Manager User Manual V1 03...
Страница 4: ...UbiQ Scenario Manager User Manual iv...
Страница 7: ...Chapter 1 1 Introduction...
Страница 13: ...Chapter 2 2 Getting Started...
Страница 37: ...Chapter 3 3 Tutorials...
Страница 47: ...Chapter 4 4 Basic of Smart C Script Language...
Страница 62: ...UbiQ Scenario Manager User Manual 56...
Страница 63: ...Chapter 5 5 Functions Reference...