Products Downloads


French version


 

 

This function is used to retrieve a resource identified by a JNDI name to a local file.

 

Context

  • Adelia Web client

  • Adelia Cloud client

  • Event Adelia client

  • Java client

  • Java server

 

Parameters

ALPHA(n)

JNDIname

JNDI name of the resource to retrieve.

ALPHA(n)

DestFile

Destination file.

BOOL

Replace

Replaces the destination file if it already exists.

BOOL

ReturnCode

Return code.

 

Example

ALPHA(256)

JNDIname

ALPHA(256)

DestFile

BOOL

ReturnCode

 

JNDIname = 'url/licfile'

DestFile = 'c:\licences\licenceFile.txt'

 

CALL_DLL 'VaToolbx.dll' 'VaToolBxCopyFileFromJNDI' JNDIname DestFile *FALSE ReturnCode

 

The JNDI resource named 'url/licFile' is copied to the 'c:\licences\licenceFile.txt' local file only if this file does not exist.

 

 

List of functions in the VaToolBx DLL by topic

↑ Top of page

  • Aucune étiquette