SaveSessionFileToFile Method
Syntax
Context.Session.SaveSessionFileToFile as L (Key as C, DestinationFile as C)
Arguments
- KeyCharacter
The key of the data in the current session.
- DestinationFileCharacter
The full path of the file into which the data is to be saved.
Description
Retrieves contents previously stored in the current session as a file and copies them to a local file.
Discussion
Context.Session.SaveSessionFileToFile() retrieves contents previously stored in the current session as a file and copies them to a local file. Check Context.Session.CallResult.Success before using the return value.
The session file must have been created using one of the following methods.:
Example
context.session.saveFileToSessionFile( c fileName, c key) context.session.saveDataAsFile( b data, c key)
See Also