Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Archive.AddFile

Add files to the current archive.

Component Version macOS Windows Linux Server iOS SDK
Archive 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Archive.AddFile"; List { ; BasePath; TimeStamp } )   More

Parameters

Parameter Description Example Flags
List the list of files and folders to add to archive. "test.txt"
BasePath The bath path to the folder where to look for files. "C:\test" Optional
TimeStamp Available in MBS FileMaker Plugin 14.0 or newer.
The timestamp to use in the archive for the file.
Can be empty to use today.
"" Optional

Result

Returns OK or error.

Description

Add files to the current archive.
Please use Archive.Create before adding the first file and use Archive.Close after the last file to finish.

See also

Release notes

Blog Entries

This function checks for a license.

Created 13th February 2023, last changed 5th January 2024


Archive.AddContainer - Archive.AddText