{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["platform-badges","admonition","img"]},"type":"markdown"},"seo":{"title":"Treasure AI Studio - File Upload & Download","description":"Upload files to give the AI context for analysis, download AI-generated reports and datasets, and manage everything through the Files panel.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"file-upload--download","__idx":0},"children":["File Upload & Download"]},{"$$mdtype":"Tag","name":"PlatformBadges","attributes":{"platforms":["Web","Desktop","Mobile"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get data into Studio and results out. Upload CSVs, PDFs, and documents to give the AI context for analysis; download the reports, presentations, and datasets it generates — all stored server-side and accessible from any device."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The AI processes uploaded files inside the server-side sandbox. Files are stored per-chat and accessible through the Files panel. Your local filesystem is never accessed."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"objective","__idx":1},"children":["Objective"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Move files between your local device and Studio's server-side environment so the AI can analyze your data and you can export its output."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":2},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Signed in to Treasure AI Studio (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/getting-started"},"children":["Getting Started"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An active chat session"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"file-size-limits","__idx":3},"children":["File Size Limits"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The maximum file size for uploads is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["100 MB per file"]},". If you need to work with larger files, consider splitting them into smaller chunks or uploading only the relevant portions."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"uploading-files","__idx":4},"children":["Uploading Files"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can upload files to a chat session in two ways: through the chat input or through the Files panel."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"from-the-chat-input","__idx":5},"children":["From the Chat Input"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"web--desktop","__idx":6},"children":["Web & Desktop"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["plus button"]}," (+) in the chat input toolbar"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select one or more files from the file picker"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Files appear as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["thumbnails"]}," below the text area, showing the file name and a category icon"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Type your message (e.g., \"Summarize this report\" or \"Load this CSV into a table\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Send"]}," — the files upload and your message is sent together"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can also ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["drag and drop"]}," files directly onto the chat area. When you drag a file over the chat, a blue overlay appears with the message ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"Drop files here\""]},". Release to add the files to your pending attachments."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To remove a pending file before sending, click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["X"]}," button on its thumbnail."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"mobile-ios","__idx":7},"children":["Mobile (iOS)"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tap the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["plus button"]}," (+) in the chat input toolbar"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Choose from:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File"]}," — Browse and select documents"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Camera"]}," — Take a photo to attach"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Photos"]}," — Select from your photo library"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Files appear as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["pills"]}," below the text area"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Type your message and tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Send"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To remove a pending file, tap the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["X"]}," on its pill."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"from-the-files-panel","__idx":8},"children":["From the Files Panel"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"web--desktop-1","__idx":9},"children":["Web & Desktop"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Files"]}," panel by clicking the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["folder icon"]}," in the chat header"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload"]}," button at the top of the panel"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select a file from the file picker"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The file uploads to the current directory"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"specifying-a-directory","__idx":10},"children":["Specifying a Directory"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you have files attached in the chat input, a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["directory path input"]}," appears. This lets you specify which folder the files should be uploaded to within the chat's file system."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The default location is the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["root"]}," directory (shown as \"(root)\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Start typing a path to see ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["autocomplete suggestions"]}," from existing folders"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select an existing folder or type a new path to create one"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Technical Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each chat session has its own isolated file system rooted at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/home/agent/chats/{chatId}"]},". Files uploaded through the chat input are stored at the specified directory path within this root. The directory path input uses autocomplete based on the current folder tree."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"downloading-files","__idx":11},"children":["Downloading Files"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ai-generated-files","__idx":12},"children":["AI-Generated Files"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When the AI creates a file (a report, spreadsheet, presentation, or other output), a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"Created file\""]}," card appears in the chat with:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File icon"]}," — Color-coded by category (green for spreadsheets, blue for documents, purple for images, etc.)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File name"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["file size"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Category label"]}," (e.g., \"Spreadsheet\", \"Document\", \"Presentation\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Preview"]}," button — Opens the file in the built-in viewer"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Download"]}," button — Downloads the file to your device"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-file-created-card.e439d540bdddad8ee047b256df83336eee9a72d7c174bd99bc50788c1849b1fb.8a9297e8.webp","alt":"File card in chat showing generated file with download button","withLightbox":true,"width":"400px"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"from-the-files-panel-1","__idx":13},"children":["From the Files Panel"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"web--desktop-2","__idx":14},"children":["Web & Desktop"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Files"]}," panel (folder icon in the chat header)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Hover over any file in the file tree"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["download icon"]}," that appears on hover"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Or, when viewing a file in the viewer:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Download"]}," button in the viewer footer"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mobile-ios-1","__idx":15},"children":["Mobile (iOS)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tap the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Preview"]}," button (eye icon) on any file card to open it. Download functionality on mobile is handled through the iOS share sheet when previewing files."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"the-files-panel","__idx":16},"children":["The Files Panel"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Files panel is your file manager within each chat session. It has two zones:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"zone-a-file-explorer","__idx":17},"children":["Zone A: File Explorer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A hierarchical folder tree showing all files in the current chat session."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folders"]}," display with a folder icon and expand/collapse on click"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Files"]}," display with a category-colored icon, name, and size"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Hover over a file to see the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["download"]}," button"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click a file to open it in the viewer (Zone B)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When no files exist yet, the panel shows: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"No files yet\""]}," with the hint ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"Upload files or ask the AI to generate them\""]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"zone-b-file-viewer","__idx":18},"children":["Zone B: File Viewer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A tabbed viewer area where opened files display. Each open file gets its own tab:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tab bar"]}," — Shows file name with a colored dot indicator; click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["X"]}," to close a tab"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Viewer area"]}," — Renders the file using the appropriate viewer (see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/files/file-viewers"},"children":["File Viewers"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Fullscreen toggle"]}," — Expand the viewer to fill the screen"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When no file is selected, the viewer shows: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"Select a tab to view file\""]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"panel-controls","__idx":19},"children":["Panel Controls"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Control"},"children":["Control"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folder icon"]}," (chat header)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Toggle the Files panel open/closed. A dot badge appears when files exist but the panel is closed"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reload"]}," button (refresh icon)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refresh the file list from the server"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload"]}," button"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Upload a file to the current directory"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Fullscreen"]}," / ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Exit fullscreen"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Expand or collapse the viewer to fill the screen"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"file-categories","__idx":20},"children":["File Categories"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Studio categorizes files by extension and displays them with color-coded icons:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Category"},"children":["Category"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Extensions"},"children":["Extensions"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Icon Color"},"children":["Icon Color"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Spreadsheet"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["csv, xlsx, xls, tsv"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Green"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Document"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["md, txt, pdf, doc, docx, html, htm"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Blue"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Presentation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["pptx, ppt"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Blue"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Image"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["png, jpg, jpeg, gif, svg, webp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Purple"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Code"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["js, ts, py, sql, sh, yaml, yml"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Orange"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["json, xml, mmd, mermaid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Blue"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Journey"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["*.journey.yaml, *.journey.yml"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teal"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All other extensions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Gray"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upload-errors","__idx":21},"children":["Upload Errors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If a file upload fails, you see the message: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"File upload failed. Message not sent.\""]}," The message is not sent to the AI when all file uploads fail."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If some files in a batch succeed and others fail, the message is sent with only the successfully uploaded files."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"file-retention--deletion","__idx":22},"children":["File Retention & Deletion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Files stored in Studio are subject to the following retention rules:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"Scenario"},"children":["Scenario "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"65%","data-label":"What Happens to Files"},"children":["What Happens to Files "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Standalone chat deleted"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All files associated with that chat are permanently deleted"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project chat deleted"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Files are ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," deleted. They remain accessible in the project workspace"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Automatic expiration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Files in standalone chats are automatically deleted ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["28 days"]}," after the chat was initiated. Files in project chats are not deleted"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["File deletion is permanent and cannot be undone. Download any files you need before deleting a standalone chat or before the 28-day expiration."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"differences-from-treasure-studio-labs","__idx":23},"children":["Differences from Treasure Studio Labs"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Feature"},"children":["Feature"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Treasure Studio Labs"},"children":["Treasure Studio Labs"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Treasure AI Studio"},"children":["Treasure AI Studio"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File storage"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Local filesystem"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-side (cloud)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload method"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Local file references"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Browser upload / mobile picker"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Drag and drop"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supported (local paths)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supported (file upload)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Files panel"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Working folder browser"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Files panel with tabbed viewer"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cross-device access"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No — files on local machine only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes — files stored server-side per chat"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Directory selection"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Local filesystem paths"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Virtual directory with autocomplete"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"verification","__idx":24},"children":["Verification"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Attach a file via the plus button and see it appear as a thumbnail/pill"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Send a message with the file and see the AI reference its contents"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Download an AI-generated file using the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Download"]}," button on a \"Created file\" card"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":25},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Issue"},"children":["Issue"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Solution"},"children":["Solution"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"File upload failed. Message not sent.\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Check your network connection and try again. Files must be under 100 MB — if larger, split the file or upload only the relevant section"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Uploaded file not referenced by AI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The AI processes file contents asynchronously. Wait for the upload indicator to complete, then re-send your message"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Download button not visible"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only AI-generated files show a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Download"]}," button on the \"Created file\" card. Uploaded files can be downloaded from the Files panel"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":26},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/files/file-viewers"},"children":["File Viewers"]}," — How Studio renders PDFs, spreadsheets, presentations, and more"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/chat/chat"},"children":["AI Chat Interface"]}," — Sending messages with file context"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/files/artifacts"},"children":["Artifact Output"]}," — AI-generated output files (PPTX, DOCX, PDF, XLSX)"]}]}]},"headings":[{"value":"File Upload & Download","id":"file-upload--download","depth":1},{"value":"Objective","id":"objective","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"File Size Limits","id":"file-size-limits","depth":2},{"value":"Uploading Files","id":"uploading-files","depth":2},{"value":"From the Chat Input","id":"from-the-chat-input","depth":3},{"value":"Web & Desktop","id":"web--desktop","depth":4},{"value":"Mobile (iOS)","id":"mobile-ios","depth":4},{"value":"From the Files Panel","id":"from-the-files-panel","depth":3},{"value":"Web & Desktop","id":"web--desktop-1","depth":4},{"value":"Specifying a Directory","id":"specifying-a-directory","depth":3},{"value":"Downloading Files","id":"downloading-files","depth":2},{"value":"AI-Generated Files","id":"ai-generated-files","depth":3},{"value":"From the Files Panel","id":"from-the-files-panel-1","depth":3},{"value":"Web & Desktop","id":"web--desktop-2","depth":4},{"value":"Mobile (iOS)","id":"mobile-ios-1","depth":3},{"value":"The Files Panel","id":"the-files-panel","depth":2},{"value":"Zone A: File Explorer","id":"zone-a-file-explorer","depth":3},{"value":"Zone B: File Viewer","id":"zone-b-file-viewer","depth":3},{"value":"Panel Controls","id":"panel-controls","depth":3},{"value":"File Categories","id":"file-categories","depth":2},{"value":"Upload Errors","id":"upload-errors","depth":2},{"value":"File Retention & Deletion","id":"file-retention--deletion","depth":2},{"value":"Differences from Treasure Studio Labs","id":"differences-from-treasure-studio-labs","depth":2},{"value":"Verification","id":"verification","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Next Steps","id":"next-steps","depth":2}],"frontmatter":{"seo":{"title":"Treasure AI Studio - File Upload & Download","description":"Upload files to give the AI context for analysis, download AI-generated reports and datasets, and manage everything through the Files panel."},"platforms":["Web","Desktop","Mobile"]},"lastModified":"2026-06-02T00:19:17.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/ai-studio/files/file-upload-download","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}