Creating a remote directory |
You can create a remote directory on the server using the Sftp#makeDir method. The directory created is relative to your current remote directory. See Setting your remote directory for details.
Example
// create directory named images sftp.makeDir("images"); |