"Folder Tree" for FTP too

The "Folder Tree" should show the directory structure of the Server while browsing a ftp site

I don't believe this would feasible unless the FTP has an index file that contains all of the files on the site. And this is not likely something that exists (or is up-to-date) on most FTP sites.

It could be populated on-the-fly though, with directories being read when the tree was expanded, and the tree being updated whenever directories were entered normally as well.

@Nudel

That makes good sense Nudel.
Some time ago, on a Linux server I no longer have a web hosting account on,
I inadvertently found that I could use a PHP and Javascript program,
( I'm not naming it here ) to browse directory content above my web account.
I quickly found that I was able to browse any web hosting account on the server !
I could also browse the Linux Directories !
In fact, using another program, I could copy any file from any account on the server by making a tgz.
I actually copied some fonts deep in &&%%&& Linux.
I'm not certain about the Linux Tar functions, but I ddn't want to find out either.
I wrote computing faculty at a local University about it.
I haven't seen the problem since.

Your idea makes sense.
Recursive searches are very fast on Linux too, even in ( normal ) PHP.

Regards,
Porcupine

Expanding a branch on the Folder tree would have to trigger FTP traffic to see what was in a FTP folder (at least for a folder that had not yet been listed).

There would have to be handling for when a user tried to expand a branch to which they did not have authorization to open.

The Folder Tree currently does these things for local, network, or removable folders. But with an FTP folder, it could mean a lot of FTP traffic back and forth. Today, Opus lags when listing FTP folders, because Opus must wait for the FTP transfer of the current folder listing. This lag would also occur in the Folder Tree. Perhaps, the FTP listing could be cached locally, unless the user copied a file up to the FTP folder (there is currently a option related to this for folder listings in Preferences - FTP).

Something would have to be done with virtual FTP folders (the bolded shortcut folders listed in the folder listing on FTP sites). I don't know how those would translate to the tree format, since they are a shortcut to a folder elsewhere.

I think all other FTPclients do it this way.

Have a look at FileZilla for example:
If i open the FTP connection the content of the entry folder have to be read to show the file listing. The directories found are placed in the tree and marked with a question mark (so i know subfolders are not read so far). If i click on such a folder the content have to be read to show me files/folders - the folders found are placed in the tree, marked with a question mark and so on.

regards
Mirsch

Expanding the branch of a tree would cause no more network traffic than navigating into that branch.

I don't think there's any extra network traffic involved, the only difference is it enables people to navigate FTP sites via the tree as well as via the file display.

Maybe this helps.

Select a FTP for Tools / Synchronize ... in the sync window you will see the ftp tree and all files. Maybe this could help. Just found out that the sycn works with FTP :wink: