Solved

folder structure

Posted on 2014-04-07
7
121 Views
Last Modified: 2014-04-08
Hi There,

I need to create folder structure like this
 folderA
  folderAA
    file1
    file2
 folderB
  folderBB
    file1
    file2

etc..



Can you please give any idea, I'm new in Java scripting

Thanks
0
Comment
Question by:adnankh
  • 3
  • 2
  • 2
7 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39982835
You won't be able to create folders on the server using javascript as it is a clientside scripting language. You will also not be able to create folders clientside as this would be a massive securty flaw.

To create folders serverside would require a serverside language to do it. You won't be able to do it clientside.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39982845
Are you talking about just starting out?  Or on the fly as Lee is suggesting?  

Obviously you could simply ftp folders in that order or create on the server.  But unless you are  using serverside js, you do need to use a serverside language like asp, php etc.
0
 

Author Comment

by:adnankh
ID: 39984706
Hi Gurus,

I might did not explain properly, I've attached a file.. this is something I want to use in our Cognos Report .. and Only I can get this through javascript.
So if you have any code to share or guide would be great.

Regards,
folder-tree.png
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 200 total points
ID: 39984717
Gotcha!  You want to use a client side tree

http://www.jstree.com/
https://code.google.com/p/dynatree/
0
 

Author Comment

by:adnankh
ID: 39984736
Hi Gurus,

please have a look this attachement this is something I need for my Cognos Portal page.
Because I think here JavaScript & JQuery required to get this, due to my lack of expertise I'm bit stuggling here..

Regards,
folder-tree-final.png
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 300 total points
ID: 39985383
0
 

Author Comment

by:adnankh
ID: 39987426
Thank you all!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question