This method will create directory on remote server, if
possible. Once completed, Done event will
be fired. If no error occurs, ErrorCode argument in Done event will be set to
0 (zero). If error occurred, ErrorCode will hold number for the error, and
ErrorText will contain description
for the error.
By definition, you should not expect from server to
create directories recursively. In other words, if you
specify something like
for RemotePath, and
does not exist - most probably you will get an error
from the server. However - it is possible that some
server-side implementations also support this feature.
No wildcards can be used for RemotePath argument. RFC protocol
specifications for FTP or SFTP do not allow them.
Do not forget that RemotePath should always
specify full absolute path (i.e. /home/joe/something) instead of
relative path (i.e. joe/something).