Skip to main content

Fix Filename Too Long and Special Character Errors in Cloud Sync — RcloneView Guide

· 3 min read
Tayson
Senior Engineer

Your sync job fails on 47 files. The error says "filename too long" or "invalid character." The files look perfectly normal on your end. Welcome to cross-provider filename compatibility.

Every cloud provider has different rules about filenames. What's perfectly valid on Google Drive might be illegal on OneDrive. A path that works on S3 might exceed the character limit on Dropbox. When syncing between providers, these mismatches create frustrating errors that can block entire transfer jobs. This guide covers the most common issues and how to fix them.

RcloneView app preview

Manage & Sync All Clouds in One Place

RcloneView is a cross-platform GUI for rclone. Compare folders, transfer or sync files, and automate multi-cloud workflows with a clean, visual interface.

  • One-click jobs: Copy · Sync · Compare
  • Schedulers & history for reliable automation
  • Works with Google Drive, OneDrive, Dropbox, S3, WebDAV, SFTP and more
WindowsmacOSLinux
Get Started Free →

Free core features. Plus automations available.

Common Filename Problems

Path length limits

ProviderMax Path Length
OneDrive400 characters
SharePoint400 characters
Google Drive32,768 characters
S31,024 characters
Dropbox260 characters
Local (Windows)260 characters (default)

Deeply nested folders with long names quickly exceed OneDrive or Dropbox limits.

Illegal characters

CharacterGoogle DriveOneDriveS3Dropbox
\AllowedNot allowedAllowedNot allowed
?AllowedNot allowedAllowedNot allowed
*AllowedNot allowedAllowedNot allowed
:AllowedNot allowedAllowedNot allowed
< > |AllowedNot allowedAllowedNot allowed

Files created on Google Drive with ? or : in their names will fail when syncing to OneDrive.

Trailing spaces and dots

OneDrive and Windows reject filenames ending with spaces or dots. Google Drive allows them. This creates invisible sync failures.

Unicode and encoding issues

Non-ASCII characters (Japanese, Korean, Chinese, emoji) work on most providers but can cause issues with older systems or specific S3-compatible providers.

How to Diagnose

Check job history

Find filename errors in job history

Job history shows exactly which files failed and why. Look for error messages mentioning "invalid," "too long," or "not allowed."

Identify problematic files

RcloneView's terminal lets you run rclone check with verbose output to list all files that would fail before you attempt the transfer.

Solutions

Rename problematic files at the source

The cleanest fix: rename files to remove illegal characters or shorten paths before syncing.

Use rclone's encoding flags

Rclone can automatically encode illegal characters during transfer. Configure these in RcloneView's remote settings to handle cross-provider compatibility.

Flatten deep folder structures

If path length is the issue, reorganize deeply nested folders into a flatter structure.

Use Folder Comparison to find mismatches

Find filename mismatches

Folder Comparison highlights files that exist on the source but not the destination — often the ones that failed due to filename issues.

Getting Started

  1. Download RcloneView from rcloneview.com.
  2. Run a test sync on a small folder first.
  3. Check job history for filename-related errors.
  4. Fix filenames at the source or configure encoding.
  5. Re-run and verify with Folder Comparison.

The fix is usually simpler than the error message suggests.


Related Guides:

Supported Cloud Providers

Local Files
WebDAV
FTP
SFTP
HTTP
SMB / CIFS
Google Drive
Google Photos
Google Cloud Storage
OneDrive
Dropbox
Box
MS Azure Blob
MS File Storage
S3 Compatible
Amazon S3
pCloud
Wasabi
Mega
Backblaze B2
Cloudflare R2
Alibaba OSS
Ceph
Swift (OpenStack)
IBM Cloud Object Storage
Oracle Cloud Object Storage
IDrive e2
MinIO
Storj
DigitalOcean Spaces