"404 Not Found error" only on files with the # symbol

What is the problem you are having with rclone?

I'm trying to copy files from Egnyte to a Google Shared Drive. The transfer completed, but over 80 files failed with the error "failed to open source object: 404 Not Found."

After checking the logs, I noticed all the failed files had the hashtag (#) symbol in their names. To test this, I created two files—one with a # and one without. The file without the # migrated successfully, but the one with the # failed.

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.1

  • os/version: Microsoft Windows Server 2022 Standard Evaluation 21H2 (64 bit)
  • os/kernel: 10.0.20348.2582 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Egnyte to Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy egnyte:/Private beale: --progress --log-file=test2.txt

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[egnyte]
type = webdav
url = https://**REDACTED**.egnyte.com/webdav/
vendor = sharepoint-ntlm
user = XXX
pass = XXX

[beale]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = XXX
root_folder_id =

A log from the command that you were trying to run with the -vv flag

2024/10/22 15:08:34 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "copy" "egnyte:/Private" "beale:" "--progress" "--log-file=test6.txt" "-vv"]
2024/10/22 15:08:34 DEBUG : Creating backend with remote "egnyte:/Private"
2024/10/22 15:08:34 DEBUG : Using config file from "C:\\Users\\Administrator\\AppData\\Roaming\\rclone\\rclone.conf"
2024/10/22 15:08:34 DEBUG : found headers: 
2024/10/22 15:08:34 DEBUG : fs cache: renaming cache item "egnyte:/Private" to be canonical "egnyte:Private"
2024/10/22 15:08:34 DEBUG : Creating backend with remote "beale:"
2024/10/22 15:08:34 DEBUG : Added delayed dir = "david", newDst=david
2024/10/22 15:08:34 DEBUG : Added delayed dir = "david/Drafts", newDst=<nil>
2024/10/22 15:08:34 DEBUG : david/Test #1.docx: Need to transfer - File not found at Destination
2024/10/22 15:08:34 DEBUG : david/Test 4.docx: Need to transfer - File not found at Destination
2024/10/22 15:08:35 DEBUG : Google drive root '': Waiting for checks to finish
2024/10/22 15:08:35 DEBUG : Google drive root '': Waiting for transfers to finish
2024/10/22 15:08:35 ERROR : david/Test #1.docx: Failed to copy: failed to open source object: 404 Not Found
2024/10/22 15:08:36 INFO  : david/Test 4.docx: Copied (new)
2024/10/22 15:08:37 INFO  : david: Set directory modification time (using SetModTime)
2024/10/22 15:08:37 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: 404 Not Found
2024/10/22 15:08:37 DEBUG : Added delayed dir = "david", newDst=david
2024/10/22 15:08:38 DEBUG : Added delayed dir = "david/Drafts", newDst=<nil>
2024/10/22 15:08:38 DEBUG : david/Test #1.docx: Need to transfer - File not found at Destination
2024/10/22 15:08:38 DEBUG : david/Test 4.docx: Sizes identical
2024/10/22 15:08:38 DEBUG : david/Test 4.docx: Unchanged skipping
2024/10/22 15:08:38 DEBUG : Google drive root '': Waiting for checks to finish
2024/10/22 15:08:38 DEBUG : Google drive root '': Waiting for transfers to finish
2024/10/22 15:08:38 ERROR : david/Test #1.docx: Failed to copy: failed to open source object: 404 Not Found
2024/10/22 15:08:40 INFO  : david: Set directory modification time (using SetModTime)
2024/10/22 15:08:40 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: 404 Not Found
2024/10/22 15:08:40 DEBUG : Added delayed dir = "david", newDst=david
2024/10/22 15:08:40 DEBUG : Added delayed dir = "david/Drafts", newDst=<nil>
2024/10/22 15:08:40 DEBUG : david/Test #1.docx: Need to transfer - File not found at Destination
2024/10/22 15:08:40 DEBUG : david/Test 4.docx: Sizes identical
2024/10/22 15:08:40 DEBUG : david/Test 4.docx: Unchanged skipping
2024/10/22 15:08:40 DEBUG : Google drive root '': Waiting for checks to finish
2024/10/22 15:08:40 DEBUG : Google drive root '': Waiting for transfers to finish
2024/10/22 15:08:40 ERROR : david/Test #1.docx: Failed to copy: failed to open source object: 404 Not Found
2024/10/22 15:08:41 INFO  : david: Set directory modification time (using SetModTime)
2024/10/22 15:08:41 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: 404 Not Found
2024/10/22 15:08:41 INFO  : 
Transferred:   	    9.427 KiB / 9.427 KiB, 100%, 1.570 KiB/s, ETA 0s
Errors:                 1 (retrying may help)
Checks:                 2 / 2, 100%
Transferred:            1 / 1, 100%
Elapsed time:         7.6s

2024/10/22 15:08:41 DEBUG : 9 go routines active
2024/10/22 15:08:41 NOTICE: Failed to copy: failed to open source object: 404 Not Found

welcome to the forum,

have you tried other webdav options, such as native windows os support or filezilla, do they fail or not?

fwiw, egnyte supports sftp

to keep the log small, --retries=1

This one is solved now.

I had configured the remote as Webdav but selected "Sharepoint with NTLM authentication, usually self-hosted or on-premises" under the Name of the WebDAV site/service/software you are using set up step.

I changed it to 7 (which is 'other), reran the sync and that fixed it.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.