Question:
Hi,
I can do sftp.CreateDir('A') to create folder 'A' successfully.
However, I want to use sftp.CreateDir('A/B/C/D') to create 'A/B/C/D' these 4 folders in one time, which A, B, C, D folders are not existed yet. But failed. So I am wondering, how I can achieve this operation?
thanks
Sam
If none of the folders exist, you would have to first create "A", then "A/B", then "A/B/C", and finally "A/B/C/D".
So there is no other function can create 4 subfolders in one time?