3 Replies Latest reply on Jun 30, 2016 10:12 AM by gkaiseril

    check folder exists and if not create a new folder


      Hi all,


      is it possible to check whether the folder is already exists or not thru Javascript.


      Since I can able to directly give the path and randomly create the filename.


      However I have to create a datewise folder before placing. Also I have to get the windows login user.


      for example

      I have given a path as '\c\Siva\'

      1. Under 'siva', I have to create a folder based on current date like '30062016'

      2. In this folder, i have to place a file as 'windows_loginId&currentdatetime.pdf'


      Could you please help on this.


      How do we create a folder and get the windows login userID.