ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Remark: This function can only be run from a stored procedure.
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, etc.)
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help