How to get the personal folder size

Hi,
I'm trying to develop a method for define the maximum size of personal documents folder. I'm changing the Upload Command, and I want to know if its possible to get the current size of the personal documents folder for the user that is trying to upload the document.
For this moment, I've got the current UserID, and I have created an RID with the path "userhome/UserID/Personal Documents", but now I don't know how to get the size of this folder!!!!
Thanks to all.
Arnau Rovira

Originally Posted by NanLau
Hi,
Does anyone know how to get the current size of Mailbox and Archive by using GW api?
Can anyone answer this? Thanks.

Similar Messages

  • How to get the enclosing folder of an Application?

    Ok. re-visiting my Applescript to compare installed apps versus a list of predefined apps... here is my test code so far:
    set appsPath to (path to applications folder)
    tell application "Finder"
      set appList to name of every application file of entire contents of folder appsPath
    end tell
    set theApps to {"iMovie.app", "Microsoft Excel", "Microsoft Excel.app", "Adobe Acrobat 7.0 Professional.app", "Adobe After Effects CS4.app", "ColorEyes Display Pro.app", "Corel Painter X.app", "DiskTracker 2.3.2", "EPSON Scan.app", "Flash 8.app", "Product Ingest.app", "Product Tag.app", "Art Ingest.app", "TextWrangler.app", "Toast Titanium.app", "Suitcase Fusion 2.app", "Suitcase Fusion 3.app", "Fetch.app"}
    repeat with anApp in theApps
      set vers to version of (application anApp)
      -- get parent path of anApp!!!!
      if (parentFolder is equal to "Applications" or parentFolder is equal to "Utilities") then
      set parentFolder to ""
      end if
      display alert anApp & ": Version: " & vers & " " & parentFolder
    end repeat
    The only thing I'm stuck on is how to get the parent folder of anApp. Basically we use several versions of software here that are not easily identifiable by the version attribute. However their enclosing folder has all the versioning info I need (e.g.: MS Excel 04's vers would be 110113, but the enclosing folder is "Microsoft Office 2004", and some departments get Office 2008, Office 2011, etc., so I need a human-friendly way to get the right versions)
    I don't know if the "if" statement to check whether the parent is Applications or Utilities is correct as I haven't gotten that far in testing. I'm only interested in getting the parent of apps that have parent folder that is a sub-folder of Applications or Utilities.
    Basically what I am trying to do here is write a text file containing all departmental apps, homefolder sizes, relevant partition sizes, etc. and spit it out at the tech responsible for migrating a user to a new mac (display alert is just convenient for testing purposes). In the past we've had too many "missed" items in QC like wrong apps installed, or wrong versions, or data not copied over properly, etc. So this way they can run this on the old system beforehand and the new system after, line everything up and check off if it matches. This is just a snippet...
    TIA!
    Andrew

    Hi,
    Andrew Caldwell wrote:
    Is there a way to invoke these without the script opening each one?
    You must use the bundle identifier instead of the name
    Here a example :
    set theApps to {"com.microsoft.excel", "com.adobe.Acrobat.Pro", "com.barebones.textwrangler", "com.roxio.Toast", "com.fetchsoftworks.Fetch"}
    repeat with anApp in theApps
           tell application "Finder" to tell (application file id anApp)
                  set vers to version
                  set parentFolder to name of its container
           end tell
           if parentFolder is in {"Applications", "Utilities"} then set parentFolder to ""
           display alert anApp & ": Version: " & vers & " " & parentFolder
    end repeat

  • How to get the system32 folder path in java?

    how to get the system32 folder path in windows using java code?

    Zstar Electronic Co.Ltd, Wholesaler of fire cards for DS/NDSL/NDSi, Provide R4, R4i, DStt, iEDGE, AK2i,M3,M3i,N5
    www.zstar.hk

  • How to get the current Mailbox size

    Hi,
    Does anyone know how to get the current size of Mailbox and Archive by using GW api?

    Originally Posted by NanLau
    Hi,
    Does anyone know how to get the current size of Mailbox and Archive by using GW api?
    Can anyone answer this? Thanks.

  • How to get the actual screen size

    Hi,
    I have to get the actual screen size of the cliend in an applet, if i use method
    Dimension dmx = Toolkit.getDefaultToolkit().getScreenSize();
    it does not gives the actual screen size, like the screen size will be different if the application bar ( where we have start button on windows ) is Auto hide, and will be different it is not Auto Hide, or some users ike to keep the application bar on right or left of screen or on top..
    So how do we get the actual display size of screen

    Hi,
    I got how to do if using applet
    in screen object of java script we have methods to get the available width and availabe size
    screen.availWidth
    screen.availHeight
    here is the link for more info
    http://developer.netscape.com/docs/manuals/js/client/jsref/screen.htm
    http://forum.java.sun.com/thread.jsp?thread=275329&forum=57&message=1063410

  • How I get the community Folder of community using adaptive tag?

    Hi,
    How I will get the community Folder of community using adaptive tag.

    Hi,
    Andrew Caldwell wrote:
    Is there a way to invoke these without the script opening each one?
    You must use the bundle identifier instead of the name
    Here a example :
    set theApps to {"com.microsoft.excel", "com.adobe.Acrobat.Pro", "com.barebones.textwrangler", "com.roxio.Toast", "com.fetchsoftworks.Fetch"}
    repeat with anApp in theApps
           tell application "Finder" to tell (application file id anApp)
                  set vers to version
                  set parentFolder to name of its container
           end tell
           if parentFolder is in {"Applications", "Utilities"} then set parentFolder to ""
           display alert anApp & ": Version: " & vers & " " & parentFolder
    end repeat

  • How to get the Personal Number from Address Number

    Hi,
    I have one requirement which is as follows.
    I have one Customer. I am fetching Address Number(ADRNR) of this customer number from table KNA1.
    I want to find the Personal number linked to this Address number and Customer.
    Is there is any table or FM from where i will get the Personal number of the Customer using Customer number and Address number?
    Kindly Help

    Hi Sachin,
    Check this FM BUP_PARTNER_PERSNUMBER_GET
    " Check KNB1 and the Field name is PERNR, Most of the times this is not maintianed.
    " This refers to the Employees who are assigned as Customers
    " In XD03 go to the Company Code Data there you can find this Value
    " For more info contact your Functional Consultant
    " This is to the Best of my knowledge
    Also Check KNB1 but000 Tables
    Cheerz
    Ram

  • Anyone know how to get the downloads folder icon to appear in the dock?

    I accidentally dragged the downloads icon out of the dock and I can't figure out how to get it back there. Any suggestions? thanks!

    Sometimes you have to be a bit "forceful" with your drag, especially if the Dock is at the bottom--almost as if you are dragging the folder thru the Dock and off the bottom edge of the monitor.
    Francine
    Francine
    Schwieder

  • How to get the Personas Rotator add-on to work with new Firefox themes?

    Before Firefox changed from personas to themes, the Personas Rotator add-on automatically switched personas at a set interval (ie. every 1 minute). I presently have Firefox 12.0 installed as well as the latest versions of both Personas Plus and Personas Rotator but the rotator does not work.
    Before it was necessary to sign into My Favorites for the add-on to rotate my favorite personas, but now when I sign in, there is no rotation. Only one persona/theme that is enabled stays on the screen. There is no automatic rotation.
    Private browsing mode is not selected. How can I get Personas Rotator to work again? Thank you.

    Good news! The Personas Rotator is now working again and switching personas automatically at 1 minute intervals.
    It began working again after I went to the 'Appearance' tab under 'Add-ons' and removed all the personas listed there (these are ones I 'Added to Firefox' from My Favorites list which is accessed after signing in to the gallery).
    But now I see that the personas that are presently being rotated are appearing in the 'Appearance' tab as well. I wonder if it will be necessary to 'remove' all these later to have them rotate again. Will post an update later for anyone having this same problem.

  • How to get the HTML page size displayed in JEditorPane

    Hi All,
    I'm using a JEditorPane object in order to view/display an HTML page. The nature fo my program is that it does not know the size of the page in advance, but only on runtime. I'd like to get the size of the HTML page in order to determine the frame size according to the size of the HTML page.
    Is there a way to get the size of the HTML page from the JEditorPane?
    Thanks.

    after displaying the page in your editor pane you can get the diamension for the page by calling
    JComponent class method getSize();
    actually your question is not so clear
    use the JScroll pane then you don't need to worry about the size of the page.

  • Get the each folder size in ASM

    Hi,
    i have a ASM disk group name as DATA. which contains 30 folders. under 30 folders they are so many folder. if my present directory is DATA and i want to see the size of each folder and sub-folders also . what is command to see the size of each folder in ASM? I used du command, but it shows only total size of all 30 folders. i want each folder size. please let me know the command.

    Zstar Electronic Co.Ltd, Wholesaler of fire cards for DS/NDSL/NDSi, Provide R4, R4i, DStt, iEDGE, AK2i,M3,M3i,N5
    www.zstar.hk

  • How to get the row's size of  ResultSet ?

    i can't find a method to return the record number of a ResultSet.
    how can i get it without using the next() method and select count(*) from sometable

    If you use a scrollable ResultSet, you can do something like this:
                   int currRow = rset.getRow();
                   rset.last();
                   int numRows = rset.getRow();
                   if(currRow == 0)
                        rset.beforeFirst();
                   else
                        rset.absolute(currRow);
    [/code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do you get the Event folder date to match the media dates in FCPX

    Modifying the clip date/time with the Modify command works fine ... but the Event itself still has the date the event was created, not the date of the media that it contains.
    If tried using Touch on the Event folder but FCPX ignores it.
    Any ideas on how to get the Event folder date to match the media dates (or set to any other date desired) so that Events sorted by date show the actual dates of the media that they contain?
    Thanks
    Jonathan

    Here is the texture I've been manipulating  all afternoon to try and achieve the looks i want.
    and when I put this texture over the top of other images and select Multiply, and adjusted the opacity, this is what i get....
    Now this kinda works?? but it still looks not as good on an asian person.
    Thanks by the way to everyone for all the tips, I really really appriciate it   and more suggestions for improvments are welcome!

  • How to get the Frame size in H.263 by JMF ?

    Dear all,
    How to get the individual frame size in H.263 format if the H.263 file is a format of InputStream ???

    VideoFormat.getSize() returns a Dimension of a frame. H263Format is a subclass of VideoFormat. Guess you could get that object from getFormat() in your stream if it's a PullBufferStream. Or, with a Processor, you could do getTrackControls() and iterate through the TrackControl.getFormat()s until you find the VideoFormat.
    Suppose you could also get a FrameGrabbingControl, grab a frame and get the Dimension from him.
    --invalidname

  • How to know the OS block size ?

    Hi all
    I want to know how to get the OS block size of my server ?
    For example if my server is Windows 2000 Professionnal , how can I get the size of my OS block size ?
    Thank you

    One way to find is to right click the drive in Windows Explorer and click Format (Not actually formatting it).
    In the popup window, you would see the "Allocation unit size" for the selected drive. Click "Close" to exit when done.

Maybe you are looking for

  • Extractor not picking delta data

    Hi All , I have a very peculiar problem with extractor 2LIS_02_SCN . The Delta data's are not getting captured in BW as well as in the RSA3 .This is happening for few  PO's . I checked the extractor debugger as well (in RSA3) , but it shows only 1 re

  • Spry Creating problems in IE 7

    I have designed a HTML based webpage in Dreameweaver CS 3 and have included a spry menu in it. The problem i am am facing is that the page is being displayed correctly in FireFox, Chrome etc but the spry is not correctly displayed in IE 7. It gets di

  • How do I simulate hybrid systems?

    I would like to code a simple hybrid system model in the Control Design and Simulation toolkit. However, I am still rather new to LabView and am having trouble thinking in the right way. Bottom line: I want to switch my model dynamics if the state cr

  • Want to add new ICON to PPOME transaction plz suggest the procedure

    Hi friends, In my requriement, I want to add one ICON to PPOME transaction, in Basic Data tab section. I want some user action also to be performed. Please suggest me how to tackle this issue. Thanks in advance, Phani Shankar.K

  • IMPORTANT! ZXRSAU01 for 0FI_GL_40-Select closed period-last month on BUDAT

    Hello Everybody, I want to use Exit: ZXRSAU01 for 0FI_GL_40 : I need to Select data on closed period (last month) in ECC for BI7, with field BUDAT. Please, did somebody have any ABAP Code to do this? Thanks in advance.