Invalid characters prevents Windows users from downloading files from Mac and Linux platforms

513 views
Skip to first unread message

aquila....@gmail.com

unread,
Jun 18, 2017, 6:26:08 AM6/18/17
to Soulseek Technical Discussion
Hi Nir Arbel,

Please update SoulseekQt program for Windows so that will support downloading files containing invalid/forbidden characters (:,?) in their name or path that are shared by MacOS or Linux users.

When trying to download these type of files I get the message "Aborted" in SoulseekQt client and "Failed" in slskNS version.

Some files haves names as: "name:date.extension", "why...?.doc".
Other files haves unrecognized characters replaced by "?" which results also in "Aborted" message.
Because a directory in the path also haves an invalid character in its name, all sub-directories and files are impossible to download.

This issue was fixed many years ago by other P2P clients (ApexDC++ etc.) by replacing invalid characters with "_" character.

Another issue is with locked files. Files that are locked by the Windows OS or by a third party app results in "Aborted" message.
emule P2P client does not have this problem.

I hope Nir will take a look at my topic and will try to fix these inconveniences.

Many thanks for great program.

Best regards,
Aquila

Nir Arbel

unread,
Jun 18, 2017, 2:41:54 PM6/18/17
to Soulseek Technical Discussion
Hi Aquila,

I'll look into this starting tomorrow.

Thanks, Nir

Message has been deleted

groovethebeast

unread,
Jun 19, 2017, 11:14:24 AM6/19/17
to Soulseek Technical Discussion
@Nir Arbel
Hey Nir!
I posted something like this, (https://groups.google.com/forum/#!topic/soulseek-discussion/wNzm5ggt4sE), it's not exactly the same but I think it can be related to this.

Nir Arbel

unread,
Jun 20, 2017, 6:24:11 AM6/20/17
to Soulseek Technical Discussion
Hi again Aquila,

This should be able to download files on Windows if they contain illegal characters anywhere in the filename or any of the subfolders:


I reorganized some of the surrounding code so let me know if you run into any new problems downloading using this version.

I looked into the file lock issue, didn't have a problem downloading from a Windows client that was reading the file in another application, I'm guessing this problem relates to when the file is open for writing... in which case it's probably a good idea not to upload it then since it might change. Also, eMule probably uses native Windows APIs to enable that type of access, and Qt doesn't support that.

Thanks, Nir


Nir Arbel

unread,
Jun 20, 2017, 6:25:00 AM6/20/17
to Soulseek Technical Discussion
groove, I don't think this is related. Sounds like the user might have moved some files or folders around in their share.
Message has been deleted

aquila....@gmail.com

unread,
Jul 1, 2017, 3:08:39 PM7/1/17
to Soulseek Technical Discussion
Hi Nir Arbel,

I tested your latest build SoulseekQt-2017-6-20.

I tried to download files containing the Romanian diacritics (Unicode glyphs) in their name: "s with comma below" (U+0218/9), "t with comma below" (U+021A/B), "s with cedilla" (U+015E/F) and "t with cedilla" (U+0162/3).

The special characters placed in the filenames are displayed / replaced with "?" symbols and I can't download any of the files. The status of each file is "Queued" in SoulseekQt, only SoulseekNS version displays "Failed" messages.
Another characters that I recommend to test you can find here: http://www.mvdmoosdijk.nl/Misc/Altcodes/Alt-codes_for_characters.htm.

Another bug that sometimes I encounter related to SoulseekQt builds is the following: When browsing the user's files and using the filter box (on the bottom right) - searching for .mp3 files, all files are instantly disappearing in the "File" window even if I change the folder on the left, only the folders are still present in the "Folder" window in the "Browse" tab. So I need to get the user's files for a second or even a third time to be able to browse the files.

Can you please also release an updated version of SoulseekQt build with Qt5.1 to support Windows XP?

Best regards,
Aquila

Nir Arbel

unread,
Jul 2, 2017, 2:25:17 AM7/2/17
to Soulseek Technical Discussion
Hi Aquila,

1. I created a file named ȘșȚțŞş.mp3 and downloaded it from myself on SoulseekQt without any problems. Whoever you're downloading from may be using Soulseek NS (which doesn't have unicode support) or a very old version of SoulseekQt.

2. Not able to reproduce this browse search bug so far... not sure what might be causing it.

3. Sure thing, I'll make an XP build as soon as I can.

Thanks, Nir

chr...@inbox.lv

unread,
Aug 13, 2017, 5:57:49 AM8/13/17
to Soulseek Technical Discussion
Stumbled across similar problem, in my case user (ivstinivs) main share directory is named "__~~[]{}()". Download would not start and show Queued place 171 (this number never change), even tho search and user info Queued uploads was 0. This was using 2017-7-29 version, I tiried Soulseek NS as well and it would loop dowload starting on multiple files and not dowload either.
Reply all
Reply to author
Forward
0 new messages