AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos externos
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the name of a unique temporary file.
Note: The fTempFile function does not create the corresponding temporary file.. To create and open a temporary file, use fOpenTempFile.
Novedad versión 2025
Android This function is now available for Android applications.
Widget Android This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
IOS Widget This function is now available in iOS widget mode.
Mac Catalyst This function is now available in Catalyst mode.
WINDEVWEBDEV - Código ServidorReportes y ConsultasJavaCódigo de Usuario (UMC)PHPAjax
// Récupération du nom d'un fichier temporaire unique
ResFichierTempUnique = fTempFile("ABC", "C:\MesRépertoires")
// La fonction fFichierTemp renvoie "C:\MesRépertoires\ABCxxx.tmp"
Sintaxis
<Result> = fTempFile([<Prefix of temporary file> [, <Directory of temporary file>]])
<Result>: Character string
  • Full path of a unique temporary file.
  • Empty string ("") if an error occurred (unable to get the temporary path of system). To get more details on the error, use ErrorInfo with the errMessage constant.
<Prefix of temporary file>: Optional character string
Prefix (3 letters) for the name of the temporary file. This parameter is used to prefix the name of the temporary file. Only the first three letters will be taken into account.
WindowsLinux This parameter can be in Ansi or Unicode format.
<Directory of temporary file>: Optional character string
Full or relative directory of the temporary file. A UNC path can be used. This directory name may (or may not) end with the "\" character. This directory must exist. Otherwise, a WLanguage error will occur.
If this parameter is not specified, the default directory will be:
  • the temporary directory of Windows (if this directory exists on the current computer),
  • the current directory (if the temporary directory of Windows does not exist on the current computer).
WindowsLinux This parameter can be in Ansi or Unicode format.
Observaciones
fTempFile is used to find out the name of a unique temporary file. This function cannot be used to create the corresponding temporary file. To do so, use fCreate or fOpenTempFile.
Warning: For security reasons, function fTempFile deletes the temporary file if it already exists.. If the temporary file is used by another process, a non-fatal error will occur.
Componente: wd300std.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local