![]() |
| ||
| FTP Server Directory Treeview Just because there is no help for this online that i could find, I'm posting this for all the other coders... This makes use of a third part class downloaded from code project... AWESOME FTP class this , i owe the creators a huge thank you ... using System; Happy coding people , code is shibby .... |
| ||
| Re: FTP Server Directory Treeview 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. |
| ||
| Re: FTP Server Directory Treeview Quote:
Its the theory you see there, i just gave an example , one can use this in small applications ... (i hate the treeview though, might do it with a listview....) but we already played with that hehehe Thanks for all your help man , I'm finally finding some structure in my application to work with ... |
| ||
| Re: FTP Server Directory Treeview I guess you could just use FTPLIB.ChangeDir("//");or something, on my server the previous folder is the "."-dir so going there takes you back back back ... cool navigation i tell you ... |
| ||
| Re: FTP Server Directory Treeview Thats very unusual. On every other OS in the world, "." is current folder, including windows and unix. |
| ||
| I am using print directory on My Computer or Windows Explorer, To print information about all your files. Print Directory can print the name of every file on a drive, along with the file's size, date and time of last modification, and attributes (Read-Only, Hidden, System and Archive)! And now, the list of files can be sorted by name, size, date. Download Free : http://www.print-directory.com |
| All times are GMT -4. The time now is 7:35 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC