+1 vote

Hi
I'm trying to run the GetList command on VMS operating system but no results are obtained. I have tried List as well with the same results. I have removed some of the log entries because the length exceeds the maximum allowable for this question.

Here is the log information:

Thanks

Ftp.dll Information: 0 : 1 11:50:44 2.0.19002.942
Ftp.dll Information: 0 : 1 11:50:44 Checking if license file is present.
Ftp.dll Information: 0 : 1 11:50:44 License file present. Loading license file.
Ftp.dll Information: 0 : 1 11:50:44 License file loaded. Loading xml.
Ftp.dll Information: 0 : 1 11:50:44 Xml loaded. Getting public key.
Ftp.dll Information: 0 : 1 11:50:44 Public key acquired. Checking if license signature is valid.
Ftp.dll Information: 0 : 1 11:50:44 Signature valid. Checking if license xml file is valid.
Ftp.dll Information: 0 : 1 11:50:44 License xml file is valid. Checking if license is valid.
Ftp.dll Information: 0 : 1 11:50:44 License is valid. Checking if license is revoked.
Ftp.dll Information: 0 : 1 11:50:44 License status is valid.
Ftp.dll Information: 0 : 1 11:50:44 Connecting to 'xxxxxx:21', SSL: False.
Ftp.dll Information: 0 : 1 11:50:44 Control connection uses port: 56276 (219,212)
Ftp.dll Information: 0 : 1 11:50:44 S: 220 xxx.xxxs.com FTP Server (Version 5.4) Ready.
Ftp.dll Information: 0 : 1 11:50:44 C: USER xxx
Ftp.dll Information: 0 : 1 11:50:44 S: 331 Username xxx requires a Password
Ftp.dll Information: 0 : 1 11:50:44 C: PASS xxx
Ftp.dll Information: 0 : 1 11:50:44 S: 230 User logged in.
Ftp.dll Information: 0 : 1 11:50:44 C: FEAT
Ftp.dll Information: 0 : 1 11:50:44 S: 502 FEAT is unimplemented.
Ftp.dll Information: 0 : 1 11:50:44 C: CWD COSTING
Ftp.dll Information: 0 : 1 11:50:44 S: 250-CWD command successful.
Ftp.dll Information: 0 : 1 11:50:44 S: 250 New default directory is DISK$DATA1:[FTP.COSTING]
Ftp.dll Information: 0 : 1 11:50:44 C: TYPE A
Ftp.dll Information: 0 : 1 11:50:44 S: 200 TYPE set to ASCII.
Ftp.dll Information: 0 : 1 11:50:44 Binding to: 192.168.240.16:0
Ftp.dll Information: 0 : 1 11:50:44 Bound to: 192.168.240.16:0
Ftp.dll Information: 0 : 1 11:50:44 C: PORT 192,168,240,16,219,213
Ftp.dll Information: 0 : 1 11:50:44 S: 200 PORT command successful.
Ftp.dll Information: 0 : 1 11:50:44 C: LIST
Ftp.dll Information: 0 : 1 11:50:44 S: 150 Opening data connection for DISK$DATA1:[FTP.COSTING].;* (192.168.240.16,56277)
Ftp.dll Information: 0 : 1 11:50:44 Data connection established.
Ftp.dll Information: 0 : 1 11:50:45 S: 226 LIST Directory transfer complete.
Ftp.dll Information: 0 : 1 11:50:45 S:

Directory DISK$DATA1:[FTP.COSTING]

