---
title: "View source for File Services Overview - DreamFactory Wiki"
source: "http://wiki.dreamfactory.com/index.php?action=edit&title=File_Services_Overview"
canonical_url: "http://wiki.dreamfactory.com/index.php?action=edit&title=File_Services_Overview"
converted_at: "2026-11-23T05:09:04.865Z"
format: "markdown"
converted_by: "html-to-md-ai"
---
[]()
	
	
	
	# View source for File Services Overview

	
		
		← [File Services Overview](/File_Services_Overview)
		
		
		
		[Jump to navigation](#mw-head)
		[Jump to search](#searchInput)
		You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: [Users](/index.php?title=DreamFactory_Wiki:Users&action=edit&redlink=1).---

You can view and copy the source of this page.

{{#seo:
|title=File Services Overview - DreamFactory Documentation
|title_mode=replace
|description=Supported file storage services in DreamFactory - local, cloud, and remote file storage connectors
|keywords=file storage, AWS S3, Azure Blob, local storage, SFTP, file API, cloud storage
|og:title=File Services Overview
|og:type=article
|og:site_name=DreamFactory Documentation
|og:description=Supported file storage services in DreamFactory - local, cloud, and remote file storage connectors
}}
'''Supported file storage services in DreamFactory - local, cloud, and remote file storage connectors'''

&lt;span id="file-services-overview">&lt;/span>
= File Services Overview =

DreamFactory auto-generates secure REST APIs for file storage systems. Connect any supported storage backend and instantly get endpoints for uploading, downloading, listing, and managing files with role-based access control.

-----

&lt;span id="supported-file-services">&lt;/span>
== Supported File Services ==

DreamFactory supports local storage, cloud providers, and remote file servers. Some connectors are included in the open-source package, while others require a commercial license.

&lt;span id="open-source-included">&lt;/span>
=== Open Source (Included) ===

These file storage connectors are included in DreamFactory OSS and all commercial editions:

{| class="wikitable"
|-
! Service
! Type
! Documentation
|-
| '''Local File Storage'''
| Local
| [[Local_File_Storage|Local Storage Guide]]
|-
| '''SFTP'''
| Remote
| [[Creating_Sftp_Rest_Api|SFTP Guide]]
|-
| '''FTP'''
| Remote
| Standard FTP protocol
|-
| '''WebDAV'''
| Remote
| WebDAV protocol support
|}

&lt;span id="commercial-license-required">&lt;/span>
=== Commercial License Required ===

These file storage connectors require a DreamFactory commercial license:

{| class="wikitable"
|-
! Service
! Type
! Notes
|-
| '''AWS S3'''
| Cloud
| [[Aws_S3|S3 Guide]]
|-
| '''Azure Blob Storage'''
| Cloud
| Microsoft Azure storage
|-
| '''Google Cloud Storage'''
| Cloud
| GCS bucket access
|-
| '''OpenStack Object Storage'''
| Cloud
| Swift-compatible storage
|-
| '''Rackspace Cloud Files'''
| Cloud
| Rackspace object storage
|-
| '''Dropbox'''
| Cloud
| OAuth-based access
|-
| '''Box'''
| Cloud
| Enterprise file sharing
|-
| '''OneDrive'''
| Cloud
| Microsoft 365 integration
|-
| '''SharePoint'''
| Cloud
| Microsoft SharePoint libraries
|-
| '''GridFS'''
| Database
| MongoDB file storage
|}

{{Note|title=Licensing|For commercial file service connector licensing, contact [https://www.dreamfactory.com/contact DreamFactory Sales] or visit the [https://www.dreamfactory.com/pricing pricing page].}}

-----

&lt;span id="common-features-across-all-file-services">&lt;/span>
== Common Features Across All File Services ==

Regardless of which storage backend you connect, DreamFactory provides:

&lt;span id="auto-generated-rest-endpoints">&lt;/span>
=== Auto-Generated REST Endpoints ===

{| class="wikitable"
|-
! Endpoint
! Methods
! Description
|-
| &lt;code>/{service_name}/&lt;/code>
| &lt;code>GET&lt;/code>
| List root directory contents
|-
| &lt;code>/{service_name}/{folder_path}/&lt;/code>
| &lt;code>GET, POST, PATCH, DELETE&lt;/code>
| Folder operations
|-
| &lt;code>/{service_name}/{file_path}&lt;/code>
| &lt;code>GET, POST, PUT, DELETE&lt;/code>
| File operations
|}

&lt;span id="standard-operations">&lt;/span>
=== Standard Operations ===

* '''List''': Retrieve folder contents with metadata
* '''Upload''': Create or replace files via POST/PUT
* '''Download''': Retrieve file contents via GET
* '''Delete''': Remove files or folders
* '''Move/Copy''': Relocate files within the storage
* '''Metadata''': Access file properties (size, modified date, content type)

&lt;span id="security-features">&lt;/span>
=== Security Features ===

* '''API Key Authentication''': Required for all endpoint access
* '''Role-Based Access Control''': Folder and operation-level permissions
* '''Rate Limiting''': Configurable throttling per user or role
* '''Audit Logging''': Track all file operations

-----

&lt;span id="choosing-the-right-file-service">&lt;/span>
== Choosing the Right File Service ==

&lt;span id="by-use-case">&lt;/span>
=== By Use Case ===

{| class="wikitable"
|-
! Use Case
! Recommended Service
|-
| Development/testing
| Local File Storage
|-
| Application assets in production
| AWS S3, Azure Blob, GCS
|-
| Legacy system integration
| SFTP, FTP
|-
| Enterprise document management
| SharePoint, Box
|-
| User file uploads
| S3, Azure Blob (with pre-signed URLs)
|-
| MongoDB-backed applications
| GridFS
|}

&lt;span id="by-cloud-provider">&lt;/span>
=== By Cloud Provider ===

{| class="wikitable"
|-
! Cloud Provider
! Native Service
! DreamFactory Connector
|-
| AWS
| S3
| AWS S3
|-
| Google Cloud
| Cloud Storage
| Google Cloud Storage
|-
| Microsoft Azure
| Blob Storage
| Azure Blob Storage
|-
| Self-hosted
| Local/SFTP
| Local File Storage, SFTP
|}

-----

&lt;span id="file-service-architecture">&lt;/span>
== File Service Architecture ==

&lt;pre>┌─────────────────┐     ┌──────────────────┐     ┌─────────────────┐
│   API Client    │────▶│   DreamFactory   │────▶│  File Storage   │
│  (App/Service)  │◀────│   (REST API)     │◀────│    Backend      │
└─────────────────┘     └──────────────────┘     └─────────────────┘
        │                        │                        │
    HTTP/HTTPS              Connector              Native Protocol
    + API Key               (S3 SDK,               (S3 API, SFTP,
    + JWT (optional)         Azure SDK, etc.)       local filesystem)&lt;/pre>
&lt;span id="key-architectural-points">&lt;/span>
=== Key Architectural Points ===

# '''DreamFactory acts as a secure proxy''' - Storage credentials are never exposed to API clients
# '''Unified API interface''' - Same REST patterns regardless of storage backend
# '''Streaming support''' - Large files are streamed, not buffered in memory
# '''Content type handling''' - Automatic MIME type detection and headers

-----

&lt;span id="configuration-options">&lt;/span>
== Configuration Options ==

All file services share these common configuration fields:

{| class="wikitable"
|-
! Field
! Type
! Description
|-
| &lt;code>name&lt;/code>
| string
| Service name (used in API URL)
|-
| &lt;code>label&lt;/code>
| string
| Display name in admin console
|-
| &lt;code>description&lt;/code>
| string
| Service description
|-
| &lt;code>is_active&lt;/code>
| boolean
| Enable/disable the service
|-
| &lt;code>cache_enabled&lt;/code>
| boolean
| Enable response caching
|-
| &lt;code>cache_ttl&lt;/code>
| integer
| Cache time-to-live in seconds
|}

Service-specific configuration options are documented in each service guide.

-----

&lt;span id="common-api-examples">&lt;/span>
== Common API Examples ==

&lt;span id="list-directory-contents">&lt;/span>
=== List Directory Contents ===

&lt;syntaxhighlight lang="bash">curl -X GET "https://example.com/api/v2/{service_name}/" \
  -H "X-DreamFactory-API-Key: YOUR_API_KEY"&lt;/syntaxhighlight>
Response:

&lt;syntaxhighlight lang="json">{
  "resource": [
    {
      "path": "documents/",
      "type": "folder",
      "name": "documents",
      "last_modified": "2026-02-10T14:30:00Z"
    },
    {
      "path": "readme.txt",
      "type": "file",
      "name": "readme.txt",
      "content_type": "text/plain",
      "content_length": 1024,
      "last_modified": "2026-02-09T10:15:00Z"
    }
  ]
}&lt;/syntaxhighlight>
&lt;span id="upload-a-file">&lt;/span>
=== Upload a File ===

&lt;syntaxhighlight lang="bash">curl -X POST "https://example.com/api/v2/{service_name}/documents/report.pdf" \
  -H "X-DreamFactory-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/pdf" \
  --data-binary @report.pdf&lt;/syntaxhighlight>
&lt;span id="download-a-file">&lt;/span>
=== Download a File ===

&lt;syntaxhighlight lang="bash">curl -X GET "https://example.com/api/v2/{service_name}/documents/report.pdf" \
  -H "X-DreamFactory-API-Key: YOUR_API_KEY" \
  -o report.pdf&lt;/syntaxhighlight>
&lt;span id="delete-a-file">&lt;/span>
=== Delete a File ===

&lt;syntaxhighlight lang="bash">curl -X DELETE "https://example.com/api/v2/{service_name}/documents/old-report.pdf" \
  -H "X-DreamFactory-API-Key: YOUR_API_KEY"&lt;/syntaxhighlight>

-----

&lt;span id="common-errors">&lt;/span>
== Common Errors ==

{| class="wikitable"
|-
! Error Code
! Message
! Cause
! Solution
|-
| 400
| Bad Request
| Invalid path or parameters
| Check path format and parameter values
|-
| 401
| Unauthorized
| Missing or invalid API key
| Verify API key in request header
|-
| 403
| Forbidden
| Insufficient permissions
| Check role permissions for the path/operation
|-
| 404
| Not Found
| File or folder does not exist
| Verify the path exists
|-
| 409
| Conflict
| File already exists (on create)
| Use PUT to overwrite or delete first
|-
| 413
| Payload Too Large
| File exceeds size limit
| Check server upload limits
|-
| 503
| Service Unavailable
| Storage backend unreachable
| Verify backend connectivity and credentials
|}

-----

&lt;span id="next-steps">&lt;/span>
== Next Steps ==

* '''[[Local_File_Storage|Local File Storage]]''': Store files on the DreamFactory server
* '''[[Aws_S3|AWS S3]]''': Connect to Amazon S3 buckets
* '''[[Creating_Sftp_Rest_Api|SFTP]]''': Connect to remote SFTP servers

For file service-specific questions, consult the individual guides or contact DreamFactory support.

[[Category:File_Storage]]
[[Category:Aws_S3]]
[[Category:Azure_Blob]]
[[Category:API]]
[[Category:Difficulty_Beginner]]

[[Category:API]]
Template used on this page:

- [Template:Note](/Template:Note) ([view source](/index.php?title=Template:Note&action=edit))

Return to [File Services Overview](/File_Services_Overview).

Retrieved from "[https://wiki.dreamfactory.com/File_Services_Overview](https://wiki.dreamfactory.com/File_Services_Overview)"