<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Encrypt files.
syntax
EncryptFile (
key,
sourcefile,
destfile
)
Parameters
key
Type:
character
Specify the encryption key. You can specify any characters for the key. Please specify characters that cannot be guessed.
sourcefile
The path of the file to encrypt.
The file name to generate after encryption.
Return Value
Boolean
FALSE - Failure. TRUE - Success.
Explanation
Encrypt the file. If you do not want the encryption key written in the script to be accessible from outside, encrypt the browser file (xml) itself.
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
×
Calculation formula syntax
Can be used in expression syntax (e.g. bind format)
reference
EncryptStr
DecryptStr
LoadTextFile
SaveTextFile
LoadCsvFile
SaveCsvFile
SavePrintText
GetTempFolder
GetTempFile
GetCurrentFolder
GetModuleFolder
GetFileSize
GetFileLastWriteTime
GetLogicalDrives
GetDriveType
EncryptFile
DecryptFile
SetClipboardData
GetClipboardData