powered by
When creating a subdirectoy, all parent directories have to exist on the server.
wd_mkdir(req, directory)
TRUE on success, FALSE on failure (invisibly)
request handle obtained from wd_connect
wd_connect
directory path on server
if (FALSE) { # creates 'newdir' inside the subdirectory 'existing/directory' wd_mkdir(r, "existing/directory/newdir") }
Run the code above in your browser using DataLab