localsend / localsend

An open-source cross-platform alternative to AirDrop

Home Page:https://localsend.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when tansferring files with special characters.

tuqueque opened this issue · comments

Describe the bug

When I try to Drag&Drop some file with special characters (ñ, |, :, 🙂) into LocalSend, it doesn't do anything... and even worse, if I Drag&Drop a folder with files inside that have special characters, the transfer takes place, but at the end of the file transfer, throws an error.

To reproduce

Either have a file with special characters or a folder with files inside that have especial characters and try to transfer it with LocalSend.

Expected behavior

Transfer the file!

Screenshots

No response

Desktop (please complete the following information)

OS: Manjaro (Linux).
LocalSend version: 1.14.0

Smartphone (please complete the following information)

No response

Additional context

No response

What is your target OS? Windows is very strict regarding file names.

The target OS is Windows, yes... Although, I don't see why when I drag and drop a file with special characters into LocalSend, it doesn't do anything but if I place the file into a folder (that doesn't have special characters) the Drag&Drop function does work... and also, I really doubt that I'll have any problem if I send files with special characters through other methods like USB drive or even croc ( https://github.com/schollz/croc )... I can do the tests if you want.

So... is this fixable?

I just sent a file named ñ.png and 🙂.png and it worked. But when I add a | it didn't because Windows doesn't support this character.

I don't know how other solutions work but I can imagine that they replace unsupported characters.

Does it support Drag&Drop into LocalSend? (dragging and dropping files with special characters into LocalSend's window).

P.S.: In any case, this would be just another reason to hate Windows.

i meet the question too.
image

whishing sort.

Fixed in #1336