Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Folders.UserTemporary
Queries temporary folder.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Folders | 6.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Folders.UserTemporary" )
Parameters
none
Result
Returns path or error.
Description
Queries temporary folder.This is a native path. You can use Path.NativePathToFileMakerPath if you need to use path in a script step.
On Mac Folders.UserTemporary is in the user's home folder while the system wide temporary folder is in /var/folders and can be queried with Folders.SystemTemporary.
Examples
Get path for temp PDF file:
Set Variable [$temppath; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserTemporary" ); "temp.pdf")]
See also
- Files.DeleteLater
- Files.FileInfo
- Folders.System
- Icon.GetIconWithQuickLook
- IKScannerDevicePanel.SetDownloadsDirectory
- Path.AddPathComponent
- Path.FilePathToFileURL
- RichText.ReadContainer
- Text.WriteTextFile
- WIA.ImageDialog
Release notes
- Version 9.1
- Added mitigation for Folders.UserTemporary function for Mac on Server.
Example Databases
- Containers/Create Container Preview
- CURL/Email/Email Parser and Preview
- CURL/Email/IMAP Email
- DynaPDF/Scan with WIA to PDF
- DynaPDF/Signature Appearance
- Mac and iOS/PDFKit/PDFKit Print Documents
- SmartCard/Belgian EID Reader
- Win Only/WIA Scan
Blog Entries
- Printing a WebViewer in FileMaker
- MBS Plugin Advent calendar: 12 - Files
- MBS Plugin Advent calendar: 7 - Paths
- Tips and tricks with MBS
- Convert Office Files in FileMaker
- Query MBS Version from plugin in container
- MBS FileMaker Plugin, version 9.1pr2
- LogicalDOC Webservice
FileMaker Magazin
This function is free to use.
Created 23th April 2016, last changed 4th June 2023