Can't Copy / Use files on WebDav Mount (4shared) That Have Foreign Characters

hello,
i need to report this problem i am having as i can not find any info on this anyware on forums or google. have been searching and waiting for someone with the same issue as me to post so i have took time to make new account and report this myself.

Basically i can copy and use any files with normal english letters fine,
but anything with foreign letters (for me, Brazilian letters) does not copy or load.

The files are under 50mb,
I can rename them and then they will work great,
I have tried with latest, beta, and old versions of rclone all with same issue,
i have tried all webdav options rclone has along with adding http and https,
rclone copy works fine and also rclone browser gui works fine when downloading. Only mount is having problems,
I am using the latest version of windows fuse mount (something like winfps/winfuse its called, cant really remember the name),
I have tested beta and older windows fuse versions from official github page all with same the problem.,
I have tested this with other windows pc's all with the same errors,
I have tried other 4shared accounts i have with the same issue,
I have tried so many rclone commands eg ignore check, fast list, root etc etc. you know the ones,
Also, After copy fails, i get that typical i/o error on windows.

I really cant use command line for my work as i need mount usage for what i'm doing.
plus it took me 1:30 hours to write up to this point on this topic so im not the fastest typer.(or speller ;D )

If anyone could look into this or direct me to the right direction on
what i need to do if i mist anything out that explains why its not working,
or any topics that i missed relating the same bug im having.
That would help me and my work out alot.

Cheers!
03stevensmi

What is the problem you are having with rclone?

Can Not copy Foreign (in my case Brazilian) letters on 4shared webdav using mount..

What is your rclone version (output from rclone version)

.rclone v1.54.0-beta.4872.f89ff3872

  • os/arch: windows/amd64
  • go version: go1.15.3
    =
    Also tried with latest stable version and older versions
    all with same results

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64bit (windows fuse mount latest version)

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

webdav (4shared) = Tried all webdav options avaible
both with http https all with same results

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

rclone mount 4shared:/ s: --vfs-cache-mode full -vv

The rclone config contents with secrets removed.

[4shared]
type = webdav
url = https://webdav.4shared.com
vendor = other
user = (my email with @xxx.com)
pass = (pass token) (added my 4shared pass via config. basic pass with no !£@$&*-_=+~#?/\)

[ll]
type = webdav
url = http://webdav.4shared.com
vendor = other
user = (my email with @xxx.com)
pass = (pass token) (added my 4shared pass via config. basic pass with no !£@$&*-_=+~#?/\)

[gg]
type = webdav
url = 204.155.148.17 ->(4shared ip address)
vendor = nextcloud
user = (my email with @xxx.com)
pass = (pass token) (added my 4shared pass via config. basic pass with no !£@$&*-_=+~#?/\)

[ggb]
type = webdav
url = https://webdav.4shared.com
vendor = nextcloud
user = (my email with @xxx.com)
pass = (pass token) (added my 4shared pass via config. basic pass with no !£@$&*-_=+~#?/\)

A log from the command with the -vv flag

2020/12/27 16:03:17 DEBUG : /: Opendir:
2020/12/27 16:03:17 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/12/27 16:03:17 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2020/12/27 16:03:17 DEBUG : /: >Opendir: errc=0, fh=0x1
2020/12/27 16:03:17 DEBUG : /: Releasedir: fh=0x1
2020/12/27 16:03:17 DEBUG : /: >Releasedir: errc=0
2020/12/27 16:03:17 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/12/27 16:03:17 DEBUG : /: >Getattr: errc=0
2020/12/27 16:03:17 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/12/27 16:03:17 DEBUG : /: >Getattr: errc=0
2020/12/27 16:03:17 DEBUG : /: Opendir:

hi,
that log has no errors in it.

can you post a debug with the error in it?

sure.how do you do that again. whats the command? cheers

you command already has -vv for debug output.

i would restart the mount command, try to copy a file that will cause the error, then kill the mount command.
post the output of the command here.
that way the log will not be too long.

typical i/o error on windows
post the exact error, take a screen snippet.

ok. tbh i tried to do that at first, but it just looped that log over and over again to the point that cmd lost the start. that6s why i thaught that log was the issue. trying again now. :wink:

perhaps use a log file
https://rclone.org/docs/#log-file-file

is this the right command? rclone mount 4shared:/ s: --vfs-cache-mode full --log-file=c:/Users/XXX --log-level DEBUG

yes, that look good put make sure you specify a log file name, not just a folder.
something like --log-file=c:\Users\XXX\logfile.txt

got it! its copyimg now but its taking a while. just freezing on copying. not sure if its gonna say failed as normally it says it after around 1-2min of copying. when it takes this long doing nothing i dont really know if its going to come up error or not. should i just wait? if so... how long?

can you create a empty text file and copy that?

yeah the text file is created and log is now writing to text file. i'm talking about it copying the foreign file. its still stuck on copying. should i cancel it and send you the log so far?

doesnt matter, it came up with the error. sending full log now. :wink:

one way or another, need a debug log with errors in it.

if the problem is foreign characters in the file name, correct?
if so, then just create an empty text file with foreign characters in it and upload that.

if you use an editor like notepad++, you can view the text file at the same time rclone is updating it.

logg.txt (3.9 MB)

ok, this is the error
2020/12/27 17:51:19 ERROR : (Abril) Cascão - 011.cbr: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: 500 Internal Server Error

try the same mount command but remove --vfs-cache-mode full and test again.

yes it works via rclone copy. i think i already tried with full, off, but same. i normally don't add vfs in command. i just added it for extra info. same issue. would you like another log txt without vfs-cache-mode anyway?

what was the exact rclone copy command, did it is also use 4shared:?

as i suggested, i would remove --vfs-cache-mode full and test again.

the full rclone copy command was this =
rclone copy 4shared:/"(Abril) Cascão - 011.cbr" c:/Users/djson

works great. just does not work at all with mount unless its filename is english.
doing it again with log.txt will send as soon as its finished ;D

mountcopylog.txt (326.8 KB)

ok, this is good, as same basic error ERROR : IO error: 500 Internal Server Error
the last error made it look like the vfs cache might be a problem.
now we know that the vfs is not the problem.

as to the exact reason for the error, i do not know, but now we have good debug logs

we have many experts, one whould stop by soon.