@@ -1808,6 +1808,10 @@ void MainWindow::handleJobErrorFinished(ArchiveJob::JobType eJobType, ErrorType
18081808 case ET_ExistVolume:
18091809 showErrorMessage (FI_Compress, EI_ExistVolume, true );
18101810 break ;
1811+ // ftp目录不支持seek操作
1812+ case ET_FileSeekError:
1813+ showErrorMessage (FI_Compress, EI_FileSeekError, true );
1814+ break ;
18111815 default : {
18121816 showErrorMessage (FI_Compress, EI_CreatArchiveFailed, true );
18131817 break ;
@@ -1863,6 +1867,10 @@ void MainWindow::handleJobErrorFinished(ArchiveJob::JobType eJobType, ErrorType
18631867 case ET_WrongPassword:
18641868 showErrorMessage (FI_Load, EI_WrongPassword);
18651869 break ;
1870+ // ftp目录不支持seek操作
1871+ case ET_FileSeekError:
1872+ showErrorMessage (FI_Load, EI_FileSeekError);
1873+ break ;
18661874 default :
18671875 showErrorMessage (FI_Load, EI_ArchiveDamaged);
18681876 break ;
@@ -1949,6 +1957,10 @@ void MainWindow::handleJobErrorFinished(ArchiveJob::JobType eJobType, ErrorType
19491957 !(StartupType::ST_ExtractHere == m_eStartupType || StartupType::ST_Extractto == m_eStartupType));
19501958 break ;
19511959 }
1960+ // ftp目录不支持seek操作
1961+ case ET_FileSeekError:
1962+ showErrorMessage (FI_Uncompress, EI_FileSeekError);
1963+ break ;
19521964 case ET_PluginError: {
19531965 // 无可用插件
19541966 showErrorMessage (FI_Uncompress, EI_NoPlugin);
@@ -2317,6 +2329,10 @@ void MainWindow::showErrorMessage(FailureInfo fFailureInfo, ErrorInfo eErrorInfo
23172329 m_pFailurePage->setFailureDetail (tr (" The compressed volumes already exist" ));
23182330 }
23192331 break ;
2332+ case EI_FileSeekError: {
2333+ m_pFailurePage->setFailureDetail (tr (" No compression support in current directory. Download the files to a local device." ));
2334+ }
2335+ break ;
23202336 default :
23212337 break ;
23222338 }
@@ -2343,6 +2359,10 @@ void MainWindow::showErrorMessage(FailureInfo fFailureInfo, ErrorInfo eErrorInfo
23432359 m_pFailurePage->setFailureDetail (tr (" Some volumes are missing" ));
23442360 }
23452361 break ;
2362+ case EI_FileSeekError: {
2363+ m_pFailurePage->setFailureDetail (tr (" Can't open compressed packages in current directory. Download the compressed package to a local device." ));
2364+ }
2365+ break ;
23462366 default :
23472367 break ;
23482368 }
@@ -2384,6 +2404,10 @@ void MainWindow::showErrorMessage(FailureInfo fFailureInfo, ErrorInfo eErrorInfo
23842404 m_pFailurePage->setFailureDetail (tr (" Insufficient disk space" ));
23852405 }
23862406 break ;
2407+ case EI_FileSeekError: {
2408+ m_pFailurePage->setFailureDetail (tr (" No extraction support in current directory. Download the compressed package to a local device." ));
2409+ }
2410+ break ;
23872411 default :
23882412 break ;
23892413 }
0 commit comments