Index: src/libchcore/TSubTaskFastMove.cpp =================================================================== diff -u -rcdc76e1a95383dff63a5254aeb8d37035028512c -r9ebcc7abf1e0e70f0db2d08b2691351a26ef259b --- src/libchcore/TSubTaskFastMove.cpp (.../TSubTaskFastMove.cpp) (revision cdc76e1a95383dff63a5254aeb8d37035028512c) +++ src/libchcore/TSubTaskFastMove.cpp (.../TSubTaskFastMove.cpp) (revision 9ebcc7abf1e0e70f0db2d08b2691351a26ef259b) @@ -69,6 +69,7 @@ const TConfig& rConfig = GetContext().GetConfig(); TSmartPath pathDestination = GetContext().GetDestinationPath(); const TFileFiltersArray& rafFilters = GetContext().GetFilters(); + IFilesystemPtr spFilesystem = GetContext().GetLocalFilesystem(); rLog.logi(_T("Performing initial fast-move operation...")); @@ -120,7 +121,7 @@ bRetry = false; // read attributes of src file/folder - bool bExists = TLocalFilesystem::GetFileInfo(pathCurrent, spFileInfo, spBasePath); + bool bExists = spFilesystem->GetFileInfo(pathCurrent, spFileInfo, spBasePath); if(!bExists) { EFeedbackResult frResult = spFeedbackHandler->FileError(pathCurrent.ToWString(), TString(), EFileError::eFastMoveError, ERROR_FILE_NOT_FOUND); @@ -166,7 +167,7 @@ { TSmartPath pathDestinationPath = CalculateDestinationPath(spFileInfo, pathDestination, 0); TSmartPath pathSrc = spBasePath->GetSrcPath(); - bResult = TLocalFilesystem::FastMove(pathSrc, pathDestinationPath); + bResult = spFilesystem->FastMove(pathSrc, pathDestinationPath); if(!bResult) { DWORD dwLastError = GetLastError();