我要实现服务器把一个文件传到客户机上。
我从客户端发了一个文件名到服务器上,
CFile myFile;
if(!myFile.Open(filename,CFile::modeRead | CFile::typeBinary))
{
   AfxMessageBox("文件不存在!",MB_OK|MB_ICONERROR);
   return;

为什么无论filename所指示的文件存不存在运行时都说不存在,我直接把filename换成文件路径例如e:\example.doc还是说不存在,怎么回事?