if i try to create /folderA/folderB and folderA doesnt exist, i get error.
How can i create such folder?
if directory exists (folderA) and i try create it i get error
i tried to check if a folder exists using CheckFile (i couldnt fine CheckDirectory or such method) but it gives me error when i try to find if /folderA exists.
Any thoughts how can i solve this?
thanks
MakeDirectory problem
i forgot to mention this is related to SFTP component
i forgot to mention this is related to SFTP component
The possibility to create /folderA/folderB depends on your SFTP server, but most SFTP servers don't provide it.
You can check if the directory exists using the TScSFTPClient.OpenDirectory method. If the directory doesn't exist, this method will raise the corresponding error.
There is no other way to check if a directory exists using SFTP protocol.
You can check if the directory exists using the TScSFTPClient.OpenDirectory method. If the directory doesn't exist, this method will raise the corresponding error.
There is no other way to check if a directory exists using SFTP protocol.