procedure CreateLink(const LinkPath, TargetPath: string; Symbolic: boolean = True);



Call the CreateLink method to create either hard or symbolic link on the server.

If the NonBlocking property is set to True, then control is returned at once and you can learn the result of the operation execution by handling the OnSuccess and OnError events.



LinkPath - specifies the path name of the new link to create.
TargetPath - specifies the path of an existing file system object to which the new-link-path will refer.
Symbolic - the link should be a symbolic link, or a special file that redirects file system parsing to the resulting path. If Symbolic is false, the link should be a hard link, or a second directory entry referring to the same file or directory object. This parameter is supported starting with the version 4 of the SFTP protocol.


See Also




SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support