I need to do a daily process that has to copy (download), all the files from a iSeries folder.
At the moment, if i know the filename i'm using the following code with the cwbx.dll
Expand|Select|Wrap|Line Numbers
- Dim dt As New cwbx.DatabaseTransfer
- dt.UserID = "user"
- dt.Password = "password"
- dt.Download("iSeriesName", "dir/filename", "outputfile")
But how can i list all the files that exist in that dir, so that i can copy/download them all ?
Thank you