| | |
FTP client cannot Remove Directory
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2007
Posts: 10
Reputation:
Solved Threads: 0
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
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
- Help designing an ftp client prompt. (C)
- Looking for good FTP client with compare/sync feature (IT Professionals' Lounge)
- URGENT: FTP Client / Server using RMI (Java)
- Cannot FTP with Windows XP with any client or to any server (Networking Hardware Configuration)
- FTP Error in Dreamweaver MX (Networking Hardware Configuration)
Other Threads in the C++ Forum
- Previous Thread: Question on non-void function
- Next Thread: help me..
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code compile compiler console conversion convert count data delete deploy dll download dynamic dynamiccharacterarray encryption error file format forms fstream function functions game givemetehcodez graph gui homeworkhelp iamthwee ifstream input int java lib library linkedlist linker list loop looping loops map math matrix memory microsoft newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template templates test text text-file tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets





