SFTP DIRECTORY LISTING

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
alex1983sa
Posts: 1
Joined: Mon 19 Aug 2019 09:53

SFTP DIRECTORY LISTING

Post by alex1983sa » Mon 19 Aug 2019 10:00

Dear All,
I'm trying to make sftp client directory linsting , but in the folder there are 3500 files but it always detects only 98

i use the event

procedure TForm1.sftpclientDirectoryList(Sender: TObject; const Path: string;
const Handle: TBytes; FileInfo: TScSFTPFileInfo; EOF: Boolean);
begin
listbox1.Items.Add(fileinfo.Filename);
listbox2.Items.Add(DateToStr(fileinfo.Attributes.ModifyTime))
end;


i list ever 98 files of 3500.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SFTP DIRECTORY LISTING

Post by ViktorV » Tue 20 Aug 2019 14:08

Unfortunately, we couldn't reproduce the issue with the latest SecureBridge version 9.0.2 in our environment using the data that you've provided.
Please make sure that you use version 9.0.2 and try reproducing the issue in our SFTPClient demo project. The demo project is located in the %SecureBridgeDemos%\Demos\SFTPClient directory, where %SecureBridgeDemos% is the SecureBridge Demo projects installation path on your computer.
If the issue persists, please tell us the exact version number of your SFTP server.

Post Reply