m_pNextInfo = new WIN32_FIND_DATA; m_bGotLast = FALSE; if (pstrName == NULL) pstrName = _T("*"); lstrcpy(((LPWIN32_FIND_DATA) m_pNextInfo)->cFileName, pstrName); m_hContext = FtpFindFirstFile((HINTERNET) *m_pConnection, pstrName, (LPWIN32_FIND_DATA) m_pNextInfo, dwFlags, m_dwContext); // FILETIME* pTimeStamp;SYSTEMTIME& st,ct; *pTimeStamp = (FILETIME)((LPWIN32_FIND_DATA) m_pNextInfo)->ftCreationTime); FileTimeToSystemTime(*pTimeStamp,&st); GetSystemTime(&ct); if(st.wMonth==ct.wMonth) return false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)