Skip to main content

Automatically Creating Folders Upon Upload via FTP

Some FTP clients assume that servers will automatically make parent folders for uploads if a given folder doesn't exist; these clients usually won't report an error when that parent folder doesn't exist.

The FTP service provided by Files.com complies with the standards for FTP transfers, so by default, your site will not automatically create a folder when an FTP client tries to upload to a folder that doesn't exist. This can lead to frustration when an automated FTP upload seems to have worked, but your files aren't transferred.

To prevent interruptions to your transfers, site administrators can configure your FTP service settings to Automatically make folders on uploads if they don't exist. Enabling this behavior will also apply to uploads via SFTP. Automatically creating missing parent folders offers convenience so uploaders don't need to verify a folder structure prior to transferring a file.

Risks of Automatically Creating Folders

Automatically creating folders that don't exist when a user attempts to upload is not standard behavior for an FTP service. If specific folders determine how long data is retained, or how files are processed, allowing the system to create new folders automatically undermines that control.

Enabling the setting makes it more difficult to spot certain misconfigurations because a typo in a folder name will not trigger a failure, it will simply create a new folder. Files are then stored in the wrong location without immediate visibility, which can break workflows.

This setting is also risky when users upload files manually or when you handle sensitive or regulated data. Mistakes become permanent structure instead of obvious errors. If you rely on failed uploads to detect configuration problems, enabling this setting removes that safeguard. In controlled environments, fail-fast behavior protects accuracy, security, and oversight.

You can reduce risk by Locking Folder Structure for particular folders to ensure they have a specific layout. This lets you enable automatic folder creation for your site while still protecting critical areas of your directory structure. By locking sensitive or regulated folders and leaving others flexible, you balance reliability with governance.

Deciding Whether to Enable Automatic Folders

To decide whether to enable automatic folder creation, look at how FTP is used in your environment. If most uploads come from automated systems that generate dynamic folder paths, enabling the setting can reduce failures and simplify operations. If uploads are manual or your folder structure is tightly controlled, keeping it off preserves visibility into mistakes and protects your intended structure. The key question is whether you value strict control and fail-fast behavior, or flexibility and resilience.

Get The File Orchestration Platform Today

4,000+ organizations trust Files.com for mission-critical file operations. Start your free trial now and build your first flow in 60 seconds.

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