Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

jquery.apachetree

Get the content of an Apache Directory Index

Usage

 $.getApacheTree('yourbrowseabledirectory/').done(
   function(data){
     // Do something with data
   }
 );

Returns something like :

[
  {
    file: "afile.txt",
    href: "yourbrowseabledirectory/afile.txt"
  },
  {
    file: "anotherfile.txt",
    href: "yourbrowseabledirectory/anotherfile.txt"
  },
  {
    file: "subdirectory/",
    href: "yourbrowseabledirectory/subdirectory/"
    nodes: [
      {
        file: "lorem.csv",
        href: "yourbrowseabledirectory/subdirectory/lorem.csv"
      },
      {
        file: "ipsum.png",
        href: "yourbrowseabledirectory/subdirectory/ipsum.png"
      }
    ]
  }
]

About

Get the content of an Apache Directory Index

Resources

You can’t perform that action at this time.