ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 executed from a stored procedure.
Example
// Code d'une procédure stockée
fSaveText(CompleteDir(HServerWorkingDir()) + "MonFichier.txt", MaChaîneTexte)
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: wd300hf.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help