Skip to main content

Upload a File

Summary

Upload a file to the provided path in your site. If you provide a folder path that does not exist, it will be created automatically.

Uploads are atomic; it is not possible resume an interrupted upload.

Endpoint

POST https://mysite.files.com/api/v2/resources/upload

Replace mysite.files.com with your site address.

Query parameters

ParameterDescription
pathRequired. The target path you are uploading to.

Request Body

Your request body can either be a multi-part form submission of a file, or you can use the Content-Type: application/octet-stream header and send a request body that contains only the bytes to be stored.

Ready to Transform Your File Infrastructure?

Join over 4,000 organizations that trust Files.com to manage their mission-critical file flows. Start your free trial today and see why we're the #1 rated file orchestration platform.

No credit card required • 7-day free trial • Setup in minutes