944,124 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1099
  • C++ RSS
Nov 26th, 2007
0

FTP client cannot Remove Directory

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
heav_yduty is offline Offline
10 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Question on non-void function
Next Thread in C++ Forum Timeline: help me..





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC