Hello,
I encounter a case with a "Maverick SSHD 1.7.32 (0) by JADAPTIVE Limited" Server software:
With a recent operating system, no problem, but with a Windows 7 or 2008 R2 generation OS, it's impossible to list the contents of a folder.
Windows 2008 R2
. 2024-11-29 10:05:15.183 Using SFTP protocol.
. 2024-11-29 10:05:15.183 Doing startup conversation with host.
< 2024-11-29 10:05:15.183 Script: Starting the session...
> 2024-11-29 10:05:15.183 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2024-11-29 10:05:15.215 Type: SSH_FXP_VERSION, Size: 94, Number: -1
. 2024-11-29 10:05:15.215 SFTP version 4 negotiated.
. 2024-11-29 10:05:15.215 Server requests EOL sequence "\n".
. 2024-11-29 10:05:15.215 Server software: Maverick SSHD 1.7.32 (0) by JADAPTIVE Limited
. 2024-11-29 10:05:15.215 We will use UTF-8 strings as it is mandatory with SFTP version 4 and newer
> 2024-11-29 10:05:15.215 Type: SSH_FXP_EXTENDED, Size: 63, Number: 200
. 2024-11-29 10:05:15.215 Changing directory to "/FOLDER".
. 2024-11-29 10:05:15.215 Getting real path for '/FOLDER'
> 2024-11-29 10:05:15.215 Type: SSH_FXP_REALPATH, Size: 16, Number: 272
< 2024-11-29 10:05:15.246 Type: SSH_FXP_STATUS, Size: 64, Number: 200
. 2024-11-29 10:05:15.246 Discarding reserved response
< 2024-11-29 10:05:15.277 Type: SSH_FXP_NAME, Size: 67, Number: 272
. 2024-11-29 10:05:15.277 Real path is '/FOLDER'
. 2024-11-29 10:05:15.277 Trying to open directory "/FOLDER".
> 2024-11-29 10:05:15.277 Type: SSH_FXP_LSTAT, Size: 20, Number: 519
< 2024-11-29 10:05:15.436 Type: SSH_FXP_ATTRS, Size: 52, Number: 519
. 2024-11-29 10:05:15.436 Getting current directory name.
. 2024-11-29 10:05:15.436 Startup conversation with host finished.
< 2024-11-29 10:05:15.436 Script: Session started.
< 2024-11-29 10:05:15.436 Script: Active session: [1] test
> 2024-11-29 10:05:15.436 Script: ls /FOLDER/
. 2024-11-29 10:05:15.436 Listing directory "/FOLDER".
> 2024-11-29 10:05:15.436 Type: SSH_FXP_OPENDIR, Size: 16, Number: 779
< 2024-11-29 10:05:15.468 Type: SSH_FXP_HANDLE, Size: 10, Number: 779
> 2024-11-29 10:05:15.468 Type: SSH_FXP_READDIR, Size: 10, Number: 1036
< 2024-11-29 10:05:15.501 Type: SSH_FXP_STATUS, Size: 51, Number: 1036
< 2024-11-29 10:05:15.501 Status code: 1
. 2024-11-29 10:05:15.501 Listing file "/FOLDER/..".
> 2024-11-29 10:05:15.501 Type: SSH_FXP_LSTAT, Size: 23, Number: 1287
< 2024-11-29 10:05:15.642 Type: SSH_FXP_ATTRS, Size: 52, Number: 1287
. 2024-11-29 10:05:15.642 ..;D;0;2024-11-29T09:05:15.000Z;4;"300" [0];"100" [0];rwx------;0
> 2024-11-29 10:05:15.642 Type: SSH_FXP_CLOSE, Size: 10, Number: 1540
. 2024-11-29 10:05:15.642 ..;D;0;2024-11-29T09:05:15.000Z;4;"300" [0];"100" [0];rwx------;0
< 2024-11-29 10:05:15.642 Script: Drwx------ 0 300 100 1024 Nov 29 10:05:15 2024 ..
> 2024-11-29 10:05:15.642 Script: close
. 2024-11-29 10:05:15.642 Closing connection.
. 2024-11-29 10:05:15.642 Sending special code: 1
. 2024-11-29 10:05:16.033 Session sent command exit status 0
. 2024-11-29 10:05:16.033 Main session channel closed
. 2024-11-29 10:05:16.033 All channels closed
With Windows 11
. 2024-11-29 10:08:44.878 Using SFTP protocol.
. 2024-11-29 10:08:44.879 Doing startup conversation with host.
< 2024-11-29 10:08:44.879 Script: Starting the session...
> 2024-11-29 10:08:44.880 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2024-11-29 10:08:44.915 Type: SSH_FXP_VERSION, Size: 94, Number: -1
. 2024-11-29 10:08:44.915 SFTP version 4 negotiated.
. 2024-11-29 10:08:44.915 Server requests EOL sequence "\n".
. 2024-11-29 10:08:44.915 Server software: Maverick SSHD 1.7.32 (0) by JADAPTIVE Limited
. 2024-11-29 10:08:44.915 We will use UTF-8 strings as it is mandatory with SFTP version 4 and newer
> 2024-11-29 10:08:44.915 Type: SSH_FXP_EXTENDED, Size: 63, Number: 200
. 2024-11-29 10:08:44.915 Changing directory to "/FOLDER".
. 2024-11-29 10:08:44.915 Getting real path for '/FOLDER'
> 2024-11-29 10:08:44.915 Type: SSH_FXP_REALPATH, Size: 16, Number: 272
< 2024-11-29 10:08:44.951 Type: SSH_FXP_STATUS, Size: 64, Number: 200
. 2024-11-29 10:08:44.951 Discarding reserved response
< 2024-11-29 10:08:44.954 Type: SSH_FXP_NAME, Size: 67, Number: 272
. 2024-11-29 10:08:44.954 Real path is '/FOLDER'
. 2024-11-29 10:08:44.954 Trying to open directory "/FOLDER".
> 2024-11-29 10:08:44.955 Type: SSH_FXP_LSTAT, Size: 20, Number: 519
< 2024-11-29 10:08:44.998 Type: SSH_FXP_ATTRS, Size: 52, Number: 519
. 2024-11-29 10:08:44.998 Getting current directory name.
. 2024-11-29 10:08:44.998 Startup conversation with host finished.
< 2024-11-29 10:08:44.999 Script: Session started.
< 2024-11-29 10:08:44.999 Script: Active session: [1] test
> 2024-11-29 10:08:44.999 Script: ls /FOLDER/
. 2024-11-29 10:08:44.999 Listing directory "/FOLDER".
> 2024-11-29 10:08:44.999 Type: SSH_FXP_OPENDIR, Size: 16, Number: 779
< 2024-11-29 10:08:45.038 Type: SSH_FXP_HANDLE, Size: 10, Number: 779
> 2024-11-29 10:08:45.038 Type: SSH_FXP_READDIR, Size: 10, Number: 1036
< 2024-11-29 10:08:45.077 Type: SSH_FXP_NAME, Size: 1007, Number: 1036
> 2024-11-29 10:08:45.077 Type: SSH_FXP_READDIR, Size: 10, Number: 1292
< 2024-11-29 10:08:45.113 Type: SSH_FXP_STATUS, Size: 51, Number: 1292
< 2024-11-29 10:08:45.113 Status code: 1
> 2024-11-29 10:08:45.113 Type: SSH_FXP_CLOSE, Size: 10, Number: 1540
. 2024-11-29 10:08:45.113 REPORT_1122180505026;-;885;2024-11-25T11:00:55.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1122140940887.txt;-;4184;2024-11-25T11:11:58.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1125142234357;-;433;2024-11-25T13:22:34.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1125181619062;-;455;2024-11-25T17:16:19.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1126040723661;-;873;2024-11-26T03:07:24.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1126070334520;-;664;2024-11-26T06:03:34.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1126141038675;-;1497;2024-11-26T13:10:39.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1126180721041;-;466;2024-11-26T17:07:21.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1127140738280;-;433;2024-11-27T13:07:38.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1127180513383;-;433;2024-11-27T17:05:13.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1128040540801;-;1082;2024-11-28T03:05:41.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1128070309178;-;664;2024-11-28T06:03:09.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1128140844279;-;1717;2024-11-28T13:08:44.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 REPORT_1128180630066;-;466;2024-11-28T17:06:30.000Z;4;"200" [0];"100" [0];rw-------;0
. 2024-11-29 10:08:45.113 ..;D;0;1899-12-30T01:00:00.000Z;0;"" [0];"" [0];---------;0
< 2024-11-29 10:08:45.113 Script: -rw------- 0 200 100 885 Nov 25 12:00:55 2024 REPORT_1122180505026
< 2024-11-29 10:08:45.114 Script: -rw------- 0 200 100 4184 Nov 25 12:11:58 2024 REPORT_1122140940887.txt
< 2024-11-29 10:08:45.114 Script: -rw------- 0 200 100 433 Nov 25 14:22:34 2024 REPORT_1125142234357
< 2024-11-29 10:08:45.115 Script: -rw------- 0 200 100 455 Nov 25 18:16:19 2024 REPORT_1125181619062
< 2024-11-29 10:08:45.115 Script: -rw------- 0 200 100 873 Nov 26 4:07:24 2024 REPORT_1126040723661
< 2024-11-29 10:08:45.115 Script: -rw------- 0 200 100 664 Nov 26 7:03:34 2024 REPORT_1126070334520
< 2024-11-29 10:08:45.115 Script: -rw------- 0 200 100 1497 Nov 26 14:10:39 2024 REPORT_1126141038675
< 2024-11-29 10:08:45.115 Script: -rw------- 0 200 100 466 Nov 26 18:07:21 2024 REPORT_1126180721041
< 2024-11-29 10:08:45.116 Script: -rw------- 0 200 100 433 Nov 27 14:07:38 2024 REPORT_1127140738280
< 2024-11-29 10:08:45.116 Script: -rw------- 0 200 100 433 Nov 27 18:05:13 2024 REPORT_1127180513383
< 2024-11-29 10:08:45.116 Script: -rw------- 0 200 100 1082 Nov 28 4:05:41 2024 REPORT_1128040540801
< 2024-11-29 10:08:45.116 Script: -rw------- 0 200 100 664 Nov 28 7:03:09 2024 REPORT_1128070309178
< 2024-11-29 10:08:45.116 Script: -rw------- 0 200 100 1717 Nov 28 14:08:44 2024 REPORT_1128140844279
< 2024-11-29 10:08:45.116 Script: -rw------- 0 200 100 466 Nov 28 18:06:30 2024 REPORT_1128180630066
< 2024-11-29 10:08:45.116 Script: D--------- 0 0 ..
> 2024-11-29 10:08:45.116 Script: close
. 2024-11-29 10:08:45.116 Closing connection.
. 2024-11-29 10:08:45.116 Sending special code: 1
. 2024-11-29 10:08:45.244 Session sent command exit status 0
. 2024-11-29 10:08:45.244 Main session channel closed
. 2024-11-29 10:08:45.244 All channels closed
I think the problem is with the operating system because I have the same problem with other SFTP clients but I don't understand why.
Could you give me an idea?
Best regards