Files.com is a SaaS FTP file transfer platform that enables organizations to securely transfer, share, and store files.
The Files.com API offers the flexibility to automate file management and manipulate folder structures programmatically. With Files.com on Pipedream, you can construct workflows that handle file synchronization, sharing, and security. It's a powerhouse for creating custom triggers based on file events, automating content distribution, or integrating seamless file operations within a broader data processing ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
files_com: {
type: "app",
app: "files_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.files_com.$auth.subdomain}.files.com/api/rest/v1/users.json`,
headers: {
"X-FilesAPI-Key": `${this.files_com.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})