|
|
@ -88,9 +88,9 @@ void CClientMgr::SendCmd_TransFile(CString filePath)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CopyFile(filePath, NewFilePath, false);
|
|
|
|
CopyFile(filePath, NewFilePath, false);
|
|
|
|
CopyFile(parFile, NewParFilePath, false);
|
|
|
|
//CopyFile(parFile, NewParFilePath, false);
|
|
|
|
CopyFile(areFile, NewAreFilePath, false);
|
|
|
|
//CopyFile(areFile, NewAreFilePath, false);
|
|
|
|
CopyFile(PIFile, NewPIFilePath, false);
|
|
|
|
//CopyFile(PIFile, NewPIFilePath, false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -98,12 +98,12 @@ void CClientMgr::SendCmd_OpenFile(CString filePath)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
SendCmd_TransFile(filePath);
|
|
|
|
SendCmd_TransFile(filePath);
|
|
|
|
Sleep(100);
|
|
|
|
/*Sleep(100);
|
|
|
|
if (Connect2Server())
|
|
|
|
if (Connect2Server())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CString str = "OPEN_FILE;" + filePath;
|
|
|
|
CString str = "OPEN_FILE;" + filePath;
|
|
|
|
Send(str, str.GetLength());
|
|
|
|
Send(str, str.GetLength());
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|