Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
51 views

I've been struggling with this for a while, and I've almost got it- but not quite. This is what I have so far: pub fn load_folder_view(state: &mut State) { let path = state.current_folder_path....
Cyncrovee's user avatar
0 votes
2 answers
93 views

I have a file tree with this type interface FileTreeProps { name: string; isMat?: boolean; children?: FileTreeProps[]; } After the user inputs and submits the query I want a filtered tree where ...
Zoclhas's user avatar
  • 63
-2 votes
1 answer
311 views

How to create file tree from list of (str, int)? I already tried to find ways to solve this problem, but I managed to find code for working with files, not a list of strings. Example of input: [ ('...
wowlikon's user avatar
-3 votes
1 answer
32 views

tree . ├── assets │   ├── javascripts │   │   └── application.js │   └── sass │   └── application.scss ├── config.json ├── data │   └── session-data-defaults.js ├── filters.js ├── routes.js └── ...
cpuQs's user avatar
  • 19
0 votes
1 answer
93 views

So, I was working on one of my projects when I decided that I would make it a command-line-based tool. I could not find any reliable information (maybe I just searched for the wrong thing, sorry if ...
PatzEdi's user avatar
  • 11
0 votes
0 answers
85 views

I found this Custom fileTree Component from github to implement it into my project, I'm using this JTree component to access and display file information like file name, file path, file type in a ...
Astron's user avatar
  • 1
1 vote
0 answers
192 views

In table data directories and files are stored as complete paths: rowid path 1 c:/data/ 2 c:/data/test.txt 3 c:/data/sub1/ 4 c:/data/sub1/test.dat To get all items of a folder (directories and files) ...
Ulrich's user avatar
  • 349
0 votes
1 answer
385 views

i am trying to make a simple tauri Program where i have a Filetree of all Files and sub files of a chosen directory. I have not got many experience in Rust and ran into a problem with Ownerships. Code ...
DaKoller's user avatar
1 vote
2 answers
63 views

Question What is the shortest and most efficient (preferrable most efficient) way of reading in a single depth folder and creating a file tree that consists of the longest substrings of each file? ...
William Randall's user avatar
0 votes
1 answer
623 views

When pushing data into a file tree, it pushes 2 sets of the same data and I am not exactly sure why. I have a simple json array that looks like this: export const treeDataFile = [{ type: 'directory',...
marcorivera8's user avatar
0 votes
1 answer
213 views

I have a recursive function that searches a path for a given file name. What I am trying to do is to print the files that match, along with their parent directories. So for a file tree like this: ...
LonelyBishop's user avatar
0 votes
0 answers
76 views

I'm updating a web application that I built. Changes that I make to my HTML and CSS display on the DOM. However, when I try to make changes in my JS files, they don't show on the DOM. I tested this ...
Dylan Cole's user avatar
1 vote
1 answer
147 views

I have a limited hosting server. I want to read the filetree (all files and folders) and create a hyperlink to them on a basic html page. For clarity, I'm using Keybase, am publicly sharing files, but ...
roadcrypto's user avatar
2 votes
1 answer
206 views

I am having trouble displaying data using jQuery File Tree plugin. No matter what I use for 'root', it always uses '\' and displays content of C drive! I am using aspx (with code behind that I am not ...
NoBullMan's user avatar
  • 2,252
1 vote
0 answers
3k views

I'm trying to create a way to view CSV file that contains details about a folder and sub folders on a physical drive. Here's the CSV file: Volume,Path,Name,Size,Ext,Last modified,Description "Music",...
mk117's user avatar
  • 775
6 votes
1 answer
6k views

I want to show Parent Children graphical representation on Angular Material Flat Tree. This is the design : Here is the DEMO what i done so far.
Anzil khaN's user avatar
  • 1,984
0 votes
1 answer
396 views

Working on a school project... I have a python list object (obtained from a text file) that contains an entire directory listing(about 400K items). Is there a module to organize this list or text file ...
Laylor010's user avatar
0 votes
0 answers
324 views

This is my TreeModel Class BusinessLayer; import java.io.File; import javax.swing.event.TreeModelListener; import javax.swing.tree.TreeModel; import javax.swing.tree.TreePath; ...
Mohsin Atta's user avatar
7 votes
1 answer
12k views

in my gradle task I iterate through fileTree and all works good: myTask { fileTree("${project.projectDir}/dir").visit { FileVisitDetails details -> exec { //do some operations } }...
Adrian's user avatar
  • 502
0 votes
1 answer
689 views

I am not sure if this is supported by fileTree. I searched the document and all examples used concrete (absolute or relative) paths. This is what I want to do. ext { externalProjectRoot "c:/...
gongqin's user avatar
  • 69
0 votes
1 answer
1k views

I need to return or print a file/directory tree using stack data structure. For example: Folder1 Folder1.1 File1.1.1 Folder1.2 Folder2 File2.1 File2.2 ... My code so far: ...
Hans's user avatar
  • 1
0 votes
0 answers
96 views

(Title and question have been significantly changed, as the none of the important parts ended up being relevant to the problem) I have a generated file tree of a hard drive, and I'm creating a ...
trigger_segfault's user avatar
0 votes
3 answers
1k views

How to test created and expected file tree in groovy(Spock)? Right now I'm using Set where I specify paths which I expect to get and collecting actual paths in this way: Set<String> ...
Max's user avatar
  • 774
0 votes
1 answer
137 views

I need to take a multidimensional array that defines a file tree structure and convert it to an array of relative paths. I see plenty of answers on how to do the opposite. I need this: $file_tree = ...
daniel_lowetz's user avatar
3 votes
1 answer
3k views

I'm making my own "cloud server" with django, for my projects and files. I'm trying to create tree file structure, but I cant figure out the way to do it. And how I can make username based URL, like (...
Jertzuuka's user avatar
  • 203
1 vote
1 answer
61 views

Let's say I have a java file C:\workspace\project\src\packagename\foobar.java. Now, I would like to compile this file at runtime, but for that I need the corresponding .classpath file (or rather, it's ...
PixelMaster's user avatar
0 votes
1 answer
1k views

Is there a way to import all modules within a package from the root level main application and have functions within the modules immediately available in Python 3? Here is an example file tree: +app ...
Fergus's user avatar
  • 471
-2 votes
1 answer
2k views

There is a python file path list like below: file_path_list = ["test/dir1/log.txt", "test/dir1/dir2/server.txt", "test/manage/img.txt"] I want to convert it to a tree. the expect result is below: ...
nanci's user avatar
  • 431
0 votes
0 answers
37 views

I wanted to do I file tree in PHP, and I can do it its simple full tree at once: function tree($path) { //scandir creates the array with all the files in the path folder $files = scandir($path)...
Luka Klauzer's user avatar
1 vote
1 answer
924 views

How do I build a JSON object thats is compatible with react-sortable-tree (every nested object has title, children) to render the file tree. For example, I have this array of filepaths. var ...
schintha's user avatar
-1 votes
1 answer
652 views

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 ...
isopropylcyanide's user avatar
0 votes
1 answer
2k views

I am building my first Node.js MVC app (native node, not using Express) and having trouble displaying images from my html files via relative their paths. I'll spare you my server.js and router.js ...
yevg's user avatar
  • 1,986
2 votes
1 answer
4k views

I've a build file that runs tasks like this. Task 1 (unpackWar): Unzips war file to Temp folder Task 2 (copyWarFilesToWebContent): Copies the files to WebContent folder with some exclusions Task 3 (...
Predz's user avatar
  • 201
0 votes
1 answer
116 views

I'm trying to create a Ruby on Rails app and I have recently started using NoSQL databases to store the data. However, I'm not sure how to organize the database files within the file tree. For ...
metaco57's user avatar
  • 155
0 votes
2 answers
684 views

My code requires creation the file tree of the many file paths as dir1/file1 dir1/dir2/file2 dir1/dir2/file3 FileTree object visualization example: dir1 |_file1 |_dir2 |_file2 |_file3 This tree ...
proninyaroslav's user avatar
0 votes
1 answer
701 views

I'm using jQuery FileTree. After a file upload via javascript ajax (old school javascript xmlhttp request, not jQuery), I invoke the fileTree using the following code: $('#jstree').fileTree({ ...
TARKUS's user avatar
  • 2,252
1 vote
1 answer
24k views

I'm looking for a way to print (or write to file) the folder tree of my windows PC, including the size of each folder - but not of single files. The output should look like: - My Documents/pictures/...
Effe Pelosa's user avatar
1 vote
0 answers
63 views

How can I output only the directories and the pdf files like this [directory] _____blabla.pdf _____fefewfew.pdf [nextdirectory] _____afdfsdfsdf.pdf _____... and so on ? Hope for some help. Here is ...
Hans Baum's user avatar
  • 411
0 votes
2 answers
2k views

So I have to use the Java file tree system because .listfiles files is for some reason incredibly slow going through a remote network. However all the Java file tree system examples list all the files ...
Brandan B's user avatar
  • 474
0 votes
1 answer
250 views

I am looking for a JavaScript method or a framework to achieve this: So in concrete words I like to have a tree structure same like the one in the Windows Explorer (where you can expand and collapse ...
marius's user avatar
  • 1,282
4 votes
1 answer
2k views

I am trying to get all the files and directories in the current or mentioned folder using nftw. But how do I instruct the function not to go further in any subdirectory? What is the purpose of the ...
bytestorm's user avatar
  • 1,601
0 votes
2 answers
2k views

With the following code: static void Main(string[] args) { JObject fileSystemTree = CreateFileSystemJsonTree("C:/DirectoryTree"); Console.WriteLine(fileSystemTree); ...
user3594395's user avatar
0 votes
1 answer
627 views

Working on adding a drag and drop functionality to angular-tree-control: https://github.com/wix/angular-tree-control I am trying to bind data from the parent scope to an element I have made in the ...
Aditya Aggarwal's user avatar
4 votes
3 answers
781 views

I am implementing a jQueryFileTree (http://www.abeautifulsite.net/jquery-file-tree/) as a file browser and would like each file or directory the user clicks on to stay highlighted. I know this can be ...
Eroth's user avatar
  • 51
0 votes
1 answer
884 views

I'm using SimpleFileVisitor to search for a file. It works fine on Windows and Linux. However when I try using it on Unix like operating systems It doesn't work as expected. I would get errors like ...
M. A. Kishawy's user avatar
0 votes
2 answers
936 views

I used the following code for configuring my jquery file tree. <script> jQuery(function ($) { $(document).ready(function () { $('#loadFolderTree')....
Tanuj Dhaundiyal's user avatar
0 votes
2 answers
340 views

I was actually wondering, If I'd put a .htaccess in the /public_html folder and inside the /public_html/example_site/, would the pages inside /public_html/example_site/ use both of them? And which ...
Sander Schaeffer's user avatar
1 vote
1 answer
462 views

I am using a JavaScript (jQuery FileTree, see here: http://www.abeautifulsite.net/blog/2008/03/jquery-file-tree/) inside my Django application. The problem is, this JavaScript needs the path to a ...
ben's user avatar
  • 115
0 votes
1 answer
70 views

Is there any library or plugin that I can use to easily convert a list of filenames into a filetree ? Say for example I have an array that contains a list of file names that I read from text: C\...
Rafik Bari's user avatar
  • 5,037
1 vote
3 answers
2k views

I am trying to create a webpage that displays a file tree. I chose to use the jqueryFileTree from this website: http://www.abeautifulsite.net/blog/2008/03/jquery-file-tree/ Eventually, I will be ...
Lethal Left Eye's user avatar