ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
247 stars 46 forks source link

Incoming file names truncated to 160 characters #30

Open HinTak opened 6 years ago

HinTak commented 6 years ago

I am downing quite a few files with rather long file names and found about a dozen have their file names truncated to 160 characters. (sometimes with _1, _2 added at the end if the first 160 characters are identical). Actually it is 160 bytes, I think - have some file names in non-ascii.

Linux can do 1024 bytes at least or perhaps more for file names...

ygrek commented 6 years ago

please show sysinfo output

HinTak commented 6 years ago

here it is.


    --Buildinfo--
Version:     MLNet Multi-Network p2p client version 3.1.6.git (mlnet-3.1.6.x86-64)
SCM version:     release-3-1-6-21-gb4356c33-new-master
Networks:    Global Shares Direct Connect Fasttrack FileTP BitTorrent Donkey (SUI)
OCaml version:   4.06.0 - C compiler version: 8 - C++ compiler version: 8
Built on:    Linux x86_64 4.16.7-300.fc28.x86_64 (little endian) with glibc 2.27
Configure args:   '--enable-option-checking=fatal'
Features:     threads zlib-1.2.11 bzip2-1.0.6 gd(jpg/png-1.6.34) iconv(active) magic(active) no-upnp no-natpmp no-check-bounds

    --Runinfo--
MLDonkey user:       admin (Warning: empty Password) - uptime: 42m 53s - running as Hin-Tak:Hin-Tak
Enabled nets:     Donkey BitTorrent FileTP
Server usage:    enabled
Geoip:       enabled, GeoLite data created by MaxMind, available from http://maxmind.com/
IP blocking:     local: 0 ranges - web: 196285 ranges
Libmagic:    file-type recognition database present
System info:     Linux localhost.localdomain 4.16.16-300.fc28.x86_64 #1 SMP Sun Jun 17 03:02:42 UTC 2018 x86_64
         language: EN - locale: UTF-8 - UTC offset: +0100
         max_string_length: 144115188075855863 - word_size: 64 - max_array_length: 18014398509481983 - max_int: 4611686018427387903
         max file descriptors: 4096 - max useable file size: 2^63-1 bits (do the maths ;-p)

    --Portinfo--
Network   |  Port|Type
----------+------+-------------------
BitTorrent|  6882|client_port TCP
BitTorrent|  6881|tracker_port TCP
BitTorrent|  7749|dht_port UDP
Core      |  4080|http_port
Core      |  4000|telnet_port
Core      |  4001|gui_port
Donkey    | 17355|client_port TCP
Donkey    | 17359|client_port UDP

    --Diskinfo--
Directory              |Type                         |    used|    free|%free|Filesystem
-----------------------+-----------------------------+--------+--------+-----+----------
/home/Nobak-Hin-Tak/mld|core/ini files               | 816.09G|  263.7M|   0%|ext2/3/4
temp                   |temp/downloading             | 816.09G|  263.7M|   0%|ext2/3/4
incoming/directories   |shared (incoming_directories)| 816.09G|  263.7M|   0%|ext2/3/4
incoming/files         |shared (incoming_files)      | 816.09G|  263.7M|   0%|ext2/3/4
shared                 |shared (all_files)           | 816.09G|  263.7M|   0%|ext2/3/4
mlnet-3.1.6.x86-64_tmp |$MLDONKEY_TEMP               | 816.09G|  263.7M|   0%|ext2/3/4