Folders.UserTemporary
---------------------

Queries temporary folder.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Folders](component_Folders.md) | [6.2](newinversion62.md) | ✅ 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](PathNativePathToFileMakerPath.md) 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](FoldersSystemTemporary.md).  
### Examples

Get path for temp PDF file:

 Set Variable \[$temppath ; Value: MBS ( "[Path.AddPathComponent](PathAddPathComponent.md)"; MBS ( "Folders.UserTemporary" ); "temp.pdf")\]  
### See also

- [Files.DeleteLater](FilesDeleteLater.md)
- [Files.FileInfo](FilesFileInfo.md)
- [Folders.System](FoldersSystem.md)
- [Icon.GetIconWithQuickLook](IconGetIconWithQuickLook.md)
- [IKScannerDevicePanel.SetDownloadsDirectory](IKScannerDevicePanelSetDownloadsDirectory.md)
- [Path.AddPathComponent](PathAddPathComponent.md)
- [Path.FilePathToFileURL](PathFilePathToFileURL.md)
- [RichText.ReadContainer](RichTextReadContainer.md)
- [Text.WriteTextFile](TextWriteTextFile.md)
- [WIA.ImageDialog](WIAImageDialog.md)

### Release notes

- **Version 9.1**
    - Added mitigation for [Folders.UserTemporary](http://www.mbsplugins.eu/FoldersUserTemporary.shtml) function for Mac on Server.

### Example Databases

- [Containers/Create Container Preview](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Containers/Create%20Container%20Preview.shtml#1ScriptAnchor_)
- [CURL/Email/Email Parser and Preview](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Email%20Parser%20and%20Preview.shtml#2ScriptAnchor_)
- [CURL/Email/IMAP Email](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/IMAP%20Email.shtml#6ScriptAnchor_)
- [Drag and Drop/Better drag file from Container](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Drag%20and%20Drop/Better%20drag%20file%20from%20Container.shtml#2ScriptAnchor_)
- [DynaPDF/RenderJob](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/RenderJob.shtml#1ScriptAnchor_)
- [DynaPDF/Scan with WIA to PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Scan%20with%20WIA%20to%20PDF.shtml#7ScriptAnchor_)
- [DynaPDF/Signature Appearance](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Signature%20Appearance.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/PDFKit Print Documents](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDFKit%20Print%20Documents.shtml#4ScriptAnchor_)
- [SmartCard/Belgian EID Reader](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/Belgian%20EID%20Reader.shtml#2ScriptAnchor_)
- [Win Only/Scanning/WIA Scan](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Scanning/WIA%20Scan.shtml#7ScriptAnchor_)

### Blog Entries

- [From speech to text with FileMaker and MBS](https://www.mbsplugins.de/archive/2025-05-01/From_speech_to_text_with_FileM/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Advent calendar - Door 17 - User Notifications](https://www.mbsplugins.de/archive/2024-12-17/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Advent calendar - Door 7 - Open Files With Roundabout Route Via Temporary Files](https://www.mbsplugins.de/archive/2024-12-07/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [Printing a WebViewer in FileMaker](https://www.mbsplugins.de/archive/2024-02-16/Printing_a_WebViewer_in_FileMa/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 12 - Files](https://www.mbsplugins.de/archive/2023-12-12/MBS_Plugin_Advent_calendar_12_/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 7 - Paths](https://www.mbsplugins.de/archive/2023-12-07/MBS_Plugin_Advent_calendar_7_-/monkeybreadsoftware_blog_filemaker)
- [Tips and tricks with MBS](https://www.mbsplugins.de/archive/2023-08-10/Tips_and_tricks_with_MBS/monkeybreadsoftware_blog_filemaker)
- [Convert Office Files in FileMaker](https://www.mbsplugins.de/archive/2022-07-04/Convert_Office_Files_in_FileMa/monkeybreadsoftware_blog_filemaker)
- [Query MBS Version from plugin in container](https://www.mbsplugins.de/archive/2021-04-19/Query_MBS_Version_from_plugin_/monkeybreadsoftware_blog_filemaker)
- [LogicalDOC Webservice](https://www.mbsplugins.de/archive/2017-12-27/LogicalDOC_Webservice/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2025, Seite 24](https://filemaker-magazin.de/neuigkeit/4286-Appetithappen-FMM_202502)
- [Ausgabe 3/2024, Seite 31](https://filemaker-magazin.de/neuigkeit/4263-Appetithappen-FMM_202403)

This function is free to use.

Created 23th April 2016 , last changed 4th June 2023

  
[Folders.UserPreferences](FoldersUserPreferences.md) - [Folders.UserTrash](FoldersUserTrash.md)

[HTML Version](FoldersUserTemporary.shtml)