64,654
社区成员
发帖
与我相关
我的任务
分享
m_strClientFile.TrimLeft();
m_strClientFile.TrimRight();
m_strSvrFileName.TrimLeft();
m_strSvrFileName.TrimRight();
if (m_pFtpConnection)
{
if (!m_pFtpConnection->GetFile("C:\\ftp.wcdj.com\\wcdj\\"+m_strSvrFileName,m_strClientFile))
{
MessageBox("fail to download!");
}
else
{
MessageBox("download successfully!");
}
}
else
{
MessageBox("have not connected to ftp server yet!");
}