Fix Filename Too Long and Special Character Errors in Cloud Sync — RcloneView Guide
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.

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
Free core features. Plus automations available.
Common Filename Problems
Path length limits
| Provider | Max Path Length |
|---|---|
| OneDrive | 400 characters |
| SharePoint | 400 characters |
| Google Drive | 32,768 characters |
| S3 | 1,024 characters |
| Dropbox | 260 characters |
| Local (Windows) | 260 characters (default) |
Deeply nested folders with long names quickly exceed OneDrive or Dropbox limits.
Illegal characters
| Character | Google Drive | OneDrive | S3 | Dropbox |
|---|---|---|---|---|
\ | Allowed | Not allowed | Allowed | Not allowed |
? | Allowed | Not allowed | Allowed | Not allowed |
* | Allowed | Not allowed | Allowed | Not allowed |
: | Allowed | Not allowed | Allowed | Not allowed |
< > | | Allowed | Not allowed | Allowed | Not 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
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.