FTP client cannot Remove Directory

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2007
Posts: 10
Reputation: heav_yduty is an unknown quantity at this point 
Solved Threads: 0
heav_yduty heav_yduty is offline Offline
Newbie Poster

FTP client cannot Remove Directory

 
0
  #1
Nov 26th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC