C++builder中使用ICS中的FTPCLIENT问题
请问我连接上FTP以后是如何获取根目录的呢?如何切换目录?
FtpClient1->HostName = PMS_FtpLogin->EditHost->Text; FtpClient1->Port = StrToInt(PMS_FtpLogin->EditPort->Text); if (PMS_FtpLogin->CheckBox1->Checked) { //匿名 FtpClient1->UserName ="anonymouse"; } else { FtpClient1->UserName =PMS_FtpLogin->EditUser->Text; } FtpClient1->Binary = PMS_FtpLogin->cbBinary->Checked; FtpClient1->DisplayFileFlag = PMS_FtpLogin->cbDisplay->Checked; FtpClient1->PassWord = PMS_FtpLogin->EditPass->Text; FtpClient1->OnDisplay = Display; ExecuteCmd(FtpClient1->Connect, FtpClient1->ConnectAsync);