Re: DirItems skipping files in ListDir - WeOnlyDo Discussion board

Re: DirItems skipping files in ListDir (General questions)

by Victor, Thursday, August 02, 2007, 21:55 (6322 days ago) @ sridevi

Hello,

I have the same problem. My evaluation version wodFTPDlx ActiveX returns one file less, than actually stored in the folder. When I check the remote folder with FireFTP client, I see one extra file. It is always first file in the folder, which is being skipped. Example: remote folder stores 100 files. After I run oFTP.ListNames() oFTP.DirItems.Count is equal to 99 and collection oFTP.DirItems holds item 0 to 98. When I loop through this collection 0 to 98, I always missing the file, which is physically 1st (oldest) on remote. Unfortunately, there is no item -1.

Really it works for me for now: missing file was downloaded long time ago, registered as downloaded locally and would be skipped any way.

Just if I start some business with empty folder I'll be always missing file #1. It would nice to buy a tool, which returns you all files...

P.S. Ones ListNames() got 64 files form the folder with 128 items. I've seen it only ones, during Debug session and will not accent on this.

Any ideas?
Thank you,
Victor

Hi,


First, please if you didn't yet, download latest version of wodFtpDLX.NET. Latest version is 1.1.2.32. Maybe this is something that is fixed and with newest version maybe you don't have with downloading files.

If you are licensed user, you can download latest version here:

http://www.weonlydo.com/index.asp?update=1

This is automated process. Make sure you use same email address that is registered with our system, one you used when you have purchased the product.

Make sure that Version Property returns to you 1.1.2.32.

Here is example how to call Version Property:
------------------------
MsgBox ( _ftpFTPObject.Version)
------------------------

If you aren't that you can download it here:

http://www.weonlydo.com/Samples/wodFtpDLX.NET.msi

If problem persist we need to duplicate it somehow.

What is your server type/vendor/name?

You can check this our by typing in command prompt:

telnet your_server_name 21

and send us first line returned.

Best and fastest option for resolving your problem is that you provide us access to your server, is this possible?

If you can send us your private information (hostname, login, password) to techsupport@weonlydo.com

Hope I helped.


Regards,
Drazen


Complete thread: