diff --git a/lib/view/page/storage/sftp_mission.dart b/lib/view/page/storage/sftp_mission.dart
index f4994cb03..67490fd2c 100644
--- a/lib/view/page/storage/sftp_mission.dart
+++ b/lib/view/page/storage/sftp_mission.dart
@@ -113,7 +113,7 @@ class _SftpMissionPageState extends State<SftpMissionPage> {
       children: [
         IconButton(
           onPressed: () {
-            final idx = status.req.localPath.lastIndexOf('/');
+            final idx = status.req.localPath.lastIndexOf(Pfs.seperator);
             final dir = status.req.localPath.substring(0, idx);
             LocalFilePage.route.go(
               context,