19 lines
798 B
C++
19 lines
798 B
C++
#pragma once
|
|
|
|
class FileUtil
|
|
{
|
|
public:
|
|
FileUtil(void);
|
|
~FileUtil(void);
|
|
|
|
public:
|
|
static BOOL GetSplitFilePath( const TCHAR* pszFilePath, OUT TCHAR* pszDir, WORD wDirSize, OUT TCHAR* pszFile, WORD wFileSize );
|
|
static VOID GetParentDirectory( const TCHAR* pszChildPath, OUT TCHAR* pszParentPath, int nSize );
|
|
static VOID FTPGetParentDirectory( const TCHAR* pszChildPath, OUT TCHAR* pszParentPath, int nSize );
|
|
static VOID FTPGetParentDirectoryEx(const TCHAR* pszChildPath, OUT TCHAR* pszParentPath, int nSize);
|
|
static BOOL GetLastDirectoryName( const TCHAR* pszFilePath, OUT TCHAR* pszLastDirName, WORD wDirSize );
|
|
static BOOL CopyFoler( const TCHAR* pszFrom, const TCHAR* pszTo );
|
|
static BOOL DeleteFoler( const TCHAR* pszPath );
|
|
static void CreteFolder( const TCHAR* pszFoletPath );
|
|
};
|