The MakeDirectory method creates a new directory on the
remote host. Note that you must have the appropriate permission to
create a directory or an error will occur.
- RemotePath
- A string that specifies the name of the directory to create on
the server. The naming and pathing conventions used for the
directory must be compatible with what is used on the operating
system that hosts the server.
Servers may not support creating multiple subdirectories in a
single call, so applications should not assume that this can be
done. For example, an error may be returned by the server if the
new directory name "/Projects/Today" is specified, but the
"/Projects" directory does not already exist.
It is also important to note that files and directories on UNIX
based systems are case sensistive, so the directory names
"Projects" and "projects" refer to two different directories. This
is not the case on Windows systems, where either name would refer
to the same directory.