Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.CreateSymLink

TElSimpleSFTPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Creates the new symbolic link on a server

Declaration

[C#]
    void CreateSymLink(string LinkPath, string TargetPath);

[VB.NET]
    Sub CreateSymLink(ByVal LinkPath As String, ByVal TargetPath As String)

[Pascal]
    procedure CreateSymLink(const LinkPath : string; const TargetPath : string);

[C++]
    void CreateSymLink(const std::string &LinkPath, const std::string &TargetPath);

[PHP]
    void CreateSymLink(string $LinkPath, string $TargetPath)

[Java]
    void createSymLink(String LinkPath, String TargetPath);

Parameters

  • LinkPath - specifies the name for a newly created symbolic link
  • TargetPath - specifies the target of symbolic link

Description

    Use this method to create symbolic links on a server side.
    In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.

See also:     CreateHardLink     ReadSymLink    

Discuss this help topic in SecureBlackbox Forum