SFTP: Create and manage symbolic and hard links
Note that hard link creation functionality appeared in SFTP Version 6.
To find out that a directory entry is a link, inspect the attributes of the entry obtained during directory listing.
To get the information about the entry referenced by the symbolic link use ReadSymLink() method.
To delete the links use regular file deletion commands.
The above methods are synchronous and return when the operation is completed.
For information about error handling, see the corresponding how-to article.