05HYS.TXT;1 4/275 25-SEP-2019 12:49:18 [FTP] (RWED,RWED,RE,)
ITEM04.CSV;4856 1406/1650 29-DEC-2020 05:16:05 [FTP] (RWED,RWED,RWED,RWED)
ITEM05.CSV;7125 4648/4675 16-MAY-2020 05:16:24 [FTP] (RWED,RWED,RWED,RWED)
ITEM06.CSV;4849 686/825 29-DEC-2020 05:17:08 [FTP] (RWED,RWED,RWED,RWED)
ITEM07.CSV;4850 871/1100 29-DEC-2020 05:17:31 [FTP] (RWED,RWED,RWED,RWED)
ITEM08.CSV;4847 987/1100 29-DEC-2020 05:17:54 [FTP] (RWED,RWED,RWED,RWED)
ITEM09.CSV;4850 1457/1650 29-DEC-2020 05:18:27 [FTP] (RWED,RWED,RWED,RWED)
ITEM10.CSV;4236 426/550 29-DEC-2020 05:19:02 [FTP] (RWED,RWED,RWED,RWED)
ITEM11.CSV;4851 1298/1375 29-DEC-2020 05:19:38 [FTP] (RWED,RWED,RWED,RWED)
ITEM15.CSV;781 145/275 29-DEC-2020 05:20:15 [FTP] (RWED,RWED,RWED,RWED)
ITEM17.CSV;1529 325/550 29-DEC-2020 05:19:57 [FTP] (RWED,RWED,RWED,RWED)
ITEM18.CSV;4841 313/550 29-DEC-2020 05:20:42 [FTP] (RWED,RWED,RWED,RWED)
ITM04.TXT;60 5289/5500 29-DEC-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;59 5289/5500 28-DEC-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;58 500/550 27-DEC-2020 03:19:34 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;57 5289/5500 25-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;56 5289/5500 24-DEC-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;55 5288/5500 23-DEC-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;54 5289/5500 22-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;53 5287/5500 21-DEC-2020 02:45:42 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;52 500/550 20-DEC-2020 03:19:43 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;51 5286/5500 18-DEC-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;50 5285/5500 17-DEC-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;49 5283/5500 16-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;48 5282/5500 15-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;47 5282/5500 14-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;46 499/550 13-DEC-2020 03:19:36 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;45 5280/5500 11-DEC-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;44 5277/5500 10-DEC-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;43 5275/5500 9-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;42 5272/5500 8-DEC-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;41 5266/5500 7-DEC-2020 02:45:42 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;40 498/550 6-DEC-2020 03:19:52 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;39 5259/5500 4-DEC-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;38 5258/5500 3-DEC-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;37 5258/5500 2-DEC-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;36 5258/5500 1-DEC-2020 02:45:48 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;35 5257/5500 30-NOV-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;34 497/550 29-NOV-2020 03:19:48 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;33 5257/5500 27-NOV-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;32 5256/5500 26-NOV-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;31 5256/5500 25-NOV-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;30 5255/5500 24-NOV-2020 02:45:43 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;29 5248/5500 23-NOV-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;28 496/550 22-NOV-2020 03:19:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;27 5234/5500 20-NOV-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;26 5229/5500 19-NOV-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;25 5228/5500 18-NOV-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;24 5221/5225 17-NOV-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;23 5221/5225 16-NOV-2020 02:45:42 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;22 494/550 15-NOV-2020 03:19:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;21 5217/5225 13-NOV-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;20 5216/5225 12-NOV-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;19 5216/5225 11-NOV-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;18 5214/5225 10-NOV-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;17 5212/5225 9-NOV-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;16 493/550 8-NOV-2020 03:19:55 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;15 5212/5225 6-NOV-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;14 5212/5225 5-NOV-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;13 5211/5225 4-NOV-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;12 5210/5225 3-NOV-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;11 5209/5225 2-NOV-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;10 493/550 1-NOV-2020 03:19:30 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;9 5209/5225 30-OCT-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;8 5207/5225 29-OCT-2020 02:45:40 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;7 5203/5225 28-OCT-2020 02:45:38 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;6 5203/5225 27-OCT-2020 02:45:39 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;5 5201/5225 26-OCT-2020 02:45:41 [1,1] (RWED,RWED,RE,RWED)
ITM04.TXT;4 492/550 25-OCT-2020 03:19:41 [1,1] (RWED,RWED,RE,RWED)

Total of 290 files, 670965/721325 blocks

Ftp.dll Information: 0 : 1 11:50:45 C: QUIT
Ftp.dll Information: 0 : 1 11:50:45 S: 221 Goodbye.

by
This is very unusual response.

Do you have a sample that contains folders as well?

You can contact us directly here:
https://www.limilabs.com/support

1 Answer

0 votes

This is a non-standard FTP server response.

Consider verifying if your server supports MLSD command (it is a replacement for the LIST command that is meant to standardize the format for directory listings):

List<FtpItem> entries = client.MLSD();

Alternatively you can use NLST command:

List<string> names = client.NLST();

We'll add support for VMS listings in the next release. Beta Ftp.dll version that supports it is already available.

by (268k points)
edited by
Latest Ftp.dll version contains this update.
...