|
-
Apr 20th, 2004, 01:56 PM
#1
Thread Starter
Addicted Member
Parse FTP List Reply
Hi i connected to my FTP server and have recived a directory listing like below...
<< 125 File status okay; about to open data connection.
drwx------ 1 Owner Group 512 Mar 25 20:15 badgerb
-rwx------ 1 Owner Group 3943 Mar 01 22:57 bc.asp
drwx------ 1 Owner Group 512 Apr 10 07:57 BCDB
-rwx------ 1 Owner Group 1710 Mar 01 22:57 bcprocess.asp
drwx------ 1 Owner Group 512 Jan 19 15:10 cgi-bin
-rwx------ 1 Owner Group 1051 Mar 06 10:02 compact.asp
-rwx------ 1 Owner Group 205 Jan 20 09:01 connstr.asp
-rwx------ 1 Owner Group 10846 Jan 20 08:59 contact.asp
<< 226 Closing data connection.
how can i parse each file into a UDT ?
and all the Directorys into an array for placing into a treeview ?
thanks people
Sam Lad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|