This serves a mock Files.com API server, which is useful for testing things like the Files.com SDKs and other direct integrations against the Files.com API.
Files.com is the cloud-native, next-gen MFT, SFTP, and secure file-sharing platform that replaces brittle legacy servers with one always-on, secure fabric. Automate mission-critical file flows—across any cloud, protocol, or partner—while supporting human collaboration and eliminating manual work.
With universal SFTP, AS2, HTTPS, and 50+ native connectors backed by military-grade encryption, Files.com unifies governance, visibility, and compliance in a single pane of glass.
It is built as a simple Grape app with generated definitions for each API endpoint.
This is meant as a minimal server for the purpose of testing basic network operations and JSON encoding for your SDK or API client. It does not maintain state and it does not deeply inspect your submissions for correctness.
Eventually we will add features intended for integration testing, such as the ability to intentionally provoke errors.
- Ruby 3+
bundle install
bundle exec pumaWe also supply a docker image for easier accessibility. First install docker; then, execute the following:
docker run -p 40410:4041 -it filescom/files-mock-server:latestThe image will be pulled from docker-hub, and the mock server can be accessed via the open port bound on the host machine.
Example:
curl 127.0.0.1:40410/api/rest/v1/usersThe Files.com team is happy to help with any issues you may have running the Files.com mock server.
Just email support@files.com and we'll get the process started.