Some remote files cannot be read when mounted

What is the problem you are having with rclone?

I mount some remote file service "myrient" using http protocol.
When I want to open some zip archives like https://myrient.erista.me/files/TOSEC/Commodore/Amiga/Games/[ADF]/Commodore%20Amiga%20-%20Games%20-%20[ADF].zip it cannot be read, I got the errors like the file is corrupted.
When I download that file using rclone copy, it works.
The same problem is on another computer with Linux.

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

rclone v1.68.1

  • os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
  • os/kernel: 10.0.22631.4249 (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)

http

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

"rclone mount myrient: D:\myrient"
then just to open a zip archive in some file manager

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

[archive]
type = internetarchive
access_key_id = XXX
secret_access_key = XXX

[myrient]
type = http
url = Myrient | Content Listing

[wizzard]
type = http
url = https://wizzardsk.github.io/

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

no errors are in log

Add full vfs caching to your mount and try again:

--vfs-cache-mode full

Thanks, tried that, still having problem with that file: Invalid data format. Missing main file head descriptor.

try a different file.

and for debugging, try the following:

  1. kill the mount
  2. run the mount command with -vv
  3. try to open a file
  4. kill the mount
  5. post the full output

Different file works. I found this:

curl -I -r 100-200 .../Commodore%20Amiga%20-%20Games%20-%20%5BEXE%5D.zip

HTTP/1.1 206 Partial Content // this can be opened when mounted

vs

curl -I -r 100-200 .../Commodore%20Amiga%20-%20Games%20-%20%5BADF%5D.zip

HTTP/1.1 206 // this cannot be opened when mounted

the difference is that Partial Content in the first command output

after downloading that zip file, can you open it, extract files?

Yes, I can extract

how did you try to open the .zip, windows explorer or what?

i ran a mount using your remote config.
then using 7zip, i opened the .zip and extracted a file.

Tried Ark in Linux or Altap Salamander in Windows

Which file have you tried?

the file that you had an issue with, the first file that you posted about.


fwiw, altap salamander has not been updated in 5 years, does not support windows 11.

should check out double commander - https://github.com/doublecmd

  • open source
  • dual pane, norton commander style
  • runs on windows, linux, macos and freebsd
  • plugins use total commander api
  • portable app, no installer is required. when i need to work on a new machine, i simply copy the folder from one machine to the new machine.
  • been in continuous development since 2007, and latest release was 2 days ago
  • i have been running on every machine, windows and linux, i work on, for 6+ years

Thanks, but I prefer Salamander in Windows and Krusader in Linux. When you use some software for 20+ years, you have no need for the change :slight_smile:

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