ListDir on AS400 - WeOnlyDo Discussion board

ListDir on AS400 (wodSFTP / wodSFTP.NET / wodSFTPdll)

by tris, Thursday, May 03, 2007, 09:38 (6415 days ago)

Short question...

Is there a possibility to use the ListDir -function on an AS400?

That machine does not understand ls -al :


ftp> ls -al
200 PORT subcommand request successful.
550 Path does not exist: -al


Only possibility would be a dir , what is formated like this:

QLPINSTALL 12288 05.12.05 14:38:40 *DIR QSR/
QSYS 8192 23.03.05 12:24:50 *DIR var/
QSYS 40960 23.03.05 12:24:56 *DIR lib/
QSYS 8192 21.11.05 15:21:11 *DIR www/
QSYS 57344 23.03.05 12:19:31 *DIR bin/

If necessary, I could even parse it by myself, but how to send a dir?


Complete thread: