Hi!
I made a FTP client. And I want to add a handler to remove directory from FTP server
I got one, which removes files, but I don't know how to remove directory
I got this to remove files
void CInetFTPDlg::OnBremove()
{
UpdateData(true);
if (m_sFile != "")
{
m_fcConnection->Remove(m_sFile);
UpdateData(false);
LoadListOfFiles();
}
}
and use
m_fcConnection->RemoveDirectory(m_sFile);
to remove directory, but nothig works, I know that directory should be empty.
Maybe somebody can help&
thank you