Waiting for engine...
Skip to main content

Downloading Files using the MFT Content API

This topic describes how to download files using our REST API.

note

The Content API supports real data streaming capabilities for customer integrations, allowing for the transmission of unlimited data without encountering out-of-memory exceptions. For example, it is now possible to download a 10 GB file and send it back to AFT seamlessly.

For the current download endpoints, including direct download by file reference ID and generating presigned URLs for external sharing, refer to Download API reference.

Error handling

Common HTTP status codes you might encounter:

  • 200: Successful download
  • 400: Bad request (check parameters)
  • 401: Unauthorized (check credentials)
  • 404: File not found
  • 500: Server error

Best practices

  • Handle large file downloads appropriately by implementing timeout handling
  • Consider implementing retry logic for failed downloads

Security considerations

  • Keep your API credentials secure
  • Validate all input parameters
  • Implement rate limiting if making multiple requests
  • Check file permissions before attempting downloads
On this Page