lets pray the ftp servers you use always return exactly the same format in each line then, and that they dont have longer filenames, or usernames or longer/shorter permissions.
However, builing a tree view of something is generally an easy enough concept, and your treeview only allows 1 level, its not recursive.. but, its good you got there in the end.
Btw, shouldnt
FTPLIB.ChangeDir(".");
be a little pointless as you are changing to a fully qualified path each time. and "." means dont change.
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
Thats very unusual. On every other OS in the world, "." is current folder, including windows and unix.
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190