Creating a filesystem directory - is this possible from a plug-in.

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Creating a filesystem directory - is this possible from a plug-in.

    I am wondering if this level of File system access is possible using the SDK ?

    I know that I can read any file system file / directory - but is is possible to create a directory if needed ?
    michael_eisenman@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Plug-ins directory selection
      I have developed a plug-in for Acrobat I would like to know if it is possible to keep the plug-in for e.g in C:\MyPlugins and have Acrobat load that...
    2. Creating single plug-ins from many plug-ins
      Hi, I have some 10-15 plug-ins, now i want to create a single plug-ins, which inturn loads all these plug-ins to Acrobat. Is it possible to do...
    3. #39660 [NEW]: no multibyte support for Directory/Filesystem function
      From: dominikseifert at yahoo dot de Operating system: Any PHP version: 5.2.0 PHP Bug Type: *Directory/Filesystem functions...
    4. error message: cannot find browsers plug in directory
      :disgust; I am trying repeatedly to install flash player 9. I have installed from the web site, I have down loaded the installer file and ran...
    5. filesystem copy: directory permission?
      I am using the php copy command to copy what is essentially a blank template, or placeholder file into a directory immediately below it. What...
  3. #2

    Default Re: Creating a filesystem directory - is thispossible from a plug-in.



    know that I can read any file system file / directory - but is is possible
    to create a directory if needed ?




    Yes. A plug-in can use all operating system functions.
    Bernd Alheit Guest

  4. #3

    Default Re: Creating a filesystem directory - is thispossible from a plug-in.

    I have tried to use basic Directory:: Members and it doesn;t appear that any of the native IO routines will function .

    I have looked for albeit, not entirely exhaustively, for a correlary Create or Directory create function in the activedocs but have not found any yet.
    michael_eisenman@adobeforums.com Guest

  5. #4

    Default Re: Creating a filesystem directory - is thispossible from a plug-in.

    I have located this - but this appears to be more of a virtual directory than an actual physical filesystem directory on an active fielsystem .

    // Create and activate a new directory
    var oDirInfo = { dirStdEntryID: "dir0", dirStdEntryName: "Employee LDAP Directory", dirStdEntryPrefDirHandlerID: "Adobe.PPKMS.ADSI", dirStdEntryDirType: "LDAP", server: "ldap0.example.com", port: 389 };
    var sh = security.getHandler( "Adobe.PPKMS" );

    var newDir = sh.newDirectory(); newDir.info = oDirInfo;
    michael_eisenman@adobeforums.com Guest

  6. #5

    Default Re: Creating a filesystem directory - is thispossible from a plug-in.

    In order to read data from a filesystem file : the following Adobe abstraction must be used :
    eg.

    ASFileRead(prcFile,buffer,1024);

    Is there also an ASDirectory member ?
    I havent found it yet ...
    michael_eisenman@adobeforums.com Guest

  7. #6

    Default Re: Creating a filesystem directory - is thispossible from a plug-in.

    Apparently :
    It is an ASFileSysCreatePath function ...

    I found it ;;; thanks -
    michael_eisenman@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139