@@ -1617,6 +1617,10 @@ void MainWindow::handleJobErrorFinished(ArchiveJob::JobType eJobType, ErrorType
16171617 case ET_ExistVolume:
16181618 showErrorMessage (FI_Compress, EI_ExistVolume, true );
16191619 break ;
1620+ // ftp目录不支持seek操作
1621+ case ET_FileSeekError:
1622+ showErrorMessage (FI_Compress, EI_FileSeekError, true );
1623+ break ;
16201624 default : {
16211625 showErrorMessage (FI_Compress, EI_CreatArchiveFailed, true );
16221626 break ;
@@ -1672,6 +1676,10 @@ void MainWindow::handleJobErrorFinished(ArchiveJob::JobType eJobType, ErrorType
16721676 case ET_WrongPassword:
16731677 showErrorMessage (FI_Load, EI_WrongPassword);
16741678 break ;
1679+ // ftp目录不支持seek操作
1680+ case ET_FileSeekError:
1681+ showErrorMessage (FI_Load, EI_FileSeekError);
1682+ break ;
16751683 default :
16761684 showErrorMessage (FI_Load, EI_ArchiveDamaged);
16771685 break ;
@@ -1758,6 +1766,10 @@ void MainWindow::handleJobErrorFinished(ArchiveJob::JobType eJobType, ErrorType
17581766 !(StartupType::ST_ExtractHere == m_eStartupType || StartupType::ST_Extractto == m_eStartupType));
17591767 break ;
17601768 }
1769+ // ftp目录不支持seek操作
1770+ case ET_FileSeekError:
1771+ showErrorMessage (FI_Uncompress, EI_FileSeekError);
1772+ break ;
17611773 case ET_PluginError: {
17621774 // 无可用插件
17631775 showErrorMessage (FI_Uncompress, EI_NoPlugin);
@@ -2101,6 +2113,10 @@ void MainWindow::showErrorMessage(FailureInfo fFailureInfo, ErrorInfo eErrorInfo
21012113 m_pFailurePage->setFailureDetail (tr (" The compressed volumes already exist" ));
21022114 }
21032115 break ;
2116+ case EI_FileSeekError: {
2117+ m_pFailurePage->setFailureDetail (tr (" No compression support in current directory. Download the files to a local device." ));
2118+ }
2119+ break ;
21042120 default :
21052121 break ;
21062122 }
@@ -2127,6 +2143,10 @@ void MainWindow::showErrorMessage(FailureInfo fFailureInfo, ErrorInfo eErrorInfo
21272143 m_pFailurePage->setFailureDetail (tr (" Some volumes are missing" ));
21282144 }
21292145 break ;
2146+ case EI_FileSeekError: {
2147+ m_pFailurePage->setFailureDetail (tr (" Can't open compressed packages in current directory. Download the compressed package to a local device." ));
2148+ }
2149+ break ;
21302150 default :
21312151 break ;
21322152 }
@@ -2168,6 +2188,10 @@ void MainWindow::showErrorMessage(FailureInfo fFailureInfo, ErrorInfo eErrorInfo
21682188 m_pFailurePage->setFailureDetail (tr (" Insufficient disk space" ));
21692189 }
21702190 break ;
2191+ case EI_FileSeekError: {
2192+ m_pFailurePage->setFailureDetail (tr (" No extraction support in current directory. Download the compressed package to a local device." ));
2193+ }
2194+ break ;
21712195 default :
21722196 break ;
21732197 }
0 commit comments