MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / MakeDirectory

Method MakeDirectory

deps/FtpClient/FTPClient.cpp:1600–1607  ·  view source on GitHub ↗

Executes the FTP command MKD (MAKE DIRECTORY) This command causes the directory specified in the pathname to be created as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative). @pararm[in] strDirectory Pathname specifying a directory to be created. @return see return values of CFTPClient::SimpleErrorCheck

Source from the content-addressed store, hash-verified

1598/// @pararm[in] strDirectory Pathname specifying a directory to be created.
1599/// @return see return values of CFTPClient::SimpleErrorCheck
1600int CFTPClient::MakeDirectory(const tstring& strDirectory) const
1601{
1602 ASSERT( !strDirectory.empty() );
1603 CReply Reply;
1604 if( !SendCommand(CCommand::MKD(), strDirectory, Reply) )
1605 return FTP_ERROR;
1606 return SimpleErrorCheck(Reply);
1607}
1608
1609/// Executes the FTP command SITE (SITE PARAMETERS)
1610/// This command is used by the server to provide services specific to his

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected