SFTP and ListDir - WeOnlyDo Discussion board

SFTP and ListDir (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Roman Borsuk, Friday, May 18, 2007, 16:21 (6210 days ago)

Hi,
When I try use SFTP protocol I see some differences with FTP.
Here results of executing ListDir:
SFTP: lrwxrwxrwx 1 roman roman 5 May 16 13:23 home
FTP: lrwxrwxrwx 1 roman roman 5 May 16 13:23 home -> /home
It is FullLine property of IDirItem object. As You can see in SFTP case no link target path. Is this component problem or SFTP protocol behaviour. ListParams set by default -al .
Can this problem be fixed?


Thanks, Roman

Re: SFTP and ListDir

by wodDamir, Friday, May 18, 2007, 17:14 (6210 days ago) @ Roman Borsuk

Hi Roman,

This isn't really a bug. The link target wasn't provided in SFTP Protocol, so it wasn't received by the component.

However, you can check if the file is a link by using the DirItem Type Property.

Can you explain what exactly are you trying to do? Maybe i could be more helpfull if you could provide me with some more information?

Regards,
Damba