Re: ListDir on AS400 - WeOnlyDo Discussion board

Re: ListDir on AS400 (General questions)

by Everett, Tuesday, July 13, 2010, 21:27 (5247 days ago) @ wodDamir

Thanks!

When setting the DirFormat to AS400 is it no longer necessary to set ListParams to an empty string (instead of the default -al ) or send the QUOTE SITE NAMEFMT 1 command? I've seen both of these workarounds listed elsewhere in the forums for calling ListDir and accessing DirItems on an AS400.

I've also been testing setting the DirFormat to a value that doesn't match the server, but it doesn't appear to affect the behavior (e.g. DirFormat set to AS400 and connect to a UNIX ftp server). Should this generate any type of error when using ListDir and DirItems?

- Everett

Hi Everett,

Yes, the wodFtpDLX.Net also does support AS400 file system. You can specify it using the DirFormat property of the main object.

Hope this helps.

Regards,
Damba


Complete thread: