The Files.com CLI App provides convenient access to the Files.com API.
Download latest release for Windows, MacOS, or Linux here
brew tap Files-com/homebrew-tap
brew install files-cliexport FILES_API_KEY="XXXX-XXXX..."files-cli folders list-for --api-key "XXXX-XXXX..."Return root folder listing
files-cli folders list-for --fields path,type
[{
"path": "document.docx",
"type": "file"
},
{
"path": "other",
"type": "directory"
}]List a Folder
files-cli folders list-for otherfiles-cli download [remote-path] [local-path]files-cli upload [source-path] [remote-path]files-cli [command] --helpTo build for testing it assumes the go package is in parallel directory.
DEVELOPMENT_BUILD ./build.shThis will build both the compressed release version and an uncompressed executable for the 3 platforms.