Can we delete file which are in read only mode?

Hi,
I created application and in this i accessing some files and changing its access mod to read only through JAVA and after that i want to delete those file through FLEX.
Is there any way to change file mod in FLEX and delete read only file through FLEX. Please show me the way.
Thank You

This should help you:
- http://docs.huihoo.com/flex/4/flash/filesystem/FileMode.html
- http://www.flex-blog.com/save-data-to-file-system-with-air-in-flex-4/

Similar Messages

  • Deleting files which are offline.

    What is the best way to get Lightroom to delete files which are offline? I don't use lightroom as a database or DAM - for that i use iMatch. I use lightroom only to process the raws and hate to see the thumb files with a question mark on them when they are really not available locally.
    Sometimes i wish lightroom behaves like the photoshop bridge program in that it will display only files that are available but i understand that lightroom does what it does because it also acts as a DAM program - that's why it still keeps the thumb files even though they don't really exist locally. But i don't want to see them if they are not available - is this possible and what's the best way to batch delete all question-marked files? Thank-you. 

    Of course doing as John suggests mean all edits, history, snapshots, collection information, virtual copies are gone, gone, gone.
    As you've said yourself, Lightroom is a database, not an browser and having access to offline files is a reason why people use Lightroom. Missing file handling could be better, but if you want to files on a missing volume, click on the Volume browser to close the folder view. Of course you'll still see the missing files in collection.

  • Role properties are in read only mode

    Hello
    I have created a role in portal and now i am trying to make it's ENTRY POINT Property as Yes. But folders and worksets are in read only mode, how to make it an edit mode. Can anyone help please?
    I have super_admin_role assigned to my username (group: Administrators)
    Thanks
    Dubravka

    Dubravka,
    Please check the button "Edit Mode" is enabled for the role when try to modify role's properties. If its enabled then press the button "Edit Mode" to change the read only mode.
    Ram

  • Files are in READ ONLY mode

    I have a file server 2003 with shared folders. I have " FULL CONTROL" on all the folders. However, when someone else saves a document in one of the folders, it opens in READ ONLY mode on my Windows 7 machine, Office 2013. When I log into the server
    itself, I can make any changes to the file. Not from my windows 7. 
    any ideas?
    thanks

    Hi,
    This issue may occur if the following conditions is true:
    The network folder is open in Microsoft Windows Explorer and you are using Details view to display additional details (such as the author or title) for files in the folder. Windows Explorer reads the contents of the files in the folder to obtain the additional
    details. If a program tries to open a file exclusively and Windows Explorer has the network file open to extract this additional file information, a sharing violation occurs.
    You could turn off the details pane in Windows 7 to resolve the issue. Details Pane can be turned off on the open folder with the Organize dropdown:  Organize->Layout->Details Pane.
    For more detailed information, please refer to the thread below:
    Office document always opens in read-only when opening from a network folder (Windows 7 + Office 2010 with Swedish language pack)
    http://social.technet.microsoft.com/Forums/office/en-US/2800f53b-67a3-48a1-864a-8e61b1537dfb/office-document-always-opens-in-readonly-when-opening-from-a-network-folder-windows-7-office?forum=officeitproprevious
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Not able to open XMind files from IE in read only mode

    I have configured my SharePoint Farm to support .xmind file types
    Below are the steps I have done
    1.  
    Added an entry in DOCICON.XML
        <Mapping Key="xmind" Value="xmind_file1.png" EditText="XMind Mapping Software"  OpenControl="SharePoint.OpenDocuments"/>
    2. Added an entry in htmltransinfo.xml
        <Mapping Extension="xmind" AcceptHeader="application/vnd.xmind.workbook" HandlerUrl="" ProgId=""/>
    3. Added a MiME type 'application/vnd.xmind.workbook' in the Inetmgr.
    Now, xmind files are getting detected, but I am not able to open xmind files in read only mode from IE.
    Xmind files are working perfectly from Mozilla, but my client wants the xmind to be working perfectly from IE.
    Need a help on this issue....

    Hi Aries,
       Please find the screenshot below , while I am trying to open the xmind file in read only mode. It is redirecting the user to a blank page...
    Also please find the extract from the fiddler when trying to open it after selecting the read only mode
    GET http://myserver/sites/Team_test_8/Documents/file1.xmind HTTP/1.1
    Accept: text/html, application/xhtml+xml, */*
    Referer:
    http://myserver/sites/Team_test_8/Documents/Forms/AllItems.aspx
    Accept-Language: en-US
    User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Accept-Encoding: gzip, deflate
    Host: myserver
    If-Modified-Since: Tue, 22 Apr 2014 06:40:41 GMT
    If-None-Match: "{3243523D-B412-4437-A587-FA02D4C3C763},9"
    Connection: Keep-Alive
    Cookie: WT_FPC=id=125.22.78.82-1203562128.30325182:lv=1398735003583:ss=1398735003583; WSS_KeepSessionAuthenticated={ce7264f1-49e7-4483-9413-eed8c6929dd7}; ASP.NET_SessionId=knrzwvfb03puo1551qwl3lut
    Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==
    HTTP/1.1 401 Unauthorized
    Server: Microsoft-IIS/7.5
    SPRequestGuid: 16c42597-cfa9-4993-a19a-539ae9b5a7ec
    WWW-Authenticate: NTLM TlRMTVNTUAACAAAAEAAQADgAAAAFgomiyxgpfwFl18AAAAAAAAAAAKQApABIAAAABgGxHQAAAA9FAFIASQBDAFMAUwBPAE4AAgAQAEUAUgBJAEMAUwBTAE8ATgABABYARQBTAEUAUwBTAE0AVwAyADQAMgA1AAQAFgBlAHIAaQBjAHMAcwBvAG4ALgBzAGUAAwAuAEUAUwBFAFMAUwBNAFcAMgA0ADIANQAuAGUAcgBpAGMAcwBzAG8AbgAuAHMAZQAFABYAZQByAGkAYwBzAHMAbwBuAC4AcwBlAAcACACy5d2OcGPPAQAAAAA=
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 14.0.0.6114
    Date: Tue, 29 Apr 2014 06:02:10 GMT
    Content-Length: 0
    Proxy-Support: Session-Based-Authentication

  • How can be delete file which is created with spool command on Oracle Server

    Dear Experts,
    we have ccreated a file in oracle with DBMS_SQL Package now i want to remove this file from Server with oracle commend or Scheduler .
    Please help us.

    user8725480 wrote:
    Host Script i am not aware about that. Could you please tell me about the same.Using the DBMS_SCHEDULER package you can launch an external executable. Using this you can launch a host script in a language of your choice (BASH, VBS, etc) to perform the actions you require.

  • SP2013 and Project 2013 - project files open in read-only mode with no options to edit only Save As

    Hi all,
    Environment:
    SharePoint 2013 (15.0.4420.1017)  RTM
    Windows 8 - Project 2013 (15.0.4433.1506) 32Bit
    Issue details:
    When opening .mpp files stored within SharePoint they are opened successfully within Project 2013 however they are opened in Read-Only mode with no options to edit/check out only Save As.  The
    same outcome is experienced if you click the document link within SharePoint or you chose to edit from the document menu. 
    Opening the file through windows explorer also opens only in read-only mode.
    To date we’ve tested the following
    Windows 7 – Office 2010 = working as expected
    Windows 8 – Office 2010 = working as expected
    Windows 7 – Office 2013 = opening as read only, no prompt to edit
    Windows 8 – Office 2013 – opening as read only, no prompt to edit
    Current thinking is that it is an issue with either the SharePoint Office Documents Class ActiveX control or Project 2013 itself interacting with SharePoint 2013.
    We have tested this in multiple SP2013 environments with the same outcomes.
    The workaround therefore is to save locally and then upload again which is not ideal.
    Unable to find an exact issue match to this.
    Any help with this appreciated.

    Hi Dan,
    For us after investigating this further it was found that using the document menu to edit or checkout and then edit results in the project file being opened in read-only mode. 
    The same issue was present for Visio files.
    Using the FILES ribbon menu results in the document being opened in edit mode successfully in both Project and Visio.
    Please note that we found that this issue only exists within document libraries where checkout is required to edit which was our case.  If checkout is not required the document
    menu can also be used as expected.
    Cheers,
    Dan

  • Open MS word file in read only mode

    Hi All,
    Is there any function module or method to open an MS word file (which is not read only ) in read only mode.
    User should only be able to see the document ,he should not be able to make any changes.
    Regards,
    Mukul Sharma.

    Hi,
    Where is the document stored? In a content server? In BDS? In a directory?
    Regards,
    bert

  • TG4MSQL ora-28500 error on RECOVER login in READ-ONLY mode

    We're connecting from a 10.2 dbase to SqlServer2000 via TG4MSQL. No upfront problem connecting but the Oracle .trc file shows below error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'RECOVER'. (SQL State: 00000; SQL Code: 18456)
    Below is the content of .ora file:
    HS_FDS_CONNECT_INFO=INETSQL3.ComPro
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    We are using READ-ONLY mode so the RECOVER login was not defined on SqlServer.
    Anyone know why TG4MSQL is trying to open a connection as RECOVER? And is there a way to stop it?

    Pending transactions turned out to be the culprit. Below is info from our TAR that
    provides some detail on what RECOVER is doing.
    Oracle handles all transactions as if they were distributed transactions. He takes a very conservative approach on the assumption that you may want to update
    or insert later. This has been like this since Oracle version 6 and will never
    change. Hence all transactions get handled as a distributed transactions even though there are no simultaneous updates. A common remote transaction would involve reading from SQL Server and then taking that data an inserting into an Oracle database. In the event a transaction gets aborted for some reason RECO must rollback the transaction. SQL Server requires a valid username/password and hence uses the recovery username/password specified in the gateway init file. The default parameters for both are RECOVER , if they are omitted in the init.ora file for the gateway. Obviously these do not exist on SQL Server. Note that this recovery process is detected and processed by the Oracle kernel. READONLY mode only prevents inserts, updates or deletes to be issued to SQL Server and nothing else. The gateway has nothing to do with handling and monitoring transactions to SQLServer. In all likelyhood you have several in doubt transactions in the dba_2pc_pending view. As long as those entries remain RECO will continue to try and rollback these in doubt transactions and fail each time due to an invalid username/password. This will go on until you either manually remove them or give RECO a valid SQL Server username/password to use.
    OPTION 1
    ==========
    Code the follwing in your gateway init.ora file
    HS_FDS_RECOVERY_ACCOUNT=use the username specified in your db_link
    HS_FDS_RECOVERY_PWD=use the password specified in your db_link
    OPTION 2
    ==========
    Define a username with password RECOVER on the SQL Server database you are connecting to
    OPTION 3 (Manually removing in doubt transactions)
    ================
    Use dbms_transaction.purge_lost_db_entry(local_tran_id)
    STATUS should be in collecting
    Please see Metalink
    Note.126069.1 Ext/Pub Manually Resolving In-Doubt Transactions Different Scenarios
    for detailed information

  • ChecksumExceptions in read only mode

    I'm using SleepycatJE 3.3.87 to read from multiple BDBs that are in read-only mode. Recently I've started get ChecksumExceptions after my application runs for awhile. I tried upgrading to 5.0.58 and rebuilt my BDBs, but no luck. The error I am seeing is:
    (JE 5.0.58) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 5.0.58) /apollo/env/timex/bdb com.sleepycat.je.log.ChecksumException: Location 0xf/0x6533b expected 112421487 got 3809318525 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0xf/0x6533b parent IN=14282 IN class=com.sleepycat.je.tree.IN lastFullVersion=0xf/0x9720a lastLoggedVersion=0xf/0x9720a parent.getDirty()=false state=0 { com.amazon.timex.classification.ClassificationException: (JE 5.0.58) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 5.0.58) /apollo/env/timex/bdb com.sleepycat.je.log.ChecksumException: Location 0xf/0x6533b expected 112421487 got 3809318525 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0xf/0x6533b parent IN=14282 IN class=com.sleepycat.je.tree.IN lastFullVersion=0xf/0x9720a lastLoggedVersion=0xf/0x9720a parent.getDirty()=false state=0
    Any help?

    Hi,
    I'm using SleepycatJE 3.3.87 to read from multiple BDBs that are in read-only mode. Recently I've started get ChecksumExceptions after my application runs for awhile. I tried upgrading to 5.0.58 and rebuilt my BDBs, but no luck. The error I am seeing is: I have a few questions.
    Is the exception in a read-only env? And is there a process writing at the same time?
    When you say you've upgraded and rebuilt your databases, do you mean that you started again from an empty environment directory? How long did it take for the error to occur again after you rebuilt the databases?
    Please run the DbVerifyLog utility on the environment and post the complete stack trace along with a listing (ls -l) of the environment directory.
    Thanks,
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • MySites in read only mode.

    Hi,
    Our Office 365 MySites are in read only mode. I suspect that this could be due to an upgrade, however it has been long and the sites have not returned to edit mode. Is anyone else facing this issue?

    there was a service interruption on 22 april, I hope it is working all fine now !

  • I'm trying to open files which are telling me to instal Adobe Reader.  Which I did but the agreement which needs to be ticked off so this reader can open doesn't come up.  Please could you be of some assistance.

    I'm trying to open files which are telling me to instal Adobe Reader.  Which I did but the agreement which needs to be ticked off so this reader can open doesn't come up.  Please could you be of some assistance.

    Select one of the files, Choose GetInfo from the Finder's File menu, look for the field named "Open With", and choose Preview from the adjacent menu. Accept that ALL such files will Open with Preview, and your major problems should be solved.
    Occasionally, a particularly complex .pdf file or one that needs to be modified and re-written will not work quite right with Preview, but such issues are rare.

  • How can i restore the files which are important to me which i suddenly delete the files in download?

    i nid to restore the file which i suddenly delete in download.. i was about to delete the files which are not important but i suddenly delete the files which are important... how can i restore it??

    Check the Windows recycle bin, you may be able to recover the files from there. Right-click on the recycle bin icon on the desktop and select Open. This will open Explorer, if the files are listed there, right-click on them and choose Restore.
    If the files are not in the recycle bin, you can try a file recovery utility such as recuva - http://www.piriform.com/recuva

  • Can not delete files from Adobe reader

    can not delete files from adobe reader.

    Can you let us know a little more about what you are trying to do? Adobe Reader opens pdf files but does not store them so, there's nothing to delete.

  • I have a new Apple TV which is working fine except that I cannot access .mov files which are in my iTunes Library. How can I get to these? I can run them on my computer and select Apple TV on the screen, but the Apple TV goes to a black screen

    I have a new Apple TV which is working fine except that I cannot access .mov files which are in my iTunes Library. How can I get to these? I can run them on my computer and select Apple TV on the screen, but the Apple TV goes to a black screen

    Mov is a container format, you'd need to look at the codec used by the movie file inside the container to know whether it will work with the Apple TV or not.

Maybe you are looking for