Removing a file

I want to delete a file from an iFS Directory programmatically,
using sql from the database side ..
Can this be done?
what records do I need to remove?
Thanks for your time,
Cathal

You shouldn't manipulate the iFS schema directly. The java API is what you should use to make changes to the iFS system programatically. With the API set up properly, you create a new LibraryObject as appropriate, then just free it.
LibraryObject lo = new LibraryObject(...);
lo.free();
This is all in the Javadoc and various examples though
Hope this helps...

Similar Messages

  • I keep getting blue screen and error message to remove this file from system. spooldr.sys

    HP Officejet 4500 Wireless All-in-One Printer - G510n    w/operating system     Windows XP Professional
    I installed the printer in February and the disk did not finalize the setup process.  I went online and
    down loaded the drivers and software that was offered from the HP website.
    The printer works, but as the months have gone along, I keep getting updates for the printer and
    the system needs to reboot and it does automatically.
    Now I am getting a blue screen with a critical dump error message.  HP error reporting keeps sending
    the same message back to restore to earlier date before the updates.  That worked for awhile.  Now
    HP Error system says that malware has corrupted and needs to remove system file     spooldr.sys
    Is this in your driver software.  Spooldr is the system that caches pages of data for printing in chronological
    order....
    Can I uninstall my software and drivers and change to the plain & simple, print and scan to prevent the
    spool driver from loading to my system?

    Thank you for your input.  But, It is amazing that you can tell me that I was infected with  rootkit. 
    Without information as to how to fix, your information is after the fact and useless.
    I used the Safety Scanner provided to me by HP.  A full scan didn't detect any Malware in any files on my system.  But the last screen dump provided the information that   spooldr.sys  was corrupted and  needed
    to be removed.  
    Coming into HP Form, I did read on the HP website that my system Windows XP Professional was not listed
    and noted that the software may have not been just what I needed.  This was the reason for the question
    about uninstalling and reinstalling less of the program.  I really don't need my printer to print backward and
    that is all I see that it is doing that other printers don't.
    Besides, Kudos goes to the person from HP who sent the email,  suggesting I used the HP Update software and drives recommended  for my computer system.  Computer, printer is working, back to normal and hasn't taken a dump since, I uploaded  software and drives for Windows XP Professional.

  • Error 550 when using CFFTP to remove a file

    I'm using cfftp to download files which I parse, then I need to delete the file from the server. (coldfusion 11 - development)
    I can list, and download the files fine, but am butting my head into a problem that I can't seem to resolve.
    USING THE SAME PATH AND FILE NAME that allowed me to 'get' the file - When I try to remove the file - I get this error.
    Error: 550 file: No such file or directory .
    (again - the path and file name I provide are identical to the path/filename -
    if this is a permission problem, I can delete files thru Filezilla, using the same credentials - with no problem)
    Here is the call to remove -
        <cfftp  action="remove"
                connection="myConnection1"
                passive="true"
                timeout="360"
                remotefile="#myPath##fileName#"
                item="file" >

    I'm not sure where you got the "This is not what the docs say" part.  Looking down the list of CFFTP attributes in the CF11 docs that apply to a "remove" operation, those were the attributes I would have expected to need.  Although I agree the examples could be clearer and a specific example of removing a file would be useful.
    -Carl V.

  • Cant remove a file from a directory

    hi gems...god morning...
    I am facing an issue but i cant figure it out..
    I have two users which belong to same group i.e. user1 and user2
    Now user1 owns a directory(dir1) and the permission is 775.
    Now user2 makes a FTP and places a file(fil1) into that directory(dir1) owned by user1.
    The umask setting is 027 and thats why in that directory(dir1) the file permission becomes 640.
    But when i am trying to delete that file(fil1) using user1, then it is not allowing me..
    what can i do..please suggest...thanks in advance...

    thanks for replying...
    It really looks strange and all i thought it is a code problem..
    Means the scenario i have told here is not from the direct access to the solaris box...
    It is happenning when a batch job is being called from there. The operations the batch job does is to take the file, do some processing and then remove that file. Everything is getting successful except the last step.
    But when I tried from the backend(direct access through putty) then it behaves normally.
    So i am confirm that it is a code issue. I have told the developers to check the code.

  • How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac.  Now I can't remove her e-mail address from Facebook.  It was suggested to me that I try clearing temporary files from Safari but I can't find

    How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac running Mac OSX 10.7.5 and Safari 6.1.6.  Now I can't remove her e-mail address from my computer.  When I open Facebook her address shows in the user button.  I do not have a Facebook account.  It was suggested to me that I try clearing temporary files from Safari but I can't find anything that tells me how to do this.  Are temporary files the same as the cache?  It also was suggested that I try clearing Safari cache.  How do I do that?

    Check Safari/Preferences/Passwords to see if the Facebook account is there. If so, select it and remove it. If you are still having problems, Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. If that doesn't work, Safari/Reset Safari.

  • How can I remove .nrw files from my NOKIA Asha 200...

    When I am connecting my NOKIA Asha 200 with my PC by data cable, I am watching almost 50 nos. *.nrw files inside the Image folder. I tried to delete all those file, but I was unable. Is there any one, who can tell me how to remove those files from my phone memory?
    Thanks & regards,
    Sudip Sinha.
    Calcutta.
    India.

    Back-up your data and then Factory Reset your phone ...(Menu-->Settings-->Restore Factory settings-->Settings only.. followed by 12345 which is default security code, unless set by you) .. When the phone reboots, check whether these .nrw files are now converted to .jpg .. If so, you should be able to delete them now ...

  • How to make button to format a HardDrive or USB, How to remove all files from folder, and How to delete a process in listbox with a textbox?

    Hello!
    Here's the question with explaniation: How can i format the USB or Drive by clicking a button what's meant for it?
    and the second question what's also in vb.net: How can i remove all files from folder ? 
     Here's the Look of program: *
    Using the PC button, it will delete the free space of the PC, do you guys/girls know where it's location?

    Example Code:
    Imports System.Runtime.InteropServices
    Imports System.IO
    Public Class Form1
    Dim CBoxDrives As New ComboBox
    WithEvents FButton As New Button
    <DllImport("shell32.dll")> _
    Private Shared Function SHFormatDrive(ByVal hwnd As IntPtr, ByVal drive As UInteger, _
    ByVal fmtID As UInteger, ByVal options As UInteger) As ULong
    End Function
    Private Enum SHFormatFlags As Integer
    SHFMT_ID_DEFAULT = &HFFFF
    SHFMT_OPT_FULL = &H1
    SHFMT_OPT_SYSONLY = &H2
    SHFMT_ERROR = &HFFFFFFFF
    SHFMT_CANCEL = &HFFFFFFFE
    SHFMT_NOFORMAT = &HFFFFFFD
    SHFD_FORMAT_FULL = 0 ' full format
    SHFD_FORMAT_QUICK = 1 ' quick format
    End Enum
    Private Sub FButton_Click_1(sender As System.Object, e As System.EventArgs) Handles FButton.Click
    If CBoxDrives.Text = "" Then
    MsgBox("No Drive Selected")
    Exit Sub
    End If
    Dim Iresult As ULong = SHFormatDrive(CType(Me.Handle.ToInt32, IntPtr), CUInt(Asc(CBoxDrives.Text.Substring(0, 1)) - Asc("A")), CUInt(SHFormatFlags.SHFMT_ID_DEFAULT), 1)
    End Sub
    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    Me.Size = New Size(200, 100)
    With FButton
    .Size = New Size(50, 25)
    .Location = New Point(5, 5)
    .Text = "Format"
    End With
    Me.Controls.Add(FButton)
    With CBoxDrives
    .Size = New Size(50, 25)
    .Location = New Point(75, 5)
    .DropDownStyle = ComboBoxStyle.DropDown
    End With
    Me.Controls.Add(CBoxDrives)
    Dim DrivesFound As Integer = 0
    Dim allDrives() As DriveInfo = DriveInfo.GetDrives()
    Dim d As DriveInfo
    For Each d In allDrives
    If ((d.DriveType = DriveType.Fixed) Or (d.DriveType = DriveType.Removable)) AndAlso Environment.GetEnvironmentVariable("SYSTEMROOT").StartsWith(d.Name) = False Then
    CBoxDrives.Items.Add(d.Name)
    DrivesFound += 1
    End If
    Next
    CBoxDrives.SelectedIndex = DrivesFound - 1
    End Sub
    End Class

  • How can I remove a file on server w/ my JSP app running on Tomcat 7 ?

    First of all, I'm posting here because I found it the closest to java web development in the forums listing.
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?
    My code is
    public static void excluirArquivos(String nomeArquivoExcluido) {
              File arquivoExcluido = new File (nomeArquivoExcluido);
              arquivoExcluido.setWritable(true, true);
              SecurityManager sm = new SecurityManager();
              try {
                   sm.checkDelete(arquivoExcluido.getAbsolutePath());
                   System.gc();
                   if (arquivoExcluido.delete()) System.out.println("File '" + nomeArquivoExcluido + "' successfully removed.");
                   else System.out.println("File '" + nomeArquivoExcluido + "' wasn't removed somehow.");
              } catch (SecurityException se) {
                   System.out.println("File '" + nomeArquivoExcluido + "' can't be excluded. There is no permissions.");
         }And it always falls on the catch statement.

    899238 wrote:
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?1. make sure that the JVM has the (filesystem) rights to be able to remove said file
    2. make sure the file is in fact not locked (for example, opened by another process)
    3. use File.delete()
    There is no guarantee that you can delete a file, you can only make an attempt. There can be any number of reasons, most if not all of them not related to code, that the deletion of a file does not work.

  • How do I remove backup files from desktop

    I am having difficulty removing backup files that are locked from my desktop that I transfered from a backup external hard drive. It starts to delete but whern it gets to 0 it rewrites the file. this happens evn after I answer "remove all locked files".
    Thank you
    John Roberts

    I was able to delete the backup.backup files once I :
    1.  ran disk repair
    2. disconnected the external drive and restarted.
    Also the 1password.backup files
    ( Other discussions helped greatly.)
    Thank you,
    John5

  • ITunes 11 previously imported a video file, which I loaded on to my iPod Nano, but I removed the file from the iTunes library and now it won't (re-)import the same video. Any thoughts on why not?

    iTunes 11 previously imported a video file, which I loaded on to my iPod Nano, but I removed the file from the iTunes library and now it won't (re-)import the same video.
    I'm using 2 PCs, each with video files (.MP4) on their respective hard drives, and also one external drive with other video files on that I move between the two devices.
    iTunes on one PC will (sometimes!) let me add video content from the external hard drive, which is clearly iTunes-compatible, because I can then copy it over to my iPod Nano. On the other PC, I couldn't load that same video from the external hard drive. But if I copied that same video on to the PC's internal hard drive first, then iTunes would let me import it. That was yesterday - now iTunes is refusing to load any files from the internal or external hard drive(s).
    Any thoughts or suggestions, please?

    So I tried copying the files from the external hard drive to a USB drive. I could import the video files from the USB drive!
    So then I tried importing the same files on to my PC's internal hard drive again. I could import the video files from the internal hard drive!
    So then I tried to import the very same files that failed to load on the very same PC previously. I could now import them!
    I still can't import from the external hard drive directly, though.
    I really don't think I like the process of importing things into iTunes very much... any suggestions on what's causing any of this behaviour would be very interesting.

  • How do i remove a file from my favorites list on my hard drive

    how do i remove a file from my favorites list on my hard drive.  i was trying to put a file in my documents, and it added it to my favorites.  i have tried to drag it off but it won't disappear and it won't go into the trash either.  any suggestions.  i think it is simple because i have done it before, but can't remember what i did to correct it.  thanks

    Try Holding the CMD Key as you drag it off...

  • How to streamline and remove duplicate files on my HD before I backup?

    How to streamline and remove duplicate files on my HD before I backup?
    is there a good program or freeware that can automate and isolate when I have
    duplicate files hiding in the many folders on my Drive... Yes, in a perfect world
    I should know better than having a Drive that is not perfectly organized
    I think there is something called SpringCleaning for windows
    is there something like this for Mac?
    Time machine won't let you remove something after you realized you backed
    up two of the same files... Thanks for ideas

    +is there a good program or freeware that can automate and isolate when I have
    duplicate files hiding in the many folders on my Drive.+
    You should back up your drive with Time Machine before you delete any files in case you make a mistake.
    Tidy Up! - 1.3.2
    http://www.versiontracker.com/dyn/moreinfo/macosx/17908
    +Time machine won't let you remove something after you realized you backed
    up two of the same files.+
    Click on the Time Machine browser icon on the dock. Locate the duplicate file you wish to delete and highlight it. Click on the button with the gear on and choose Delete "all backups of".

  • How to remove log file on maxdb

    Hi,
    I have installed IDES ECC 5.0 on MaxDB 7.5. I have 4 files size of 1 GB and I would like to remove it.
    Is it possible to remove log files without Complete Data Backup procedure in Database Manager?
    Is it helpfull to switch database in Overwrite Log Mode?
    We use a testing sistem without needs for recovery procedures.
    Regards,
    Aleksandar

    Hi,
    you should not delete the logvolumes.
    For your case it would suffice to switch on the auto-overwrite mode of the log.
    You can do this most conveniently by using the Database Manager GUI.
    1. Put the DB instance in state ADMIN
    2. Goto 'COnfiguration' -> 'Log Settings'.
    3. From the wizard select 'Overwrite Mode...' and follow the described follow-ups.
    Kind regards,
    Roland

  • How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation bcoz of earlier files

    How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation of the new version because of the existance of files from the previous version.plz help

    What "app cleaner software" ? I ask because installing Photoshop over a previous version has never been a problem. Perhaps your difficulty stems from another source, eg. "cleaner software" ?
    If you look in your hard drive, at the root level there is a Library. In there is a folder called Application Support, and in that you will find a folder called Adobe. Files from your previous version are there.
    However, I urge you to call Adobe support to make sure you are not doing anything that would mess up other Adobe applications.
    http://www.adobe.com/support/connect/connecthostedsupport.html

  • Kernel Upgrade Error :Cannot open or remove a file containing a running prg

    Hello All,
    I have installed ECC 6.0 on DB2 /AIX and now trying to apply Kernel Patch 75 but after Uncar of SAR files and moving the same to EXE (/sapmnt/PRD/exe) I am nota ble to copy few files, Follwoing error is coming.
    As a reuslt of this error Dispatcher is not starting in PRD.
    cp -p /sapinstdir/kernelpatch/indep/dw_gui.o /sapmnt/PRD/exe
    cp: /sapmnt/PRD/exe/dw_gui.o: Cannot open or remove a file containing a running program.
    cp -p /sapinstdir/kernelpatch/indep/libregex.o /sapmnt/PRD/exe
    cp: /sapmnt/PRD/exe/libregex.o: Cannot open or remove a file containing a running program.
    cp -p /sapinstdir/kernelpatch/db/dbdb6slib.o /sapmnt/PRD/exe
    cp: /sapmnt/PRD/exe/dbdb6slib.o: Cannot open or remove a file containing a running program.
    cp -p /sapinstdir/kernelpatch/indep/dw_stl.o /sapmnt/PRD/exe
    cp: /sapmnt/PRD/exe/dw_stl.o: Cannot open or remove a file containing a running program.
    cp -p /sapinstdir/kernelpatch/indep/dw_xml.o /sapmnt/PRD/exe
    cp: /sapmnt/PRD/exe/dw_xml.o: Cannot open or remove a file containing a running program.
    cp -p /sapinstdir/kernelpatch/indep/dw_xtc.o /sapmnt/PRD/exe
    cp: /sapmnt/PRD/exe/dw_xtc.o: Cannot open or remove a file containing a running program.
    Plesae help me to resolve this issue.
    Regards & Thanks,
    Ankita.

    Hi All,
    When a shared library with read-other permission is loaded, it remains loaded (and available) even if no processes are currently using it. This allows faster execution, but may result in a message like "Cannot open or remove a file containing a running program" on installs or rebuilds of application libraries.
    Refer to the man page for subroutine dlopen and command slibclean.
    Regards,
    Mukul SHarma

  • I am trying to install iiji reactor but it install but at then end it fails and it say following Feature: ijji Auto Installer Component: iAIFile1 File: C:\Program Files (x86)\Mozilla Firefox\Plugins\ . Please help how i can remove this file at plugins.

    When i try to install ijii reactor it install almost ill end but then fail error is following:
    Feature: ijji Auto Installer
    Component: iAIFile1
    File: C:\Program Files (x86)\Mozilla Firefox\Plugins\
    How i i remove this file because it says thath already exist?

    You need to download this file: http://www.ijji.com/hanstartguide4ie.nhn
    Run it and it'll remove the browser plugin from Firefox. Then re-run Reactor installer.

Maybe you are looking for

  • Error message on the new iOS 4.3.5 update (err= -3259).

    Ive tried to update my 3G Ipod Touch with the new iOS 4.3.5, but when the download is on the last 0.1 MB it says ive lost connection, when I havent. Everytime it stops working I get a error message (err= -3259). How can I fix this without taking down

  • Ootb 2010 approval workflow question

    I have been trying to resolve a custom ootb approval email issue (in another thread) and have not gotten a solution - but I have come across a general question that could be realated but I dont know the answer and have not been able to find this in t

  • ABAP ECLIPSE Plugin from CEON

    Hello everyone, I am a big admirer of the Eclipse IDE and so was pretty excited when I came to know that a plugin for ABAP has been developed by CEON http://ceon.nl/abapeclipse/. I would like to know about your views on this product and whether anyon

  • Did 11.1 restore the iTunes 10 feature of opening two iTunes windows at the same time?

    I use an iPod Classic and I like rating my songs. When I get home from a trip, I will open two iTunes windows and play with the iPod music and iTunes music at the same time. I cannot upgrade to iTunes 11 because this feature was (stupidly) missing. D

  • Where do i find the screen to register for efax.

    Trying to register for efax. so I can send/get faxes help says go to home page , select printer, then my apps. I can't find that info on home page of eprintcenter.com Is there different home page? Where do I start? printer phtosmart 6520  windows Vis