-1

I am implementing a file tree in my website that fetches directory information over a remote source (ssh user@remote).

Currently my web page looks like this. The file tree is supposed to be in the left marked panel.

enter image description here

I have used the paramiko library to fetch the current list of directories. However, I wish to display the directory information in a nice tree view format, like normal file explorers usually do.

Is there a jQuery file manager that incorporates the remote aspect? I don't wish to write an entire file tree from scratch because DRY

I have looked over jQuery file tree but it fails to achieve the remote purpose.

Any leads would be great.

2
  • What do you want? A library that do the all work for you? There is no such library like that... Commented Mar 25, 2017 at 11:07
  • Not to mention the animosity of your comment, it turns out that there did exist a library that solves exactly this. It is called "Fancy Tree". Today you learnt ^ Commented Jul 23, 2021 at 6:51

1 Answer 1

0

Incase someone stumbles upon this, I finally solved it using Fancy Tree Library that has a parameter source, which I can then refer to my AJAX :)

$(#fancytree).fancytree({ source: { url: "refreshDirectory" }});

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.