mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
- bunch of bugfixes for FTP file transfer:
- failed attempts should now properly cleanup partial downloaded files - better logging and resource usage to track down problems
This commit is contained in:
@@ -112,6 +112,7 @@ bool isdir(const char *path);
|
||||
void findDirs(const vector<string> &paths, vector<string> &results, bool errorOnNotFound=false,bool keepDuplicates=false);
|
||||
void findAll(const vector<string> &paths, const string &fileFilter, vector<string> &results, bool cutExtension=false, bool errorOnNotFound=true,bool keepDuplicates=false);
|
||||
void findAll(const string &path, vector<string> &results, bool cutExtension=false, bool errorOnNotFound=true);
|
||||
vector<string> getFolderTreeContentsListRecursively(const string &path, const string &filterFileExt, bool includeFolders=false, vector<string> *recursiveMap=NULL);
|
||||
|
||||
int32 getFolderTreeContentsCheckSumRecursively(vector<string> paths, string pathSearchString, const string filterFileExt, Checksum *recursiveChecksum);
|
||||
int32 getFolderTreeContentsCheckSumRecursively(const string &path, const string &filterFileExt, Checksum *recursiveChecksum);
|
||||
|
@@ -27,9 +27,10 @@ namespace Shared { namespace PlatformCommon {
|
||||
// =====================================================
|
||||
|
||||
enum FTP_Client_ResultType {
|
||||
ftp_crt_SUCCESS = 0,
|
||||
ftp_crt_FAIL = 1,
|
||||
ftp_crt_ABORTED = 2
|
||||
ftp_crt_SUCCESS = 0,
|
||||
ftp_crt_PARTIALFAIL = 1,
|
||||
ftp_crt_FAIL = 2,
|
||||
ftp_crt_ABORTED = 3
|
||||
};
|
||||
|
||||
enum FTP_Client_CallbackType {
|
||||
|
Reference in New Issue
Block a user