Problem with DirItems - WeOnlyDo Discussion board

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

by IngramMicro, Wednesday, October 11, 2006, 09:20 (6428 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


Complete thread: