You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-v2/pages/connect/components/files.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@ import Callout from '@/components/Callout';
3
3
4
4
# Working with Files
5
5
6
-
Pipedream provides a file storage system that allows you to store and retrieve files from tool executions via Connect. When a trigger or action downloads files to the `/tmp` directory in Pipedream's execution environment, you can sync these files with a Pipedream File Store, making them accessible outside of Pipedream.
6
+
Pipedream provides a file storage system that allows you to store and retrieve files from tool executions via Connect. When a trigger or action downloads files to the `/tmp` directory in Pipedream's execution environment, you can sync these files with File Stash, making them accessible outside of Pipedream.
7
7
8
8
## File Stash
9
9
10
10
When you execute an action via Connect that downloads files to the `/tmp` directory, those files normally only exist within Pipedream's execution environment. With File Stash syncing, you can now make these files available via presigned URLs that can be accessed from anywhere.
11
11
12
12
### How it works
13
13
14
-
1. Files created in `/tmp` during execution are synced with a Pipedream File Store when you pass `stashId` in the action execution payload
14
+
1. Files created in `/tmp` during execution are synced with File Stash when you pass `stashId` in the action execution payload
15
15
2. Each file is assigned a presigned URL that remains valid for 30 minutes
16
16
3. These URLs allow anyone with the link to download the file directly
17
17
@@ -127,7 +127,7 @@ The response includes a `stashId` and a `$filestash_uploads` export with informa
127
127
Each file in the `$filestash_uploads` array includes:
128
128
129
129
-`localPath`: The path to the file in the `/tmp` directory where it was downloaded or created
130
-
-`s3Key`: The unique key for the file in the Pipedream File Store after being synced from `/tmp`
130
+
-`s3Key`: The unique key for the file in the Pipedream File Stash after being synced from `/tmp`
131
131
-`get_url`: A presigned URL that allows downloading the file for 30 minutes
132
132
133
133
## Usage Examples
@@ -234,4 +234,4 @@ For this to work reliably, you need to use the same `stashId` across all actions
234
234
235
235
## File Storage Duration
236
236
237
-
Files in the File Stash are automatically deleted after 24 hours. The presigned URLs remain valid for 30 minutes from the time they are generated.
237
+
Files in File Stash are automatically deleted after 24 hours. The presigned URLs remain valid for 30 minutes from the time they are generated.
0 commit comments