Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Limit to ListEntry Function?
Dang
dgold@globaltv.ca

From: Calgary, AB Canada
Posts: 8
Member Since: 08/09/06
posted August 31, 2010 7:44 PM

Gang...

Do you know if there is a limit to the "listentry" function? It works fine to 65,000, but somewhere between that and 66,000 it will start to repeat numbers. In my app it appeared to be at 65,536 it had a problem.

I note 65,536 is a common number (16bit), the binary of which is 10000000000000000, possibly a hint.

True?

Thanks!

            Dan
Jason Farrar (Admin)

From: USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted September 1, 2010 2:08 PM

Hi,

Can you tell me what versions of the DartFTP and DartSock dlls you're using when you get this error?

Thanks.
Dang
dgold@globaltv.ca

From: Calgary, AB Canada
Posts: 8
Member Since: 08/09/06
posted September 8, 2010 12:47 AM

Hi Jason...

Sorry for the slow response.

DartFTP.dll is 2.0.2.0, and Dartsock.dll is 2.8.3.25.

And just to be clear, I don't really get an error, it's just the listentry "wraps" back to the start again.

Thanks!

        Dan
Dang
dgold@globaltv.ca

From: Calgary, AB Canada
Posts: 8
Member Since: 08/09/06
posted September 26, 2010 7:35 PM

Hi There....

Just curious if you found anything on this?

Thanks!

        Dan
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 30, 2010 9:57 AM

Hi Dan,
I have not been able to reproduce this.
I setup a server that returns a listing with 70000 entries. 
I tried this simple test using the dll versions you indicated:

Ftp1.Login "myServer", "myAccount", "myPassword"
Ftp1.List ""
Ftp1.Logout
  
Dim i As Long
For i = 1 To 10
  Debug.Print Ftp1.Listing(i).Text
Next
For i = 69900 To 69910
  Debug.Print Ftp1.Listing(i).Text
Next

Each listing entry showed the file I expected.

Is there something we need to do differently to see the incorrect behavior?

Thanks,
-ken

Dang
dgold@globaltv.ca

From: Calgary, AB Canada
Posts: 8
Member Since: 08/09/06
posted October 18, 2010 10:45 PM

Ken...

It occurs to me.....

It might be a limitation of the FTP server. I'll try to do some other tests and see if I can narrow it down.

Thanks!

 Dan
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX