Dublicate file to be deleted

Hi All,
             There is a file placed in the folder with name 'X' and XI will pick the file and again the same file 'X' is placed next time XI should not  pick the Dublicate file for this what to do plz help.
Regards,
Prasad.

Hi,
This will hep you:
/people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-duplicate-file-ftp-location
Duplicate File Handling using Adapter Module
Regards,
Abid

Similar Messages

  • Bug: Numbers File cannot be deleted because it is in use

    Whenever I try to delete a Numbers 09 file, I get the error message that the file cannot be deleted because it is in use. I get this without the file being open at all, so it shouldn't be in use and I should be able to delete it.

    It's actually a plain and simple file. It contains several sheets, each sheet 1 or 2 tables, but no links to external files nor links within the file from one table to another.
    And indeed, I only have it with Numbers files even if I try to delete the file immediately after startup of my computers (iMac and Macbook, both running the same versions of OS X and Numbers). If I try a couple of times, sometimes the file is deleted, but I haven't found out what has changed so that the file can be deleted.

  • I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.

    I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.  I can delete other files but several XLS files are giving me this message.

    You said it was a network drive.  So is someone else on the network using that same file or may have have left with excel still accessing it on their system?

  • File not getting deleted using File.delete()

    Hi guys,
    I have a code like this:
    File tempdir = new File("tempdir");
    tempdir.mkdir();
    File temporaryFile = new File("tempdir\tempfile.txt");
    FileWriter writer = new FileWriter(temporaryFile);
    // write data into file
    writer.flush();
    writer.close();
    try {
        // Do something
    catch (Exception e) {
        // Do something
    temporaryFile.delete();
    tempdir.delete();The program runs successfully. The directory and the file is created and data is written successfully into it. However, the file as well as directory is not getting deleted at the end of the program. I tried temporaryFile.deleteOnExit(), but this also didn't help.
    Can anyone provide some input as to what can be the possible reasons for the file not getting deleted?
    Thanks..

    I want the file to be created inside the directory I specified. Hence, I put the "\". Please let me know if there is some other way to achieve this. This way I am getting the file created at the location I want.
    One more interesting thing which I noticed. Actually this code is part of a JUnit test. In the same JUnit, I am creating new files in atleast 2-3 test methods. But the deletion of files is really random. Sometimes, 2 out of 3 get deleted, sometimes only 1 gets deleted. However, I didn't come through a single instance wherein all the 3 files got deleted. :-(
    Also, the directory is never deleted. However, I got the reason behind this. As per the File API, the directory will not be deleted if it is not empty.

  • Input file should be deleted only after the output file is successful.

    Hi Experts,
    Could you pleas solve the below issue.
                           In  a file to file scenario, the input file will be picked from a directory location and after processing output file will be placed in the output directory location specified in the receiver communication channel.
    In the sender communication channel for the scenario mentioned above, if the processing mode is given as delete, the input file will be delete as soon as the file was successfully read by the adapter, but this will not ensure that the file processing is complete and the output file is being created.
    If we have a scenario in such as way that the input file should be deleted from the input folder only if the complete process is successful and the output is generated. how can we achieve this functionality?.
    And one more thing if we got the successful output the output file should be placed in one folder. and the if the output file is having errors it should be placed in other folder.

    Hi,
    In Receiver communication channel I have used the below command in Run Operating System
    .And I have kept the processing mode of sender communication channel as test.
    cmd.exe: /C "del /Leela/test.xml"
    You are running the comman line program configured in the receiver File Adapter,but in command line you mentioned the Sender File Folder , So i guess it's not getting processed.
    Try this:
    Try to run the command line in the Sender File Adapter Side
    "Place this in " --> Run OS Command After Message Processing.
    Hope this would work and get in parrallel with u r requirement.
    regards
    Srini

  • How to recover a file i accidently deleted on OS X snow leopard?

    I added a file on the right side of my dock, when opening it the mouse slipped and it got deleted accidentally and i looked in SPOTLIGHT and FINDER and MACINTOSH HD and couldnt find anything... this was the tip given to me:
    'Open a Finder window. Look at the left side. Click once on "Macintosh HD". Now you should be able to see the Applications folder. Drag it to the Dock. Now look for the "Users" folder. Open it. Do you see a folder that looks like a house? Open it. Do you see "Documents"? Drag it to the Dock.' i tried that and didnt work.
    PLEASE HELP!!! THAT file that got deleted has all my important files.
    THANK YOU

    Do you see "Documents"? Drag it to the Dock.' i tried that and didnt work.
    THAT file that got deleted has all my important files.
    When you drag a folder to the Dock and it sticks in there (near the Trash can area) it's only a "alias" and the original goes back to where you dragged it from.
    What I suspect occurred is you accidentally dropped the original Documents folder either into the Trash or the Downloads folder, or even the Applications folder "alias" by accident and it's disappeared.
    Spotlight might not be able to search the Trash or Downloads, or perhaps you have indexing turned off for the Applications folder.
    So I suggest you manually look in those folder for the Documents folder and place it back into your User folder (home)
    Then you can try dragging the Documents folder to the Trash can area on the Dock to create the alias.

  • File-RFC-File-File not getting deleted.

    Hi all,
    In File-RFC-File scenario i have used "Delete" as the processing mode for Sender file adapter.RFC was execured successfully and successful message was shown in SXMB_MONI.But at the same time there was an exception thrown in sender and receiver file adapters as given below:
    Error when getting an FTP connection from connection pool. com.sap.aii.af.service.util.concurrent.ResourcePoolException:unable to create new pooled resource : FTP Ex:User piuser cannot login.
    Both the CC's werein error status.
    The file from source location was not deleted even after the successful processing of the message in moni. Because of this sender file adapter was reading the same source file again and again which created multiple response entries in the moni.
    Could some one tell me why the file was not deleted from source location?How can the sender adapter read the message again when the above exception was thrown?
    Regards,
    Lekshmi.

    HI Lekshmi ,
    Check whether PIUSER has sufficent authorization ., Delete that channel and  create a dummy one to test and see whether
    you are getting the same error
    Check this threads a similar discussion is going on here , may be you need authorizations .
    Re: com.sap.sql.DuplicateKeyException in file sender adapter
    Re: Processing mode - DELETE not working in Synchronous mode (File - RFC - File
    Regards
    Ninad

  • Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back? Is there a "Trash" file somewhere for deleted notes?  Thank you, Susan

    Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back?
    Is there a "Trash" file somewhere for deleted notes?
    Thank you,
    Susan

    Had you never backed up the phone before? When you saw the iTunes logo and cable, the device was in recovery mode. The data was already lost. The only way to recover from that is to restore the device, which will delete all of your data. You will only be able to restore to your last backup, whenever that was. Sorry this happened, but this highlights the importance of doing regular backups. The backup is the only protection you have against a problem like this.

  • Files not being deleted after a move

    In Elements Organizer, I move files (photo albums) to an external hard disk and I confirm that I want to have the files deleted from the C disk.  The files all get moved ok, but none of them get deleted from the C disk.  I'm afraid to just delete the C disk folder, or its contents, because I don't know what will happen.  I followed the basic little procedure in Organizer; I don't think I did anything wrong.  When the move(s) were completed i got a message from Organizer warning me that the files had been deleted and to keep track of where they went.  Can anyone straighten me out?
    Additionally, I don't know how to follow-up on this, how to get back to this Discussion once I sign off...  ( I have Windows Vista Home Premium)
    Thanks,
    Norm.

    Hi Chip,
    While deleting the users from Users and Group make sure you are deleting them from the Guest List as well.Please check and let me know.
    Thanks!
    Swetank

  • With Mac OS X can the system.log files be safely deleted?

    I just did a search of my HD using OmniDiskSweeper, and there's a file called system.log that's 8GB The path is /private/var/log/system.log Can this file be deleted without any bad effects? Wouldn't the system just create a new one when needed? I opened the file in Console, looked at some of it, and as far as I can tell I would think it's okay to delete, but I'd like to be sure before I do it. Thanks!

    I also just found a new file was created-- /private/var/tmp/tmp.1.UhmvZp after I looked in the console and had to force quit. That one is 3.3GB. Any of these files can be deleted? I know not to delete the sleepimage file, which just created another 1GB swapfile and is up to 4GB.
    In September I brought my Macbook to an Apple genius because I was loosing so much HD space without downloading or installing anything. He told me to reinstall the OS and it did help recover some space. Now I know where that HD space is going!

  • I keep getting this message "A dublicate file name was specified Windows"

    I've tried everything, this has been going on for months, and now I really need help.
    I just bought an album on itunes, had to send it to myself as a gift, to make it work. It did, but now I can't download it, because I keep getting this error: "A dublicate file name was specified".
    I'm using windows 7.
    I really hope someone can help me. The support wasn't very helpful....

    Hmm, I'm most familiar with that message in the context of syncing devices when it usual means a problem with the iPod Photo Cache. Any chance of a screenshot of the error message? What exactly do you do before it appears?
    Also try this post from b noir, he seems to know most about quirkly iTunes for Windows installs. It may be we need to track down another of his posts that covers how to completely remove iTunes and all other traces of Apple software before reinstalling.
    tt2

  • Can you recover files that were deleted?

    Hi everyone, is there anyway to find files that were deleted about 2-3 months ago? I don't have timeline and carbonite does not show the files either so they have to have been deleted over a month ago. I am a photographer and cannot find a clients session and I am afraid it was deleted...
    Thanks,
    Jayme

    Basics of File Recovery
    Files in Trash
    If you simply put files in the Trash you can restore them by opening the Trash (left-click on the Trash icon) and drag the files from the Trash to your Desktop or other desired location.  OS X also provides a short-cut to undo the last item moved to the Trash -press COMMAND-Z.
    If you empty the Trash the files are gone. If a program does an immediate delete rather than moving files to the Trash, then the files are gone.  Recovery is possible but you must not allow any additional writes to the hard drive - shut it down. When files are deleted only the directory entries, not the files themselves, is modified. The space occupied by the files has been returned to the system as available for storage, but the files are still on the drive. Writing to the drive will then eventually overwrite the space once occupied by the deleted files in which case the files are lost permanently. Also if you save a file over an existing file of the same name, then the old file is overwritten and cannot be recovered.
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.
    Unfortunately, after such a long time, if the drive has been in use then the space occupied by the deleted files has most likely been overwritten by new files making the old ones unrecoverable.

  • Why file not got deleted ?

    why file not got deleted ?
    try{
    File file = new File("path");
    file.delete();
    S.O.P(file.exists());
    }catch(SecurityException e){
    e.printStackTrace();
    It prints "false". Yet file exists with content zero bytes.
    Any way to remove the file completely ?

    One thread is enough.
    [http://forums.sun.com/thread.jspa?threadID=5366203]
    Locking.

  • Can i get back the backup file what i deleted on icloud?

    Can i get back the backup file what i deleted on icloud?please, help me. thanks

    You can't. iSync has been discontinued since Mac OS 10.7 Lion. iSync has no connection with iCloud anyway.

  • Error opening file - file is busy (delete) (-47)    Why?

    I am trying to render and generate an animated GIF, in AE CS4.   When I kick off the render queue, I receive the following error:
    "After Effects error:  opening file: "<filename>" - file is busy (delete) (-47).     (3::130)
    Per information in other threads/forums, I have changed my cache disks,  changed the location that the output should go to (new folder, completely different disk),   I have shut down and restarted the program, again per other suggestions.
    If I render as a Windows VIdeo (AVI) rather than an Animated GIF it works fine.
    If I launch AE to "Run As Administrator", it works fine, and appears to render the Animated GIFs fine.  My user account has admin privs, btw.
    Seems that this might be a bug, since I can render anything BUT Animated GIFS without having to "Run As Admin".
    Anyone else seen this?
    Thanks

    Well, I was a bit early on the "Run as Admin" thing.  The error is still happening.
    I can consistently stop the error from happening by FIRST rendering as an AVI, and then SECOND rendering the same thing as the Animated GIF.
    Very wierd.

Maybe you are looking for