SFTP: how to get information about link target (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Alexey Ischuk @, (1796 days ago)

Hi,

Could you please help me how to get information about link target? I found that I received answer from server I have no link target information. Is it a bug or I need to check some property? Basically, I need to get something like that:

lrwxrwxrwx 1 alex ustas 1 May 22 15:15 home -> /home

Where "home -> /home" is the information about link target.

Thank you

locked

SFTP: how to get information about link target

by Jasmine, (1796 days ago) @ Alexey Ischuk

Hi.

Did you try to use RealPath with that filename? It should return real filename (including path).

Regards,
Jasmine.

locked

SFTP: how to get information about link target

by Alexey Ischuk @, (1786 days ago) @ Jasmine

Hi Jasmine,

Thank you very much, it works.
With best regards,
Alexey

locked