PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HServerWorkingDir (Function)
In French: HRepTravailServeur
HFSQL Client/ServerAvailable only with this kind of connection
Returns the path of a temporary directory on the HFSQL server. This directory is automatically created on the server. The stored procedures run on the server will have the rights to write into this directory. This directory will be automatically cleared and destroyed when the client is disconnected.
Note: This function can only be run from a stored procedure.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Code of a stored procedure
fSaveText(CompleteDir(HServerWorkingDir()) + "MyFile.txt", MyTextString)
Syntax
<Result> = HServerWorkingDir()
<Result>: Character string
Full name of the temporary directory on the HFSQL server. A stored procedure will be able to create text files in this directory for example.
Remarks
  • To force the deletion of the directory and the deletion of its content, use HClearWorkingDir.
  • HSetServer also returns information about the paths of the different directories found on the server (path of database directory, path of log directory, path of backup directory for the logs, ...)
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment