Forum > General

[SOLVED] FindAllFiles does not find all files over SMB

(1/2) > >>

Zittergie:
Hi,

when I access a mounted SMB share (shared by Netgear ReadyNas v2) FindAllFiles does not find all files. Linux Filemanager shows all files.
When locally used, all files are found by FindAllFiles.  All files (and dirs) have the same user & permissions.

I am using:

- Lazarus v1.1 on Linux Mint 14
- Lazarus v0.9 on Raspbian (ARM Linux)

both give the same result. On both platform the same 6303 files are found out of the 9200.

I have found one forum entry with the same error, but no solution was suggested.  There have to be more people with the same results.


--- Code: ---FilesFound:=FindAllFiles(CheckThisDir, '*.mp3;*.flac;*.ogg', True);
--- End code ---

BigChimp:
Probably a Samba bug, not an FPC/Lazarus bug, see my response here:
http://lazarus.freepascal.org/index.php/topic,17499.msg113149.html#msg113149

Zittergie:
Thanks,
Will have to use a workaround :(

Zittergie:

--- Code: ---find /mnt/media/Music/ -iname *.mp3
--- End code ---
in bash finds all files.

What would be the easiest way to redirect the output to a Stringlist without creating a temp file?

Bart:
Known Samba bug, see this issue in fpc bugtracker.

Bart

Navigation

[0] Message Index

[#] Next page

Go to full version