void ParseURL(const CString &url_, CString &server, CString &filepath, CString &filename)
{
int n;
CString url = url_;
if (url.Left(7) == "http://")
url = url.Mid(7);
n = url.Find('/');
server = url.Left(n);
filepath = url.Mid(n);
n = filepath.ReverseFind('/');
filename = filepath.Right(filepath.GetLength()-(n+1));
}