published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleFile = new filescom.File("example_file", {
source: "path",
md5: "17c54824e9931a4688ca032d03f6663c",
path: "path",
customMetadata: {
key: "value",
},
providedMtime: "2000-01-01T01:00:00Z",
priorityColor: "red",
});
import pulumi
import pulumi_filescom as filescom
example_file = filescom.File("example_file",
source="path",
md5="17c54824e9931a4688ca032d03f6663c",
path="path",
custom_metadata={
"key": "value",
},
provided_mtime="2000-01-01T01:00:00Z",
priority_color="red")
package main
import (
"github.com/jschady/pulumi-filescom/sdk/go/filescom"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filescom.NewFile(ctx, "example_file", &filescom.FileArgs{
Source: pulumi.String("path"),
Md5: pulumi.String("17c54824e9931a4688ca032d03f6663c"),
Path: pulumi.String("path"),
CustomMetadata: pulumi.Any(map[string]interface{}{
"key": "value",
}),
ProvidedMtime: pulumi.String("2000-01-01T01:00:00Z"),
PriorityColor: pulumi.String("red"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Filescom = Jschady.Filescom;
return await Deployment.RunAsync(() =>
{
var exampleFile = new Filescom.File("example_file", new()
{
Source = "path",
Md5 = "17c54824e9931a4688ca032d03f6663c",
Path = "path",
CustomMetadata = new Dictionary<string, object?>
{
["key"] = "value",
},
ProvidedMtime = "2000-01-01T01:00:00Z",
PriorityColor = "red",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.File;
import com.pulumi.filescom.FileArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleFile = new File("exampleFile", FileArgs.builder()
.source("path")
.md5("17c54824e9931a4688ca032d03f6663c")
.path("path")
.customMetadata(Map.of("key", "value"))
.providedMtime("2000-01-01T01:00:00Z")
.priorityColor("red")
.build());
}
}
resources:
exampleFile:
type: filescom:File
name: example_file
properties:
source: path
md5: 17c54824e9931a4688ca032d03f6663c
path: path
customMetadata:
key: value
providedMtime: 2000-01-01T01:00:00Z
priorityColor: red
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
resource "filescom_file" "example_file" {
source = "path"
md5 = "17c54824e9931a4688ca032d03f6663c"
path = "path"
custom_metadata = {
"key" = "value"
}
provided_mtime = "2000-01-01T01:00:00Z"
priority_color = "red"
}
Create File Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new File(name: string, args: FileArgs, opts?: CustomResourceOptions);@overload
def File(resource_name: str,
args: FileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def File(resource_name: str,
opts: Optional[ResourceOptions] = None,
path: Optional[str] = None,
source: Optional[str] = None,
custom_metadata: Optional[Any] = None,
md5: Optional[str] = None,
priority_color: Optional[str] = None,
provided_mtime: Optional[str] = None,
size: Optional[int] = None)func NewFile(ctx *Context, name string, args FileArgs, opts ...ResourceOption) (*File, error)public File(string name, FileArgs args, CustomResourceOptions? opts = null)type: filescom:File
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "filescom_file" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fileResource = new Filescom.File("fileResource", new()
{
Path = "string",
Source = "string",
CustomMetadata = "any",
Md5 = "string",
PriorityColor = "string",
ProvidedMtime = "string",
Size = 0,
});
example, err := filescom.NewFile(ctx, "fileResource", &filescom.FileArgs{
Path: pulumi.String("string"),
Source: pulumi.String("string"),
CustomMetadata: pulumi.Any("any"),
Md5: pulumi.String("string"),
PriorityColor: pulumi.String("string"),
ProvidedMtime: pulumi.String("string"),
Size: pulumi.Int(0),
})
resource "filescom_file" "fileResource" {
lifecycle {
create_before_destroy = true
}
path = "string"
source = "string"
custom_metadata = "any"
md5 = "string"
priority_color = "string"
provided_mtime = "string"
size = 0
}
var fileResource = new File("fileResource", FileArgs.builder()
.path("string")
.source("string")
.customMetadata("any")
.md5("string")
.priorityColor("string")
.providedMtime("string")
.size(0)
.build());
file_resource = filescom.File("fileResource",
path="string",
source="string",
custom_metadata="any",
md5="string",
priority_color="string",
provided_mtime="string",
size=0)
const fileResource = new filescom.File("fileResource", {
path: "string",
source: "string",
customMetadata: "any",
md5: "string",
priorityColor: "string",
providedMtime: "string",
size: 0,
});
type: filescom:File
properties:
customMetadata: any
md5: string
path: string
priorityColor: string
providedMtime: string
size: 0
source: string
File Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The File resource accepts the following input properties:
- Path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- Source string
- Path to a file that will be read and uploaded.
- Custom
Metadata object - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- Md5 string
- File MD5 checksum.
- Priority
Color string - Bookmark/priority color of file/folder
- Provided
Mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- Size int
- File/Folder size
- Path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- Source string
- Path to a file that will be read and uploaded.
- Custom
Metadata interface{} - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- Md5 string
- File MD5 checksum.
- Priority
Color string - Bookmark/priority color of file/folder
- Provided
Mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- Size int
- File/Folder size
- path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- source string
- Path to a file that will be read and uploaded.
- custom_
metadata any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- md5 string
- File MD5 checksum.
- priority_
color string - Bookmark/priority color of file/folder
- provided_
mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- size number
- File/Folder size
- path String
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- source String
- Path to a file that will be read and uploaded.
- custom
Metadata Object - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- md5 String
- File MD5 checksum.
- priority
Color String - Bookmark/priority color of file/folder
- provided
Mtime String - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- size Integer
- File/Folder size
- path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- source string
- Path to a file that will be read and uploaded.
- custom
Metadata any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- md5 string
- File MD5 checksum.
- priority
Color string - Bookmark/priority color of file/folder
- provided
Mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- size number
- File/Folder size
- path str
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- source str
- Path to a file that will be read and uploaded.
- custom_
metadata Any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- md5 str
- File MD5 checksum.
- priority_
color str - Bookmark/priority color of file/folder
- provided_
mtime str - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- size int
- File/Folder size
- path String
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- source String
- Path to a file that will be read and uploaded.
- custom
Metadata Any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- md5 String
- File MD5 checksum.
- priority
Color String - Bookmark/priority color of file/folder
- provided
Mtime String - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- size Number
- File/Folder size
Outputs
All input properties are implicitly available as output properties. Additionally, the File resource produces the following output properties:
- Crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Created
At string - File created date/time
- Created
By intApi Key Id - ID of the API key that created the file/folder
- Created
By intAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- Created
By intAutomation Id - ID of the Automation that created the file/folder
- Created
By intBundle Registration Id - ID of the Bundle Registration that created the file/folder
- Created
By intId - User ID of the User who created the file/folder
- Created
By intInbox Id - ID of the Inbox that created the file/folder
- Created
By intRemote Server Id - ID of the Remote Server that created the file/folder
- Created
By intSync Id - ID of the Sync that created the file/folder
- Direct
Connection stringInfo - Optional direct connection information for direct Agent transfer attempts
- Display
Name string - File/Folder display name
- Download
Uri string - Link to download file. Provided only in response to a download request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Locked bool - Is this folder locked and unable to be modified?
- Last
Modified intBy Api Key Id - ID of the API key that last modified the file/folder
- Last
Modified intBy Automation Id - ID of the Automation that last modified the file/folder
- Last
Modified intBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- Last
Modified intBy Id - User ID of the User who last modified the file/folder
- Last
Modified intBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- Last
Modified intBy Sync Id - ID of the Sync that last modified the file/folder
- Mime
Type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- Mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- Permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - Preview string
- File preview
- Preview
Id int - File preview ID
- Region string
- Region location
- Sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Subfolders
Locked bool - Are subfolders locked and unable to be modified?
- Type string
- Type:
directoryorfile.
- Crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Created
At string - File created date/time
- Created
By intApi Key Id - ID of the API key that created the file/folder
- Created
By intAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- Created
By intAutomation Id - ID of the Automation that created the file/folder
- Created
By intBundle Registration Id - ID of the Bundle Registration that created the file/folder
- Created
By intId - User ID of the User who created the file/folder
- Created
By intInbox Id - ID of the Inbox that created the file/folder
- Created
By intRemote Server Id - ID of the Remote Server that created the file/folder
- Created
By intSync Id - ID of the Sync that created the file/folder
- Direct
Connection stringInfo - Optional direct connection information for direct Agent transfer attempts
- Display
Name string - File/Folder display name
- Download
Uri string - Link to download file. Provided only in response to a download request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Locked bool - Is this folder locked and unable to be modified?
- Last
Modified intBy Api Key Id - ID of the API key that last modified the file/folder
- Last
Modified intBy Automation Id - ID of the Automation that last modified the file/folder
- Last
Modified intBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- Last
Modified intBy Id - User ID of the User who last modified the file/folder
- Last
Modified intBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- Last
Modified intBy Sync Id - ID of the Sync that last modified the file/folder
- Mime
Type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- Mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- Permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - Preview string
- File preview
- Preview
Id int - File preview ID
- Region string
- Region location
- Sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Subfolders
Locked bool - Are subfolders locked and unable to be modified?
- Type string
- Type:
directoryorfile.
- crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created_
at string - File created date/time
- created_
by_ numberapi_ key_ id - ID of the API key that created the file/folder
- created_
by_ numberas2_ incoming_ message_ id - ID of the AS2 Incoming Message that created the file/folder
- created_
by_ numberautomation_ id - ID of the Automation that created the file/folder
- created_
by_ numberbundle_ registration_ id - ID of the Bundle Registration that created the file/folder
- created_
by_ numberid - User ID of the User who created the file/folder
- created_
by_ numberinbox_ id - ID of the Inbox that created the file/folder
- created_
by_ numberremote_ server_ id - ID of the Remote Server that created the file/folder
- created_
by_ numbersync_ id - ID of the Sync that created the file/folder
- direct_
connection_ stringinfo - Optional direct connection information for direct Agent transfer attempts
- display_
name string - File/Folder display name
- download_
uri string - Link to download file. Provided only in response to a download request.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
locked bool - Is this folder locked and unable to be modified?
- last_
modified_ numberby_ api_ key_ id - ID of the API key that last modified the file/folder
- last_
modified_ numberby_ automation_ id - ID of the Automation that last modified the file/folder
- last_
modified_ numberby_ bundle_ registration_ id - ID of the Bundle Registration that last modified the file/folder
- last_
modified_ numberby_ id - User ID of the User who last modified the file/folder
- last_
modified_ numberby_ remote_ server_ id - ID of the Remote Server that last modified the file/folder
- last_
modified_ numberby_ sync_ id - ID of the Sync that last modified the file/folder
- mime_
type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview string
- File preview
- preview_
id number - File preview ID
- region string
- Region location
- sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- subfolders_
locked bool - Are subfolders locked and unable to be modified?
- type string
- Type:
directoryorfile.
- crc32 String
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created
At String - File created date/time
- created
By IntegerApi Key Id - ID of the API key that created the file/folder
- created
By IntegerAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- created
By IntegerAutomation Id - ID of the Automation that created the file/folder
- created
By IntegerBundle Registration Id - ID of the Bundle Registration that created the file/folder
- created
By IntegerId - User ID of the User who created the file/folder
- created
By IntegerInbox Id - ID of the Inbox that created the file/folder
- created
By IntegerRemote Server Id - ID of the Remote Server that created the file/folder
- created
By IntegerSync Id - ID of the Sync that created the file/folder
- direct
Connection StringInfo - Optional direct connection information for direct Agent transfer attempts
- display
Name String - File/Folder display name
- download
Uri String - Link to download file. Provided only in response to a download request.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Locked Boolean - Is this folder locked and unable to be modified?
- last
Modified IntegerBy Api Key Id - ID of the API key that last modified the file/folder
- last
Modified IntegerBy Automation Id - ID of the Automation that last modified the file/folder
- last
Modified IntegerBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- last
Modified IntegerBy Id - User ID of the User who last modified the file/folder
- last
Modified IntegerBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- last
Modified IntegerBy Sync Id - ID of the Sync that last modified the file/folder
- mime
Type String - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime String
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- permissions String
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview String
- File preview
- preview
Id Integer - File preview ID
- region String
- Region location
- sha1 String
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 String
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- subfolders
Locked Boolean - Are subfolders locked and unable to be modified?
- type String
- Type:
directoryorfile.
- crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created
At string - File created date/time
- created
By numberApi Key Id - ID of the API key that created the file/folder
- created
By numberAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- created
By numberAutomation Id - ID of the Automation that created the file/folder
- created
By numberBundle Registration Id - ID of the Bundle Registration that created the file/folder
- created
By numberId - User ID of the User who created the file/folder
- created
By numberInbox Id - ID of the Inbox that created the file/folder
- created
By numberRemote Server Id - ID of the Remote Server that created the file/folder
- created
By numberSync Id - ID of the Sync that created the file/folder
- direct
Connection stringInfo - Optional direct connection information for direct Agent transfer attempts
- display
Name string - File/Folder display name
- download
Uri string - Link to download file. Provided only in response to a download request.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Locked boolean - Is this folder locked and unable to be modified?
- last
Modified numberBy Api Key Id - ID of the API key that last modified the file/folder
- last
Modified numberBy Automation Id - ID of the Automation that last modified the file/folder
- last
Modified numberBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- last
Modified numberBy Id - User ID of the User who last modified the file/folder
- last
Modified numberBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- last
Modified numberBy Sync Id - ID of the Sync that last modified the file/folder
- mime
Type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview string
- File preview
- preview
Id number - File preview ID
- region string
- Region location
- sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- subfolders
Locked boolean - Are subfolders locked and unable to be modified?
- type string
- Type:
directoryorfile.
- crc32 str
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created_
at str - File created date/time
- created_
by_ intapi_ key_ id - ID of the API key that created the file/folder
- created_
by_ intas2_ incoming_ message_ id - ID of the AS2 Incoming Message that created the file/folder
- created_
by_ intautomation_ id - ID of the Automation that created the file/folder
- created_
by_ intbundle_ registration_ id - ID of the Bundle Registration that created the file/folder
- created_
by_ intid - User ID of the User who created the file/folder
- created_
by_ intinbox_ id - ID of the Inbox that created the file/folder
- created_
by_ intremote_ server_ id - ID of the Remote Server that created the file/folder
- created_
by_ intsync_ id - ID of the Sync that created the file/folder
- direct_
connection_ strinfo - Optional direct connection information for direct Agent transfer attempts
- display_
name str - File/Folder display name
- download_
uri str - Link to download file. Provided only in response to a download request.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
locked bool - Is this folder locked and unable to be modified?
- last_
modified_ intby_ api_ key_ id - ID of the API key that last modified the file/folder
- last_
modified_ intby_ automation_ id - ID of the Automation that last modified the file/folder
- last_
modified_ intby_ bundle_ registration_ id - ID of the Bundle Registration that last modified the file/folder
- last_
modified_ intby_ id - User ID of the User who last modified the file/folder
- last_
modified_ intby_ remote_ server_ id - ID of the Remote Server that last modified the file/folder
- last_
modified_ intby_ sync_ id - ID of the Sync that last modified the file/folder
- mime_
type str - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime str
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- permissions str
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview str
- File preview
- preview_
id int - File preview ID
- region str
- Region location
- sha1 str
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 str
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- subfolders_
locked bool - Are subfolders locked and unable to be modified?
- type str
- Type:
directoryorfile.
- crc32 String
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created
At String - File created date/time
- created
By NumberApi Key Id - ID of the API key that created the file/folder
- created
By NumberAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- created
By NumberAutomation Id - ID of the Automation that created the file/folder
- created
By NumberBundle Registration Id - ID of the Bundle Registration that created the file/folder
- created
By NumberId - User ID of the User who created the file/folder
- created
By NumberInbox Id - ID of the Inbox that created the file/folder
- created
By NumberRemote Server Id - ID of the Remote Server that created the file/folder
- created
By NumberSync Id - ID of the Sync that created the file/folder
- direct
Connection StringInfo - Optional direct connection information for direct Agent transfer attempts
- display
Name String - File/Folder display name
- download
Uri String - Link to download file. Provided only in response to a download request.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Locked Boolean - Is this folder locked and unable to be modified?
- last
Modified NumberBy Api Key Id - ID of the API key that last modified the file/folder
- last
Modified NumberBy Automation Id - ID of the Automation that last modified the file/folder
- last
Modified NumberBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- last
Modified NumberBy Id - User ID of the User who last modified the file/folder
- last
Modified NumberBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- last
Modified NumberBy Sync Id - ID of the Sync that last modified the file/folder
- mime
Type String - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime String
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- permissions String
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview String
- File preview
- preview
Id Number - File preview ID
- region String
- Region location
- sha1 String
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 String
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- subfolders
Locked Boolean - Are subfolders locked and unable to be modified?
- type String
- Type:
directoryorfile.
Look up Existing File Resource
Get an existing File resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FileState, opts?: CustomResourceOptions): File@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
crc32: Optional[str] = None,
created_at: Optional[str] = None,
created_by_api_key_id: Optional[int] = None,
created_by_as2_incoming_message_id: Optional[int] = None,
created_by_automation_id: Optional[int] = None,
created_by_bundle_registration_id: Optional[int] = None,
created_by_id: Optional[int] = None,
created_by_inbox_id: Optional[int] = None,
created_by_remote_server_id: Optional[int] = None,
created_by_sync_id: Optional[int] = None,
custom_metadata: Optional[Any] = None,
direct_connection_info: Optional[str] = None,
display_name: Optional[str] = None,
download_uri: Optional[str] = None,
is_locked: Optional[bool] = None,
last_modified_by_api_key_id: Optional[int] = None,
last_modified_by_automation_id: Optional[int] = None,
last_modified_by_bundle_registration_id: Optional[int] = None,
last_modified_by_id: Optional[int] = None,
last_modified_by_remote_server_id: Optional[int] = None,
last_modified_by_sync_id: Optional[int] = None,
md5: Optional[str] = None,
mime_type: Optional[str] = None,
mtime: Optional[str] = None,
path: Optional[str] = None,
permissions: Optional[str] = None,
preview: Optional[str] = None,
preview_id: Optional[int] = None,
priority_color: Optional[str] = None,
provided_mtime: Optional[str] = None,
region: Optional[str] = None,
sha1: Optional[str] = None,
sha256: Optional[str] = None,
size: Optional[int] = None,
source: Optional[str] = None,
subfolders_locked: Optional[bool] = None,
type: Optional[str] = None) -> Filefunc GetFile(ctx *Context, name string, id IDInput, state *FileState, opts ...ResourceOption) (*File, error)public static File Get(string name, Input<string> id, FileState? state, CustomResourceOptions? opts = null)public static File get(String name, Output<String> id, FileState state, CustomResourceOptions options)resources: _: type: filescom:File get: id: ${id}import {
to = filescom_file.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Created
At string - File created date/time
- Created
By intApi Key Id - ID of the API key that created the file/folder
- Created
By intAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- Created
By intAutomation Id - ID of the Automation that created the file/folder
- Created
By intBundle Registration Id - ID of the Bundle Registration that created the file/folder
- Created
By intId - User ID of the User who created the file/folder
- Created
By intInbox Id - ID of the Inbox that created the file/folder
- Created
By intRemote Server Id - ID of the Remote Server that created the file/folder
- Created
By intSync Id - ID of the Sync that created the file/folder
- Custom
Metadata object - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- Direct
Connection stringInfo - Optional direct connection information for direct Agent transfer attempts
- Display
Name string - File/Folder display name
- Download
Uri string - Link to download file. Provided only in response to a download request.
- Is
Locked bool - Is this folder locked and unable to be modified?
- Last
Modified intBy Api Key Id - ID of the API key that last modified the file/folder
- Last
Modified intBy Automation Id - ID of the Automation that last modified the file/folder
- Last
Modified intBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- Last
Modified intBy Id - User ID of the User who last modified the file/folder
- Last
Modified intBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- Last
Modified intBy Sync Id - ID of the Sync that last modified the file/folder
- Md5 string
- File MD5 checksum.
- Mime
Type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- Mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- Path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- Permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - Preview string
- File preview
- Preview
Id int - File preview ID
- Priority
Color string - Bookmark/priority color of file/folder
- Provided
Mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- Region string
- Region location
- Sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Size int
- File/Folder size
- Source string
- Path to a file that will be read and uploaded.
- Subfolders
Locked bool - Are subfolders locked and unable to be modified?
- Type string
- Type:
directoryorfile.
- Crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Created
At string - File created date/time
- Created
By intApi Key Id - ID of the API key that created the file/folder
- Created
By intAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- Created
By intAutomation Id - ID of the Automation that created the file/folder
- Created
By intBundle Registration Id - ID of the Bundle Registration that created the file/folder
- Created
By intId - User ID of the User who created the file/folder
- Created
By intInbox Id - ID of the Inbox that created the file/folder
- Created
By intRemote Server Id - ID of the Remote Server that created the file/folder
- Created
By intSync Id - ID of the Sync that created the file/folder
- Custom
Metadata interface{} - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- Direct
Connection stringInfo - Optional direct connection information for direct Agent transfer attempts
- Display
Name string - File/Folder display name
- Download
Uri string - Link to download file. Provided only in response to a download request.
- Is
Locked bool - Is this folder locked and unable to be modified?
- Last
Modified intBy Api Key Id - ID of the API key that last modified the file/folder
- Last
Modified intBy Automation Id - ID of the Automation that last modified the file/folder
- Last
Modified intBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- Last
Modified intBy Id - User ID of the User who last modified the file/folder
- Last
Modified intBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- Last
Modified intBy Sync Id - ID of the Sync that last modified the file/folder
- Md5 string
- File MD5 checksum.
- Mime
Type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- Mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- Path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- Permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - Preview string
- File preview
- Preview
Id int - File preview ID
- Priority
Color string - Bookmark/priority color of file/folder
- Provided
Mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- Region string
- Region location
- Sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- Size int
- File/Folder size
- Source string
- Path to a file that will be read and uploaded.
- Subfolders
Locked bool - Are subfolders locked and unable to be modified?
- Type string
- Type:
directoryorfile.
- crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created_
at string - File created date/time
- created_
by_ numberapi_ key_ id - ID of the API key that created the file/folder
- created_
by_ numberas2_ incoming_ message_ id - ID of the AS2 Incoming Message that created the file/folder
- created_
by_ numberautomation_ id - ID of the Automation that created the file/folder
- created_
by_ numberbundle_ registration_ id - ID of the Bundle Registration that created the file/folder
- created_
by_ numberid - User ID of the User who created the file/folder
- created_
by_ numberinbox_ id - ID of the Inbox that created the file/folder
- created_
by_ numberremote_ server_ id - ID of the Remote Server that created the file/folder
- created_
by_ numbersync_ id - ID of the Sync that created the file/folder
- custom_
metadata any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- direct_
connection_ stringinfo - Optional direct connection information for direct Agent transfer attempts
- display_
name string - File/Folder display name
- download_
uri string - Link to download file. Provided only in response to a download request.
- is_
locked bool - Is this folder locked and unable to be modified?
- last_
modified_ numberby_ api_ key_ id - ID of the API key that last modified the file/folder
- last_
modified_ numberby_ automation_ id - ID of the Automation that last modified the file/folder
- last_
modified_ numberby_ bundle_ registration_ id - ID of the Bundle Registration that last modified the file/folder
- last_
modified_ numberby_ id - User ID of the User who last modified the file/folder
- last_
modified_ numberby_ remote_ server_ id - ID of the Remote Server that last modified the file/folder
- last_
modified_ numberby_ sync_ id - ID of the Sync that last modified the file/folder
- md5 string
- File MD5 checksum.
- mime_
type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview string
- File preview
- preview_
id number - File preview ID
- priority_
color string - Bookmark/priority color of file/folder
- provided_
mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- region string
- Region location
- sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- size number
- File/Folder size
- source string
- Path to a file that will be read and uploaded.
- subfolders_
locked bool - Are subfolders locked and unable to be modified?
- type string
- Type:
directoryorfile.
- crc32 String
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created
At String - File created date/time
- created
By IntegerApi Key Id - ID of the API key that created the file/folder
- created
By IntegerAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- created
By IntegerAutomation Id - ID of the Automation that created the file/folder
- created
By IntegerBundle Registration Id - ID of the Bundle Registration that created the file/folder
- created
By IntegerId - User ID of the User who created the file/folder
- created
By IntegerInbox Id - ID of the Inbox that created the file/folder
- created
By IntegerRemote Server Id - ID of the Remote Server that created the file/folder
- created
By IntegerSync Id - ID of the Sync that created the file/folder
- custom
Metadata Object - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- direct
Connection StringInfo - Optional direct connection information for direct Agent transfer attempts
- display
Name String - File/Folder display name
- download
Uri String - Link to download file. Provided only in response to a download request.
- is
Locked Boolean - Is this folder locked and unable to be modified?
- last
Modified IntegerBy Api Key Id - ID of the API key that last modified the file/folder
- last
Modified IntegerBy Automation Id - ID of the Automation that last modified the file/folder
- last
Modified IntegerBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- last
Modified IntegerBy Id - User ID of the User who last modified the file/folder
- last
Modified IntegerBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- last
Modified IntegerBy Sync Id - ID of the Sync that last modified the file/folder
- md5 String
- File MD5 checksum.
- mime
Type String - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime String
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- path String
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permissions String
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview String
- File preview
- preview
Id Integer - File preview ID
- priority
Color String - Bookmark/priority color of file/folder
- provided
Mtime String - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- region String
- Region location
- sha1 String
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 String
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- size Integer
- File/Folder size
- source String
- Path to a file that will be read and uploaded.
- subfolders
Locked Boolean - Are subfolders locked and unable to be modified?
- type String
- Type:
directoryorfile.
- crc32 string
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created
At string - File created date/time
- created
By numberApi Key Id - ID of the API key that created the file/folder
- created
By numberAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- created
By numberAutomation Id - ID of the Automation that created the file/folder
- created
By numberBundle Registration Id - ID of the Bundle Registration that created the file/folder
- created
By numberId - User ID of the User who created the file/folder
- created
By numberInbox Id - ID of the Inbox that created the file/folder
- created
By numberRemote Server Id - ID of the Remote Server that created the file/folder
- created
By numberSync Id - ID of the Sync that created the file/folder
- custom
Metadata any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- direct
Connection stringInfo - Optional direct connection information for direct Agent transfer attempts
- display
Name string - File/Folder display name
- download
Uri string - Link to download file. Provided only in response to a download request.
- is
Locked boolean - Is this folder locked and unable to be modified?
- last
Modified numberBy Api Key Id - ID of the API key that last modified the file/folder
- last
Modified numberBy Automation Id - ID of the Automation that last modified the file/folder
- last
Modified numberBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- last
Modified numberBy Id - User ID of the User who last modified the file/folder
- last
Modified numberBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- last
Modified numberBy Sync Id - ID of the Sync that last modified the file/folder
- md5 string
- File MD5 checksum.
- mime
Type string - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime string
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- path string
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permissions string
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview string
- File preview
- preview
Id number - File preview ID
- priority
Color string - Bookmark/priority color of file/folder
- provided
Mtime string - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- region string
- Region location
- sha1 string
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 string
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- size number
- File/Folder size
- source string
- Path to a file that will be read and uploaded.
- subfolders
Locked boolean - Are subfolders locked and unable to be modified?
- type string
- Type:
directoryorfile.
- crc32 str
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created_
at str - File created date/time
- created_
by_ intapi_ key_ id - ID of the API key that created the file/folder
- created_
by_ intas2_ incoming_ message_ id - ID of the AS2 Incoming Message that created the file/folder
- created_
by_ intautomation_ id - ID of the Automation that created the file/folder
- created_
by_ intbundle_ registration_ id - ID of the Bundle Registration that created the file/folder
- created_
by_ intid - User ID of the User who created the file/folder
- created_
by_ intinbox_ id - ID of the Inbox that created the file/folder
- created_
by_ intremote_ server_ id - ID of the Remote Server that created the file/folder
- created_
by_ intsync_ id - ID of the Sync that created the file/folder
- custom_
metadata Any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- direct_
connection_ strinfo - Optional direct connection information for direct Agent transfer attempts
- display_
name str - File/Folder display name
- download_
uri str - Link to download file. Provided only in response to a download request.
- is_
locked bool - Is this folder locked and unable to be modified?
- last_
modified_ intby_ api_ key_ id - ID of the API key that last modified the file/folder
- last_
modified_ intby_ automation_ id - ID of the Automation that last modified the file/folder
- last_
modified_ intby_ bundle_ registration_ id - ID of the Bundle Registration that last modified the file/folder
- last_
modified_ intby_ id - User ID of the User who last modified the file/folder
- last_
modified_ intby_ remote_ server_ id - ID of the Remote Server that last modified the file/folder
- last_
modified_ intby_ sync_ id - ID of the Sync that last modified the file/folder
- md5 str
- File MD5 checksum.
- mime_
type str - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime str
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- path str
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permissions str
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview str
- File preview
- preview_
id int - File preview ID
- priority_
color str - Bookmark/priority color of file/folder
- provided_
mtime str - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- region str
- Region location
- sha1 str
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 str
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- size int
- File/Folder size
- source str
- Path to a file that will be read and uploaded.
- subfolders_
locked bool - Are subfolders locked and unable to be modified?
- type str
- Type:
directoryorfile.
- crc32 String
- File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- created
At String - File created date/time
- created
By NumberApi Key Id - ID of the API key that created the file/folder
- created
By NumberAs2Incoming Message Id - ID of the AS2 Incoming Message that created the file/folder
- created
By NumberAutomation Id - ID of the Automation that created the file/folder
- created
By NumberBundle Registration Id - ID of the Bundle Registration that created the file/folder
- created
By NumberId - User ID of the User who created the file/folder
- created
By NumberInbox Id - ID of the Inbox that created the file/folder
- created
By NumberRemote Server Id - ID of the Remote Server that created the file/folder
- created
By NumberSync Id - ID of the Sync that created the file/folder
- custom
Metadata Any - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
- direct
Connection StringInfo - Optional direct connection information for direct Agent transfer attempts
- display
Name String - File/Folder display name
- download
Uri String - Link to download file. Provided only in response to a download request.
- is
Locked Boolean - Is this folder locked and unable to be modified?
- last
Modified NumberBy Api Key Id - ID of the API key that last modified the file/folder
- last
Modified NumberBy Automation Id - ID of the Automation that last modified the file/folder
- last
Modified NumberBy Bundle Registration Id - ID of the Bundle Registration that last modified the file/folder
- last
Modified NumberBy Id - User ID of the User who last modified the file/folder
- last
Modified NumberBy Remote Server Id - ID of the Remote Server that last modified the file/folder
- last
Modified NumberBy Sync Id - ID of the Sync that last modified the file/folder
- md5 String
- File MD5 checksum.
- mime
Type String - MIME Type. This is determined by the filename extension and is not stored separately internally.
- mtime String
- File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
- path String
- File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permissions String
- A short string representing the current user's permissions. Can be
r(Read),w(Write),d(Delete),l(List) or any combination - preview String
- File preview
- preview
Id Number - File preview ID
- priority
Color String - Bookmark/priority color of file/folder
- provided
Mtime String - File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
- region String
- Region location
- sha1 String
- File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- sha256 String
- File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
- size Number
- File/Folder size
- source String
- Path to a file that will be read and uploaded.
- subfolders
Locked Boolean - Are subfolders locked and unable to be modified?
- type String
- Type:
directoryorfile.
Import
The pulumi import command can be used, for example:
Files can be imported by specifying the path.
$ pulumi import filescom:index/file:File example_file path
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady