Solved

folder structure

Posted on 2014-04-07
7
120 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now