I want to create a directory in users machine

I want to create a directory in users machine if the dir does not exist.My java prgm reads the files from particular directory but i want it like if it does not exist then the java code should create it.Please help

Is this a database question? Because if you have a Java class running in the database, you it cannot create a directory on the client machine-- code on the database server doesn't have access to the client file system.
If this is not a database question, and you just have a client side Java application, you can use the java.io.File class.
Justin

Similar Messages

  • Purpose: to create photo galleries to insert or not items: 1) with phocagalery, it works 2) with the transfer via lightroom, I do not see the downloaded files but if I want to create a directory folder with the same name, he said he is already, I see noth

    purpose: to create photo galleries to insert or not items:
    1) with phocagalery, it works
    2) with the transfer via lightroom, I do not see the downloaded files but if I want to create a directory folder with the same name, he said he is already, I see nothing in the media in content management
    Can you help me

    Mahsa21,
    We are glad that we were able to resolve the international calling plan issue for you.  If you need assistance,please  reach out to us.
    thanks,
    Tonya D.

  • Wanted to create a directory- but insufficient privilage

    My SQL Query:
    create or replace directory <dir_name> as '<PATH of my file in my local machine>'
    I could not successfully execute the above statement in oracle application express as i said "insufficient privilage"/
    I wanted to create a directory path so that i can access my file in my local machine.
    Please help me in this regard.
    Message was edited by:
    user627214

    "Create directory" is only for directories where the database is installed. It's essentially a server-side concept. So, if your database is installed on a machine called myDBserver, you can only create directories on the file system that myDBserver has access to. You also need to be logged-in as system to do this, then grant read and/or write to the schemas that need access to the directory.
    Tyler

  • We want to create os level linux users?

    Hi,
    We are using EBS 12.0.6 with database 10.2.0.3 in linux AS 4 (32-bit).
    Actually I want to create my two developers OS (Linux) level accounts for placing the customization forms and reports on Application node and also to compile the forms and reports on apps node, and also wants to OS level audit on these two users for security purpose.
    So, please provide the oracle doc for this if any, or refer me the exact fourm from which I can helped out?
    Regards

    Hi;
    Actually I want to create my two developers OS (Linux) level accounts for placing the customization forms and reports on Application node and also to compile the forms and reports on apps node, and also wants to OS level audit on these two users for security purpose.I belive Hussein Sawwan's previous post answer your question
    Re: How to create the users applvis and oravis..? << already posted by Autoconfig
    You can also try to chekc below link:
    Useradd:
    http://www.google.com.tr/#hl=tr&source=hp&biw=1276&bih=793&q=add+user+linux&aq=f&aqi=g1&aql=&oq=&fp=6466c647085805ba
    Groupadd:
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&q=add+group+linux&aq=f&aqi=&aql=&oq=&fp=6466c647085805ba
    For enable secutiry on OS base check:
    http://www.ibm.com/developerworks/linux/library/l-security-audit.html and below googling:
    http://www.google.com.tr/#hl=tr&source=hp&biw=1276&bih=793&q=linux+user%2Baudit&aq=f&aqi=&aql=&oq=&fp=6466c647085805ba
    Regard
    Helios

  • Want to create a Read Only user for a given app owner user

    Hi Folks,
    We have an application owner schema, lets call it OWNER, which has different objects living under it.
    Now, for certain reasons, the app group wants a read only user which should be able to view objects living only in OWNER. It would only be able to read things, and have no create or alter types of priv to be able to change anything.
    The first idea was to create a new user (e.g. RO) and give this explicit grants (select only) for all objects in OWNER. Though this works, is a maintenance havoc, since everytime there is a new object in OWNER, you have to remember to give explicit grants to all RO (or RW ) kind of users.
    What i am looking forward to is, some sort of privilege or role concept that apply on the user level, and not on object level. something that allows me to say, all objects of this schema (e.g. OWNER) are visible to user RO. Other restrictions on RO would control read or write behaviour.
    Does this thing exist ? please point me to the documentation/example..
    regards
    raghav..

    CREATE OR REPLACE TRIGGER myTest.trg_mytest
    AFTER DDL
    ON myTest.SCHEMA
    DECLARE
         lv_obj_type VARCHAR2(20) := TRIM(UPPER(ora_dict_obj_type));
         lv_evt_type VARCHAR(20)      := TRIM(UPPER(ora_sysevent));
         lv_obj_name     VARCHAR2(30) := trim(UPPER(ora_dict_obj_name));
         lv_role_name     VARCHAR2(30) := 'myTest_RO';
         lv_stmt          VARCHAR2(4000) := NULL;
         ln_job_nr     NUMBER;
    BEGIN
         IF lv_evt_type != 'GRANT' --lv_obj_type <> 'OBJECT PRIVILEGE' --
         THEN
              DBMS_JOB.SUBMIT(ln_job_nr,'begin execute immediate ''grant ' || ' select on ' ||
                                       lv_obj_name || ' to ' || lv_role_name || '''; END;');
         END IF;
       INSERT INTO TB_EVT_LOG(d_date, description)
       VALUES(SYSDATE,  lv_obj_name || '~~~~ created ' || lv_obj_type || '~~~~' || lv_evt_type );
       EXCEPTION
         WHEN OTHERS THEN
           RAISE;
    END trg_mytest;
    /This works. But, my problem is that it is not able to filter out the Grant statement itself, Its logging an entry for the grant (as a ddl operation as well).
    what am I doing wrong here ?
    regards
    raghav..

  • Create directory-linked user in GW2014

    Hi,
    I want to create a directory-linked user or enable this link after the creation of an user. Didn't find a sample in sdk-doc.
    Somebody can help?
    Have test to create a simple user with json and xml. Works fine after support from Preston.
    https://forums.novell.com/showthread...71#post2317671
    Thanks Heiko

    Sorry, typo,
    in the json/xml data, the ldapDn should be "ldapDn" not "ldapDN" It is case sensitive
    --Morris
    >>> Morris Blackham<[email protected]> 5/5/2014 8:57 AM >>>
    Once the user is created, you can set the directory link. You will have to supply the users directory DN and the GroupWise Directory ID (the name of the directory you created in GW Admin for the edir or AD directory).
    The URL would be ..../gwadmin-service/domains/yourdom/postoffices/yourpo/users/newuser/directorylink
    the data needed is:
    directoryId: yourdirectoryID
    ldapDN: cn=user,ou=blah,etc
    Then use a PUT method with the above URL and the above data as json or xml.
    Optional - If you want to then sync the directory data to GW, add /sync to the above URL, then use POST method (no data needed)
    Also optional - You can then publish all email addresses for the user to the directory using /publish added to the above URL and do a POST. This is providing you have the Publish EMail Addresses enabled on the Email Publishing tab of the directory definition.
    --Morris
    >>> hschoene<[email protected]> 5/5/2014 5:36 AM >>>
    Hi,
    I want to create a directory-linked user or enable this link after the
    creation of an user. Didn't find a sample in sdk-doc.
    Somebody can help?
    Have test to create a simple user with json and xml. Works fine after
    support from Preston.
    https://forums.novell.com/showthread...71#post2317671
    Thanks Heiko
    hschoene
    hschoene's Profile: https://forums.novell.com/member.php?userid=32236
    View this thread: https://forums.novell.com/showthread.php?t=476730

  • Creating Physical Directory

    hii...
    I am using CREATE DIRECTORY method.
    CREATE DIRECTORY MYDIR AS 'C:\TEMP1';
    it is working. But, i want to create physical directory if TEMP1 folder isn't in the C: drive.
    How can i do this? do you have any idea? thanx

    Oracle implemented the DIRECTORY model primarily for security reasons, so normal users should not be issuing CREATE DIRECTORY statements. A privileged user should create the directory and then give normal users appropriate permissions on the directory. The privileged user should know whether or not the physical directory exists.
    Just in case you did not know, the O/S directory pointed to by an Oracle DIRECTORY object needs to be on the same server as the Oracle instance itself.
    John

  • Creating a directory UNDER webapps

    Hi all,
    I have just installed Tomcat 4.1.24 on my RedHat 8.0 linux machine and when I point to
    http://Harpo:8080 I get the default Tomcat page. Success here But I have a problem.
    I wish to set up accounts on my Tomcat server for different users under <Tomcat_home>/webapps.
    Under webapps I want to create a directory called "students" and then under students
    my users, say john, paul, george and ringo. So the structure is
    <Tomcat_home>/webapps/students/john
    <Tomcat_home>/webapps/students/paul
    <Tomcat_home>/webapps/students/george
    <Tomcat_home>/webapps/students/ringo
    I do this to keep the applications in one area rather than scattered under <Tomcat_home>/webapps
    The Context directive in server.xml for johnl is.
    <Context path="/johnl" docBase="students/johnl" debug="0"
    reloadable="true" crossContext="true"/>     
    I restart Tomcat, but when I point to      http://Harpo:8080/johnl
    i get the typical HTTP Status 404 - /johnl.
    However if I put johnl directly under <Tomcat_home>/webapps
    ie <Tomcate_home>/webapps/johnl (just like the default /examples)
    it works fine!!!??? Why is this so?
    Is it not possible to create directories to organise your users with Tomcat?
    Any help appreciates

    If u have added students folder under 'webapps' dir of tomcat then u dont have to modify server.xml file for that. Dont modify Context directive in server.xml...it should work....
    You need to modify server.xml for adding context only when u added some folder in the area other than webapps dir...

  • Can I create a directory database in Numbers, like I have done in Access?

    I have a database in Access that I converted to numbers for the data, but I want to create a directory with merge fields so that its easier to read and pretty to look at. Can this be done in Numbers or Pages? or is there another program comparable to Microsoft Access that I need to get. Is there freeware that would do the trick? thanks.

    thanks for offering your help. I have about 120 contacts in one database with about 20 fields for each contact: name, phn, birthday, anniv, email, address, hobbies, heritage, etc. I guess about 5 or 6 contacts would fit on a page.
    I also have another database that is quite smaller. only about 68 contacts, with just 9 or 10 fields per contact. Last Name, First Name, Unit, Home Phone, Cell Phone, EMail Address, Alt Email, Alt Cell Phone, Additional. I would like the option to add fields as this document grows.
    I searched online for some database management software but it seems that you need to know programing. I inherited the access database listed first so I only had to tweek things, copy and paste fields, I did not have to create it from scratch. Am I looking for the wrong type of program? Is there a program out there that makes simple directories? Or is there an easy way to create a merge document (In Pages or Numbers) to have multiple contacts on one page. Like a label? I am able to create a merge form letter, but can not figure out how to get multiple contacts on a page. I am not planning to give up on my Mac. I am committed to is as I have spent a few thousand dollars to get this, But I just need to know how to get started.
    Thanks again for your help. Toni

  • Creating a directory & subdirectory on Application Server

    I want to create a directory on Application Server which may contain many subdirectories where in i will upload my files from my ABAP Program.
    I need to know if dynamic creation of a directory on Application Server is possible though ABAP.
    I donot want to create it manually but dynamically depending on the type of file to be put in the directory.

    If you use the complete path, this actually works.  I have tested it in my system.  It may not work in background though.  I'm on an AS400, so the path is a little different
    call function 'GUI_CREATE_DIRECTORY'
         exporting
    dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
         exceptions
              failed  = 1
              others  = 2.
    Regards,
    Rich Heilman

  • How to create more than 2000 users/groups in a good way.

    Hi, guys.I want to create more than 2000 users/groups with Java API. Now I use a regular method to implement this function, login; create a domain; open a maxlsession ; and then call a maxl statement to create a user or a group . I find that the performance of this way is very bad. Can I write a funcation or a marco, which can create these users/groups? If it works, How do I need to write these codes?I have looked over all Java API document, it seems that ESSBASE API don't provide some related api which enables developer to generate a function or a marco. If you know the answer to this question, please tell me. thanks in advance.

    Dear Frank,
    Thank you so much for your answer. Beside the save point functionality to save the state and values on the screen, do you know other ways to do the same function? Once again, thank you so much.
    Linh Nguyen.

  • SCCM2012: Can you create a Query-based "User Collection" using an IP Subnet (or IP Address range) in the Query?

    The topic says it all (I hope).  I am new to 2012 and I have tried to accomplish this feat all day, which includes researching online, but I have had zero success in finding anything helpful.
    Obviously I can create "Device Collections" based on the IP Subnets, and I can do a "Direct Rule" in "User Collections" for the desired IP Subnet, but I do not want to do this because I need the results to update if/when
    any changes occur during a "scheduled/incremental update".
    The only thing I could find for the "User Collections" was this:
    select *  from  SMS_R_User where SMS_R_User.FullUserName = SMS_R_User.UserName and SMS_R_System.IPAddresses like "111.11.1%"
    EXAMPLE (Query for Devices):
    select *  from  SMS_R_System where SMS_R_System.IPAddresses like "111.11.1%"
    Is there a way to Query SCCM (2012) and display the Usernames of computers that login to the (sole) Domain through a specified (or desired) IP Subnet?

    Why do you want to install software by location for a user? Why do you care?
    Why would you want to create a collected of Users with software installed? PCs have the SW install not users so how would you use it?
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ
    I was asked to setup these (Device and User Collections) in this manner so we can limit future distributions/deployments of Applications (and/or Packages) and (OS) Images by these groupings.  Apparently there will be occasions where deployments will need
    to be segmented as such because the company wants to have them grouped in this manner.  If there is a better option available than this, which I would not doubt since I am new to SCCM 2012, then I would appreciate the information.
    IMO, you need to go back to the person asking and get and better understand of exactly what they want and more importantly why.  Making a collection, just in case doesn't make sense.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Creating variable with the user Authorization in BEx

    Hi gurus,
    i want to create a variable with user authorization in BEx. Can any one please tell me the steps to create the variable for authorization.
    Thanks in advance
    sandy

    Hi,
    Please take a look and refer the section Use of Variable filled Authorizations(User Exit)
    Advanced Features of SAP BW Reporting Authorizations
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06
    Hope this helps.
    Cheers,
    Gimmo

  • How to create gpo for all users in all ou?????

    hello,plz help me.i want to create gpo for all users in all ou.but i dont want that gpo to do in domain????

    Can you elaborate what you mean by "but i dont want that gpo to do in domain"?
    In terms of applying it to all users, that's simple enough, you can simply leave the GPO's security filtering with its default setting as "Authenticated Users" which then apply to everyone.
    In terms of it applying to all OUs, you only have two options.
    1) Create the GPO and link it to the root of your domain, so it then applies to the entire domain and all the OUs within it.
    2) Create the GPO, but instead link it to each OU that you want it to apply to. You can apply one GPO to as many OUs as you want, simply right click on the OU and select "Link an Existing GPO...". It's then not applied to the root of the domain, only the
    OUs, but any changes you make to the GPO are applied to all the OUs that you've linked it to (rather than having a separate GPO for each of them).

  • Create New NON SA user with Priviledges

    Hi all,
    I want to create new non sa user login with openrowset function privileges for read/write operation on excel sheet file.
    So please can nay one give me example or script to create non sa user login with above privileges.
    Thanks in advanced.

    Thanks to all for reply.
    I give ADMINISTER BULK OPERATIONS permission to user I also create linked server with required credentials but does not work. With sa
    credentials it work.
    I execute following statement
    select * from openrowset('Microsoft.ACE.OLEDB.12.0',
    Excel 12.0;HDR=Yes;Database ='C:SAMPLES\Northwind.xls';select * from [sheet1$])
    when I execute above statement it gives me error.
    please reply.
    Hi AK9841,
    Please review the detailed answer in your another thread,
    https://social.technet.microsoft.com/Forums/en-US/59710c1d-6bfe-42dc-ac80-643b9ae7f8f0/create-new-non-sa-user?forum=transactsql
    Thanks,
    Lydia Zhang

Maybe you are looking for

  • How to set a MessageTextInput to be Read Only for a specific row?

    Hi, In Benefits Self Service, particularly the Update Beneficiaries page, it lists all your eligible Beneficiaries including yourself. The table has the following columns displayed for each beneficiary: Beneficiary, Relationship, Social Security Numb

  • Print Current Date on iCal Printed Output

    My wife likes to print out her weekly calendar from iCal (which she sync's with her iPhone). It would be very useful if iCal could place "the dated printed" on the output hard copy. This would prevent outdated versions of the calendar from getting co

  • Any solutions to Snow Leopard 10.6.1 R2880 total failure on iMac

    Everything was fine on Snow Leopard 10.6, but now - on 10.6.1 - I can print nothing to the Epson R2880 from my main desktop machine. When I went to print, the Epson Printer software had been removed and I had a message that new printer drivers should

  • ITunes u crashing on ipad air

    Trying to start iTunes U on iPad Air crash all the time. I did most of proposals 'hard reset', re-install iTunes, restore from previous backup using iTunes. I get the application works once when I re-installed but crash all the time afterward. Curren

  • DW CC - Assets pane not displayed

    In DW CC, I trying to get the Assets pane to show up in it's default place (next to the Files tab). How does one achieve this?