Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (160 points)
Is the source code for the FTP Express available?
There appears to be a bug in the remote component. If you double click the double dots to go up to the next root level, it seems to break.
It does not know that it was at the root level already.

One more thing, I like the gui components but I would like to use tree view controls to navigate the folders.
How is this done?
Do you have samples to integrate the gui local and remote list with the a treeview?

3 Answers

0 votes
by (162k points)
Can you post the section of log file that shows the problem?

You can optionally purchase the source with the product.

We don't have a treeview sample but it should be quite easy to use a treeview with the events that are available.
0 votes
by (160 points)
Can you point me in the right direction? How would your object interface with the treeview?
Is your gui object just a windows listview that I can use?
Any suggestions would be greatly appreciated.




Can you post the section of log file that shows the problem?

You can optionally purchase the source with the product.

We don't have a treeview sample but it should be quite easy to use a treeview with the events that are available.
0 votes
by (51.6k points)
Sorry for the slow reply. We have been planning to do an FTPFolderBrowser for some time and will do it before too long. But I can't give you a date, so for now I can only suggest writing your own.

The FTPRemoteFileList is a UserControl with a ListView as well as the controls in the panel at the top. I don't think it would really help you much in creating a folder browser.

Depending on your requirements, creating a folder-browser control can either be fairly easy or quite difficult. A good programmer should be able to get a rudimentary folder-browser going in a few hours, but developing a really slick control could take several days.

To create a folder-browser you would (rather obviously) start with a TreeView control. You would use asynchronous methods to ensure that the GUI remains responsive while listings are being fetched from the server. It's important that you only fetch the directory listings as needed, i.e. when nodes are expanded. In other words, don't fetch the entire directory tree upon initialization since this will make it painfully slow.

Really I can't tell you much more than this since it's basically just a matter of building it bit by bit.

- Hans (EnterpriseDT)

Categories

...