8/3/2023 0 Comments Syncovery filename variables![]() ![]() ![]() function ExtractFilePath(const s: UnicodeString):UnicodeString.function ExtractFileName(const s: UnicodeString):UnicodeString.function ConcatPathWithDelim(const a,b,delim:UnicodeString):UnicodeString.function ConcatPath(const a,b:UnicodeString const t: Int64):UnicodeString.See the settings dictionary at the end of the Syncovery Command Line page) (these functions use the same field names as the XML format and the command line. function SetProfileProperty(const fieldname:UnicodeString const val:UnicodeString):Boolean. ![]() function GetProfileProperty(const fieldname:UnicodeString):UnicodeString.standard functions such as Pos, Copy, Length, Ord.The following functions are available for you to call. Additional hooks will be added as needed to fulfill customer requests. The following hooks are currently available. Note that this works with FTP library 3 only. This script allows you to specify which LAN port to use for an FTP connection. Bind an FTP connection to a specific LAN port.This script causes e-mail notifications to be sent only if less than 10 or more than 100 files were copied from left to right. Send E-Mail Notifications Depending on Profile Results.This script simplifies the e-mail notifications and can be edited easily to customize your emails. The right-hand side can be Windows compliant storage such as a local NTFS drive. This script allows you do have the disallowed characters /:\?|“* in file names on the left-hand side. Convert Disallowed Characters for Windows.This script shortens file names which are over 114 characters long, adding a CRC32 hash based on the original file name to ensure that the shortened names are unique. The following scripts can be used as it is, just paste the script into the PascalScript dialog. Since version 9.36b, PascalScripts have access to all profile settings and can read and modify them using the utility functions GetProfileProperty and SetProfileProperty. The script is specified in the profile via the “Pascal Script…” checkmark on the Job settings category tab sheet. For larger or complicated scripts, please consider a Premium Support Subscription that includes custom script development. In most cases, our tech support will write the code for you. To change a particular behavior, you need to write a hook function and write some code. PascalScript was added in Syncovery 8, and many new hooks and functions have been added since the first release. Syncovery includes a PascalScript engine, allowing you to customize your profile’s behavior in many ways. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |