I've researched and tried various methods but could not come up with a solution. Can anyone help?
What is the problem you are having with rclone?
I want to use “rclone” on Windows to access files on my Android phone. Some of my use cases work fine, but other do not. One use case that does NOT work – I can NOT edit a file. Here are the details:
1. Start FTP Server on Android.
2. Mount Android FTP-served files with this command on Windows:
```rclone.exe mount "LG_V60_FTP":" "*" --volname "\V60-FTP\ALL" --vfs-cache-mode writes```
3. Open desired [mounted] Android file [in this example, “foo.txt”] in Windows Notepad and make edits.
4. Save changes to file made in Notepad.
5. Get these errors from “rclone”:
2025/11/25 18:25:13 ERROR : device/Documents//foo.txt.voxukog0.partial: partial file rename failed: Move Rename failed: 550 Rename failed
2025/11/25 18:25:13 ERROR : device/Documents/foo.txt: vfs cache: failed to upload try #1, will retry in 10s: vfs cache: failed to transfer file from cache to remote: Move Rename failed: 550 Rename failed
After googling around, found problem could be an Android FTP Server renaming issue. I’m assuming here that when I edit my file on Windows in Notepad, “rclone” uploads a copy of my edited file to Android as “foo.txt.voxukog0.partial“ and then attempts to rename that to “foo.txt“. This does seem to be the problem. I’ve tested 3 different Android FTP servers and NONE would allow the rename of a file to that of an already-existing file [in this case “foo.txt”].
So then I tried using “--vfs-cache-mode off“ on my “rclone” mount command. But I still can NOT edit the Android file. Now I get this “rclone” error:
2025/11/26 12:28:47 ERROR : device/Documents/foo.txt: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
Is there some solution to this issue?
Run the command 'rclone version' and share the full output of the command.
C:\Users\Bob>rclone --version
rclone v1.66.0
- os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
- os/kernel: 10.0.19045.5854 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone.exe mount "LG_V60_FTP":" "*" --volname "\V60-FTP\ALL" --vfs-cache-mode writes
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
C:\Users\Bob>rclone config redacted
[LG_V60_FTP]
type = ftp
host = XXX
user = XXX
port = 4355
pass = XXX
A log from the command that you were trying to run with the -vv flag
2025/11/25 18:25:13 ERROR : device/Documents//foo.txt.voxukog0.partial: partial file rename failed: Move Rename failed: 550 Rename failed
2025/11/25 18:25:13 ERROR : device/Documents/foo.txt: vfs cache: failed to upload try #1, will retry in 10s: vfs cache: failed to transfer file from cache to remote: Move Rename failed: 550 Rename failed
2025/11/26 12:28:47 ERROR : device/Documents/foo.txt: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes