Problem with DirItems - WeOnlyDo Discussion board

Problem with DirItems (wodSFTP / wodSFTP.NET / wodSFTPdll)

by IngramMicro, Wednesday, October 11, 2006, 09:20 (6619 days ago)

Hi,

I have a problem with the DirItems property. I'm using the component in a VBA application.
When I connect to a server I use the ListDir method to read the directory and use the DirItems to get all files and handle with them. And until now I had no problems. But now I connect to a new server and there I get in the DirItems().Name property the permissions of the file/subdirectory.

Normally I get the following details for a file:
AccessTime: 00:00:00
AdditionalName:
Extra1: 1
Extra2:
Extra3:
FullLine: -rwxr-x--- 1 ITAdmin System 461 Sep 24 2004 44459998_200409241504.erl
Group: System
ModificationTime: 24.09.2004
Name: 44459998_200409241504.erl
Owner: ITAdmin
Permissions: -rwxr-x---
Size: 461
SizeHi: 0
Tag:
Type: 2

But in this case I get these information:
AccessTime: 00:00:00
AdditionalName:
Extra1:
Extra2:
Extra3:
FullLine: -rw-r----- 1 oracle oinstall 956 10 Okt 14:00 PO_20061006_103822_144.txt
Group:
ModificationTime: 01.01.1970 01:00:00
Name: -rw-r-----
Owner:
Permissions:
Size: 0
SizeHi: 0
Tag:
Type: 2


Do you have any ideas how this could be?

The welcome message shows this version of the ftp server: 220 dedoedw1 FTP server (Version 4.2 Fri Oct 7 19:22:01 CDT 2005) ready.

With other ftp tools (FileZilla, FTP from DOS Shell, WS FTP and FTP Voyager) I can see the file information without any problems.

Thanks,
Mike

Re: Problem with DirItems

by wodDamir, Wednesday, October 11, 2006, 12:14 (6618 days ago) @ IngramMicro

Hi Mike,

What Version of wodFtpDLX are you using? You can check it by retrieving the content of Version Property.

I.e. you can do something like this (VB6):
-------------------
MsgBox ftp1.Version
-------------------

Also, is there any way we could gain access to that server? If yes, you can send access information to techsupport@weonlydo.com

Regards,
Damba

Re: Problem with DirItems

by IngramMicro, Wednesday, October 11, 2006, 12:54 (6618 days ago) @ wodDamir

Hi Damba,

We have installed version 2.6.3.268

Sorry there is no way to get access to the server because it is in our internal network and has no internet access.

It is a default ftp server running on an IBM AIX system.

Re: Problem with DirItems

by wodDamir, Wednesday, October 11, 2006, 13:33 (6618 days ago) @ IngramMicro

Mike,

Since we cannot connect to your site, i have to ask you to send us a sample of your directory structure. We believe this is parsing problem, but in order to fix it we need to see how your directory structure looks like.

You can Call ListDir Method and send us the value that FileInfo argument (In ListItems Event) contains.

You can send it to us as an attachement to techsupport@weonlydo.com

Regards,
Damba