> Pure-ftpd never displays more than 2000 files
> in response to an 'ls' command.

Thanks for feedback. And happy ICS is OK.

--
[EMAIL PROTECTED]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


----- Original Message ----- 
From: "Guillaume ROQUES" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, December 02, 2008 1:25 PM
Subject: Re: [twsocket] [FTP] List over 2000 files


I test it with the ICS demo application and I've got this answer when I
use the List button :
 > CWD /Test FTP
< 250 OK. Current directory is /Test FTP
 > PASV
< 227 Entering Passive Mode (10,0,0,10,168,126)
 > NLST *.*
< 150 Accepted data connection
< 226 Output truncated to 2000 matches
! 76,4Kbytes received/sent in 1125 milliseconds
 > QUIT
< 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
< 221 Logout.

I've finally found this on http://www.webmasterworld.com/forum40/1504.htm :
"There is an explanation in the PureftpD readme under "OPTIONS":
http://www.pureftpd.org/README
[...]
Pure-ftpd never displays more than 2000 files in response to an 'ls'
command.
Also, a recursive 'ls' (-R) never goes further than 5 subdirectories.
You can increase/decrease those limits with the '-L' option."

I use FreeNas for my FTP Server and it use PureFTPd, so that's the
answer of my post.....

Thanks François by the way.

Francois Piette a écrit :
> There is no limit imposed by the component.
> Truncation and missing data is frequently caused by calling the message 
> pump
> (directly or indirectly) from any message handler.
> Could you try using ICS demo application ?
>
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> ----- Original Message ----- 
> From: "Guillaume ROQUES" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Monday, December 01, 2008 9:19 AM
> Subject: Re: [twsocket] [FTP] List over 2000 files
>
>
> So I use it correctly...
> but is there a limit on the number of files to list or a string limit ?
>
> Francois Piette a écrit :
>
>> I don't see any obvious reason for having none of the method you tryed to
>> work !
>> --
>> [EMAIL PROTECTED]
>> Author of ICS (Internet Component Suite, freeware)
>> Author of MidWare (Multi-tier framework, freeware)
>> http://www.overbyte.be
>>
>>
>> ----- Original Message ----- 
>> From: "Guillaume ROQUES" <[EMAIL PROTECTED]>
>> To: <twsocket@elists.org>
>> Sent: Friday, November 28, 2008 10:55 AM
>> Subject: [twsocket] [FTP] List over 2000 files
>>
>>
>>
>>
>>> Hi,
>>>
>>> I use the FTP component to get or put files and when I wanted to active
>>> it at my customer office there was over 8000 files to download.
>>>
>>> I've tried 2 methods :
>>> 1- I use the displayfileflag on true, I send a LS command and I get the
>>> filename in the event OnDisplayFile
>>> 2- I use the displayfileflag on false and use the temporary file
>>> generated to know filenames.
>>>
>>> In the first method, it return only 1000 files and some are truncated on
>>> different part (name, extensions....)
>>> In the second method, it return only 2000 files.
>>>
>>> I would like to know if I use correctly the way to get files list. And
>>> if someone could explain me the 2 methods to list files on a server.
>>> (I don't need get 8000 files on 1 pass but I just want to know if I use
>>> the method correctly).
>>>
>>> I know that there is a Overbyte FTPTest, and I saw it used the temporary
>>> file but I don't want to use one if possible.....
>>>
>>> Thanks
>>>
>>> Guillaume ROQUES
>>> CANYON Technologies
>>> -- 
>>> To unsubscribe or change your settings for TWSocket mailing list
>>> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
>>> Visit our website at http://www.overbyte.be
>>>
>>>
>>
>>
>
>
>


-- 
Cordialement,

Guillaume ROQUES
------------------------------------------------------------
* CANYON Technologies *
99 Bis Rue de la république
13400 AUBAGNE
Tél : 04.42.18.64.20 - Fax : 04.42.18.64.21
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.canyon.fr/
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to