Ftp Object : MakeDirectory Method |
Visual Basic |
---|
Public Sub MakeDirectory( _ ByVal PathName As String _ ) |
Sends the ftpMakeDirectory command.
If Timeout is greater than 0, MakeDirectory blocks until a reply is received from the server or a ptTimeout error occurs. If Timeout is 0, MakeDirectory immediately returns and the Progress event fires with FtpCmd = ftpMakeDirectory when the reply is received.
This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):