Property FollowSymbolicLinks
FollowSymbolicLinks
In a recursive listing, enter symbolic links that lead to directories (default false: links are listed, described by their own attributes, and not entered). Each link costs two extra round trips (its target's attributes, and its real path); a dangling link, or one whose target cannot be looked at, is listed and not entered. A link back to a directory the listing is already inside (a loop) is not entered.
public bool FollowSymbolicLinks { get; init; }
Property Value
Remarks
Loops are recognized by the real path the server resolves the link to (SSH_FXP_REALPATH). OpenSSH resolves links there; a server that does not leaves a loop to be stopped by MaxDepth. Links may lead anywhere the server lets this user see, outside the directory listed.