Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

folder structure

Posted on 2014-04-07
7
Medium Priority
?
126 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 54

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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 54

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 800 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 1200 total points
ID: 39985383
0
 

Author Comment

by:adnankh
ID: 39987426
Thank you all!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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.
Suggested Courses

618 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