Re: ListDir into raw text string ? (General questions)
Hi Dave,
When you call ListDir Method for some directory you can call DirItem Object from wodFtpDLX.NET and make collection of files. After you make collection of files you can parse data from that collection.
Here is example:
-------------------------------------
dlx1 = New WeOnlyDo.Client.FtpDLX
coll = New Collection
Dim j As Integer
dlx1.Hostname = your_server_name
dlx1.Login = your_login
dlx1.Password = your_password
dlx1.Blocking = 1
dlx1.Connect()
dlx1.ListDir( /home/test )
For j = 0 To dlx1.DirItems.Count - 1
Debug.Print(dlx1.DirItems.Item(j).Name)
coll.Add(dlx1.DirItems.Item(j).Name)
Next j
-------------------------------------
More help for DirItem Object you can find here:
http://www.weonlydo.com/FtpDLX.NET/Help/WeOnlyDo.Client.FTP~WeOnlyDo.Client.DirItem_fields.html
Hope this helps.
Regards,
Drazen
Complete thread:
- ListDir into raw text string ? - dtw01, 2006-09-27, 18:16
- Re: ListDir into raw text string ? - wodDrazen, 2006-09-27, 20:15
- Re: ListDir into raw text string ? - dtw01, 2006-09-27, 20:35
- Re: ListDir into raw text string ? - dtw01, 2006-09-27, 20:42
- Re: ListDir into raw text string ? - wodDrazen, 2006-09-27, 21:33
- Re: ListDir into raw text string ? - wodDrazen, 2006-09-27, 21:47
- Re: ListDir into raw text string ? - dtw01, 2006-09-27, 22:13
- Re: ListDir into raw text string ? - wodDrazen, 2006-09-27, 21:47
- Re: ListDir into raw text string ? - wodDrazen, 2006-09-27, 21:33
- Re: ListDir into raw text string ? - dtw01, 2006-09-27, 20:42
- Re: ListDir into raw text string ? - dtw01, 2006-09-27, 20:35
- Re: ListDir into raw text string ? - wodDrazen, 2006-09-27, 20:15