Question:
Hello,
i have a working sftp connection to the server. When i try to create the directory
sftp.CreateDir('/SYM/B')
it fails.
I am able to connect via console remotely and create the directory, if a follow these steps:
1. connect
2. cd 'SYM'
3. mkdir 'B'
whereas:
1. connect
2. mkdir 'SYM/B'
fails. which is the correct way to achieve a successful creation of the directory with the component?
ChilkatLog:
CreateDir:
DllDate: Dec 27 2016
ChilkatVersion: 9.5.0.65
UnlockPrefix: AVLCOMSSH
Architecture: Little Endian; 64-bit
Language: .NET 4.6 / x64
VerboseLogging: 0
SshVersion: SSH-1.99-Data ONTAP SSH 1.0
SftpVersion: 3
createDir:
path: /creta/TestFolder_20170522_142126/
StatusResponseFromServer:
Request: FXP_MKDIR
InformationReceivedFromServer:
StatusCode: 4
StatusMessage: Failure
--InformationReceivedFromServer
--StatusResponseFromServer
--createDir
Failed.
--CreateDir
--ChilkatLog
I got it to work with simply removing the first '/':
sftp.CreateDir('SYM/B')
There is no ChangeRemoteDir for SFTP