没有函数就自己加
假设指定的文件夹为:“C:/Documents and Settings/All Users/桌面/”
LocalPath=”C:/Documents and Settings/All Users/桌面/“
QFile *pFile;
getFile(const QString& remoteFileName,QString localFileName,QString localPath)
{
QString strFullName=localPath +localFileName ;
pFile = new QFile(strFullName);
ftp->get( remoteFileName , pFile );
}