On the server exists:
- file: /Test1/WebVersionInfo.txt
- folder: /Test2/
The CreateLink command is defined as:
Code: Select all
myClient.CreateLink('/Test2/WebVersionInfo.txt' , '/Test1/WebVersionInfo.txt')
This throw exception, I receive in OnError:
- Operation: opCreatingLink
- FileName: /Test2/WebVersionInfo.txt
- ErrorCode: 4
- ErrorMessage: Failure
What is here wrong?
I can create the link with WinSCP without problem.