Webutil check if folder has write privilidges

We need to check if a file has write privileges before writing to it using the webutil transfer.
I tried WebUtil_File.File_Is_Writable but it shows as TRUE even though it isn't. I know its not writeable as the same location then gives me a
WUT-105 Unable to open file for writing message if i try and transfer a file from AS to Client.
My aim is to simply replace this message with one the user will understand.
Is there anyway to capture the error? or check file folder privileges?
I also want to check the registry for read/write privileges for the same reasons but can not see any function to do this.
We use AS 10.1.2.3
Thanks
Edited by: ngac_uk on 26-Jan-2012 03:33

the windows user doesnt have access rights to that folder. If tey log in as an administrator it works fine.Ah, now I understand. There is no WebUtil method to check user permissions, but you could create a Windows script that checks the permissions and writes TRUE or FALSE to a file. Then use Client_Text_IO to read the file.
Take a look at Microsoft Knowledge Base article How to use Xcacls.vbs to modify NTFS permissions. This article shows you how to read the permissions (as well as modify them).
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Approval work flow should work when the KM folder has Write access

    Dear all,
    I have a following scenario.
    There are set of KM folders and the users can upload documents in those folders ( users has read/write permission) and for those folders i have a approval process as well but when i give read and write access for those set of folders the approval process is not working they can see the documents because the users have read/write permission.
    How can i overcome this i need to give read/write permission for folder and i want the approval process to work as well.
    Please help.
    Regards
    Aflal

    Hi, Aflal!
    We have overcomed this problem by using custom developed Repository Filters:
    One filter shows only documents created by user, no matter approved and not (for those users who are able to upload documents).
    Another filter shows only approved documents (for all users).
    The third filter shows only submitted for approval documents (for Approvers).
    Than we created 3 Layout Sets with these filters applied to (in Collection Renderers) and 3 KM Navigation iViews that use 3 mentioned before Layout Sets.
    Regdads, Mikhail.

  • High memory use when checking downloads folder through browser

    High memory use when checking downloads folder through browser.
    I have a total of 3 DDR2 Gbytes of ram. Pentium(R) Dual-Core CPU T4500 @ 2.30GHz Win 7 home pr. 64bit. Firefox 27.0 beta
    I right click on a file to "open containing folder" from the drop down menu in downloads.
    When the folder has been opened, explorer is trying to index the folder (which it never does completely or well after 5 minutes I close the folder and shut down the dllhost process cause laptop is blazing hot) and memory keeps increasing till no more is available.
    I checked task manager and see that dllhost is the particular process that is causing the spike in memory usage even after closing the folder I right click and stop the process and memory is restored after awhile.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Media Encoder crash in CS6. Could not read from the source. Check if it has moved or been deleted.

    I'm having a problem getting Media Encoder to get past the dynamic link portion of encoding a time line sequence.
    I can send it over to Media Encoder, but it crashes consistently after the yellow bar saying something about dynamic link.
    I have CS6 installed in my computer here at work, it previously had CS5.5 installed on it.
    I read some answers about CS4 having this problem and tried to create a shortcut and put it in the dynamic link folder, but that didnt work.
    I would hate to have to reinstall the software here at work as the IT department is a pain- but I can't encode video on one of the computers we use here.
    Any ideas on what may be happening and how I can solve the problem?
    Thanks!
    Its a Dell Workstation with Windows 7 Ultimate installed dualE5620 processors at 2.4GHz. .
    only 6 GB RAM, and a RAID 5 hard drive setup with 3- one gb drives giving the C drive space of 1.8Gigs
    Its got an NVIDIA Quadro NVS 420 video card.
    I'm upgrading this computer to better work with editing video, so this is a good time to get this all cleaned up.
    Im adding RAM (24GBs)- replacing the video card to a GTX 780 3GB running 3 monitors.
    I'd also like to either split up the RAID (ugh)..or just add 2 internal SAS HDDs. to split up the video and the cache and the OS/programs as is usually done with editing video.
    Thanks for your help in advance...
    Mike

    ...more information...problem still not solved....
    After searching more in the forums, I tried a couple more things:
    I tried to restart AME and clearing the preferences. This didnt help.
    I also deleted the ...appData/Roaming/Adobe/AdobeMediaEncoder/6.0 folder and all subfolders   No help here either.
    I also tried to import the sequence via AME rather than export via PP. This worked. The sequence loaded immediately and processed perfectly.
    When I export via PP, I hit the queue button, it hangs for about 3 mins, then the yellow bar appears saying "Connecting to Dynamic Link server"
    it then hangs for approx 3 mins again and then I get the Failed alert.
    the error log reports:
    Encoding failed
    Could not read from source. Please check if it has moved or been deleted.
    any help available here????

  • Could not read from the source. Please check if it has moved or been deleted

    hi all,
    when i try to render a afx project from media encoder i get the following message
    "Could not read from the source. Please check if it has moved or been deleted"
    i've read on the forum that this is due to an old installation of Premiere.
    I'm using a brand new computer. the only software installed is my cs5 master collection and the updates from adobe website.
    win7 pro
    i7
    16 gig ram
    cheers
    s

    Hello, this is terrible problem, which i found in CS 6 softwares ...
    solution i found only working, is uninstall and reinstall full package.. but it is not all,
    you need to do BRAND NEW admin account in windows, and install it there.
    that means, i could not export after repair from encoder in my original account never more (!!)   .. this is really terrible way how to repair this issue, because :
    1.by reinstalling of software, client WASTE HIS TIME
    2.by necessity to begin work in another windows profile you again WASTE YOUR TIME because of learning and migrating all other profile modifications, which i see really unaccpetable. Adobe means, this solution of repair is ok, and they did not do till today any steps of creating some "clever" solution.
    I ask everybody, who will meet this issue in future, guys, please, complain about this situation, give "BUG Report" to them, and write "feature request" to them , in the way of creating some repair tool, which check actual  "broken" connections between encoder and premiere, which refuses to "take material" from it and encode, and REPAIR it automatically..  
       I am not IT, but ..does it seems so hard to create this ? Adobe IT developers should know their systems, and should create such utility tool really easy.
    Steps to reproduce bug:
    1. i export anything by button "queue" from premiere to Encoder
    2. Encoder will start encoding
    3. Encoder does not show the window of media encoding (down left )
    Results: sound of sheep occur,
    in encoding error file is this reason of canceling the encoding :
    01/02/2014 10:10:48 AM : Encoding Failed
    Could not read from the source. Please check if it has moved or been deleted.
    History of this problem and detailed description, HOW i did "repair" this. With wasting of app 2,5 days of my working time :
    1. after repairing "error 5" problem , i solved it by reinstalling the suite from the new admin user profile (profile B) . 
    I continued my work on my normal working windows profile . (profile A)
    Every cooperation (AE+Pr, export media via "queue" to Encoder) was working fine . . .
    2. suddenly it stop working (without knowing any possible reason - i did not do installations )
    and showed in error export log file :
    "Could not read from the source. Please check if it has moved or been deleted."
    3.repair via procedure(procedure "a"):
    i did this procedure on the profile B (profile from last time installation of repairing problem error 5)
    I did these steps :
    a-uninstall master coll suite
    b-i used Adobe cleaner tool (remove ALL)
    c-removed raw directories in locations
    •C:\Program Files\Adobe
    •C:\Program Files(x86)\Adobe
    •C:\Program Files\Common Files\Adobe
    •C:\Program Files(x86)\Common Files\Adobe
    •C:\ProgramData\Adobe
    d-removed these links from registry file
    •HKEY_LOCAL_MACHINE\SOFTWARE\Adobe
    •HKEY_CURRENT_USER\Software\Adobe
    •HKEY_LOCAL_MACH INE\SOFTWARE\Wow6432Node\Adobe
    •HKEY_CURRENT_USER \Software\Wow6432Node\Adobe
    e-restarted the PC
    f- newly installed the Master Coll CS6
    g-update the software
    result of repair of "3" : problem still exists
    4.Ok i find out after coordination with support, it should have been created  ANOTHER NEW admin account.
    4a:so i did the same procedure (uninstalling) in profile B
    4b: and then i created brand new admin profile (profile C)for INSTALLATION of software
    4c: restarted the pc (and did not updated it yet)
    result :
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile C) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile B) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile A) : export DOES NOT WORK ! ! !
    (in profile A, is possible to export some raw video material in encoder which is imported to it via "drag and drop)
    problem i see:, i have my basic profile A, which i am interested to work, because of all my directory modifications are in there..
    this issue should be some "broken" connections between encoder and premiere, which refuses to "take material" from it and encode.
    what i expect :
    to get from Adobe some repair tool, which automatically checks these connections and repair if necessary, without necessity of founding the new profile and reinstallation of whole software.. this is madness !
    what i do NOT expect from Adobe:
    to get from Adobe advice of kind : you have to reinstall full software in new admin profile. sorry , we do not know the solution, because we do not know, how do behave our software.

  • My utilities folder has been deleted.

    Well don't ask me how but my utilities folder has been deleted. I don't have disk utility or any of that anymore. How can i fix this?

    Download the shareware utility Pacifist 2.0 from www.versiontracker.com or www.macupdate.com. Use it to extract a fresh copy of the entire Utilities folder from the file archive on your Intel Tiger Installer DVD. The archives may not be "visible" so you will need a utility such as TinkerTool to turn on the Finder's option to display invisible files and folders.
    If you haven't emptied the Trash, then it's possible the folder may still be in the Trash. Open the Trash and check. If it's there just drag it out to its proper location in the Applications folder.

  • Desktop Folder has become package

    The Users/myname/desktop folder has become a "package" rather than a folder. No idea how this happened and the result is too many bizarre things to go into. "Get Info" on the blue desktop icon shows all permissions at read/write - but instead of saying that it is a folder - which it does on my other 3 macs - it has become a package.
    TIA for any advice about how to correct this.

    Look in it by right-clicking and using "Show Package Contents". If it contains any files you want to save, drag them to another folder. Delete the Desktop package and logout. It should create anew Desktop folder when you login.

  • Automatically add to itunes folder has stopped working

    Possibly since the recent update to itunes 10.2.1, the automatically add to itunes folder has stopped doing anything. I put music in it and then run itunes. The music stays in that folder and isn't added to the library. Has this feature been disabled? Am I missing something? Previously was working absolutely fine.

    Hi, welcome to Apple Discussions.
    It still works for me. Double check that your "iTunes Media" folder in preferences matches the folder containing the *Automatically add to iTunes* folder in question. Failing that there could be a permissions problem. Make sure both your account (or Everyone) and SYSTEM have full access to the iTunes folder and all objects below it.
    tt2

  • My user folder has disappeared from my hard drive though if I do a find for it it says it is still there. Anyone know how to restore it. I can drag a duplicate from the find window onto the hard drive but don't want two copies with one hidden.

    My user folder has suddenly disappeared from my hard drive though if I do a find for it it comes up as still being there with all its data. Can drag a duplicate copy from the find window back onto the hard drive but don't want two copies there with one of them hidden. Any suggestions anyone?

    Did you update to 10.9.3?
    If you did then update to iTunes 11.2.1.
    That is the fix for that problem.
    Allan

  • After updating to system 7.2 the library folder in my home folder has disappeared.. anyone know if this is a byproduct of OS7.2

    After updating to system 7.2 on my MacAir, the library folder in my home folder has disappeared.. anyone know if this is a byproduct of OS7.2

    Not with 10.7.2 but with OSX Lion since it was released.
    Apple has hidden the Library folder by default.
    In Finder option-click Go in the menubar and it will appear under Home.
    Or permanently with this Terminal command: chflags nohidden ~/Library
    Stefan

  • Registry name and value to check if server has internet connection

    Hi
    I want to check that if server has internet connection though registry value. Can any one help me the path of registry to check if server has an internet connection or not

    > Martin Can I get the script to check the server has an internet
    > connection ?
    Sorry, I don't have one - we never had the need to check this... Short
    VBS snippet:
    strURL = "https://www.grumpfasdklfhsdf.comm"
    Set objExplorer = WScript.CreateObject("InternetExplorer.Application",
    "IEWindow_")
    objExplorer.Navigate strURL
    Do While objExplorer.ReadyState <> 4
        WScript.Sleep 100
    Loop
    Sub IEWindow_NavigateError( pDisp, sURL, sFrame, sStatus, sCancel )
        WScript.Echo sStatus
    End Sub
     sStatus in the Sub will contain HTTP error codes. 502 for "Host not found".
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • My 4s says the other folder has 11 gigs used after i reset it. how do i fix this?

    my 4s says the other folder has 11 gigs used after i reset it. how do i fix this?

    Restore it in iTunes from your backup.

  • Error 1321 when updating Adobe Acrobat Pro even if profile has admin rights and parent folder has full access privileges.

    Error 1321 when updating Adobe Acrobat Pro even if profile has admin rights and parent folder has full access privileges.
    Exact error below:
    error 1321: the installer has insufficient privileges to modify the file C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Xtras\AdobePDF\I386\[dll file]
    Thanks in advance!

    My first thought is to not just apply permissions to the folder but be sure to apply them to all objects inside them. It would be interesting to see if you can rename this file, then rename it back to its original name; this would test permissions nondestructively.

  • Screensaver from slideshow Pictures folder has bad resolution

    Since Leopard, I have noticed that almost every other picture in the screensaver slideshow (from the "pictures Folder") has a very low resolution resulting in blocky slides.

    Had chosen wrong file for pictures.

  • Bug:  My Finder folder has 4 items but Cover Flow is showing 5.

    My Finder folder has 4 items but Cover Flow is showing 5.
    I can even click on the erroneous item in cover flow, but it doesn't atually exist.
    Mavericks, everything is updated.
    Sure, rebooting or restarting Finder might fix it, but this yet another bug with Finder I have found.

    Hello,
    Can you count the beeps or flashes?
    1 beep = no RAM installed
    2 beeps = incompatible RAM types
    3 beeps = no good banks
    4 beeps = no good boot images in the boot ROM (and/or bad sys config block)
    5 beeps = processor is not usable
    In addition to the beeps, on some computers the power LED will flash a corresponding number of times plus one. The LED will repeat the sequence after approximately a 5-second pause. The tones are only played once.
    Note: In this case, a flash is considered to be 1/4 second or 250 ms or greater in length.
    Did you get any of the Install Discs with the Macs?
    On the one with no Utilities, might try reapplying the big combo update...
    The combo update for PowerPC-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateppc.html
    The combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html

Maybe you are looking for

  • How to change Opacity Blending on multiple clips...??

    First the problem: Whenever I open a Premiere v6.5 project, CS4 does a "conversion." Maddeningly, during this process, it changes the Opacity\Blending Mode of every single clip in the project to "Color" instead of leaving it at "Normal." Since I am w

  • How to Create Webtemplate in SAP BI 7.0 without using PORTAL?

    Hi, I'm junior consultant sap BI ; I want to do a webtemplate in BI 7.0, but the firm doesn't have SAP Portal. I want to know if I can create my web template in BI 7.0, without using a portal? If I can do it, please tell me how! Thanks very much! Edi

  • Include Invoice Data to R12 CHECKS Payment

    Good afternoon to all. I have this requirements to include Invoice Number, Invoice Date, APV No., Debit and Credit Account Description, Invoice Description and Currency Code to a check but When I tried to run the report all of this fields in the outp

  • Convert datetime to 24hr

    Hi , I have written a SQL query query to select the max date of a column from a table:  SELECT MAX(datecolumn) from dbo.tablename I get result as '2014-01-23 22:53:39.683' when I execute  this in Management studio, but when I do the same in a package

  • Everytime I try to go on a tv show's page, my iTunes quits.

    Everytime I try to go on a tv show's page, my iTunes quits. I have the new Macbook Pro, and this only started happening about a week ago, when I downloaded the new iTunes. I've already tried restarting my computer several times. Any suggestions?