Could'nt delete file after processing  sender file in windows environment ?

Hi,
I have problem with sender file adapter in windows 2003 server, because the file adapter cannot delete the file after processing, seems like permission problem. but then i have set full controll access to the pi7adm (sap instance admin). but the problem still persist.
Please advise, me.
Thank you and Best Regards
Fernand

Hi,
Of course i set delete option in my CC sender, but the fail adapter couldn delete fail without any reason ?
This is the error message from RWB Could not delete file 'K:\WORKDIR\FTP\data\data1.fer1' after processing.
like i mention before i have set full access to sap admin user to the directory. but the error still persist.
any idea.
Cheers
Fernand

Similar Messages

  • After processing sender file is not deleting

    Hi All,
    I have configured the File-JDBC-File sync mode. the scenario is working fine upto last 2 days. but the problem is once the file picks and process its not deleting or archiving the file. but scenaio is working fine when i check in sxmb_moni but the error in sender file adaptor.
    Could not delete file 'abc.dat' after processing: java.net.SocketException: Broken pipe.
    in FTP server i have delete rights the other test scenario are working fine with out any error.
    Please help me to reslove this issue.
    Thanks,
    Venkat

    yes the processing mode is delete for sender communication chennal.
    I have created the other test scenario to test the processing mode is delete its working for other communication chennal. and my scenario also worked upto last 2 days. i have done delta cache and also created the new communication chennal even no luck.
    00:06:47 Success The message status set to DLNG.
    22.04.2009 00:22:42 Success The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    22.04.2009 00:22:42 Success The message was successfully transmitted to endpoint http://SAPRtest.test.com:8047/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    22.04.2009 00:22:42 Success The message status set to DLVD.
    22.04.2009 00:23:12 Error Attempt to delete file "abc.dat" after processing failed. Retry
    Please help me to reslove this.
    Thanks,
    Venkat.

  • How could I delete files with name string with "TAL" and older than 05.05.

    How could I delete files with name string with "TAL" and older than 05.05.2009 on unix

    Our ECC Ides system today was not responsible. For first time 17 users were working on the systtem (IWN2008/SQL2005 based). Before the people were maximally 5.
    The server is done by making a homogeneous system copy from an blade machine(now it is an VIrTUAL)
    There was enaught disk space. However I checked Wokload 03sdn transaction) inn system. and found out that at that time of restarting(I had to restart system 3 times to get logged on the system and even then it was almost unresponsive.
    I can found in there top abap."Login_Pw", "SESSION_MANAGER", "?". (BAtch), "ADMSBUF, >DEleyed Function call, RSPOWPOO""RSWWclear", ""VA01", "SAPMHHTP  "Buf  Sync" >DDLOC CLEANUP)""rsbtctE"
    What can I do?
    ¸
    Who could interfer SAP_CCMS_MONI_BATCH_DPSAP_CCMS_MONI_BATCH_DP
    the 2 main users under users profile were ZUGTIN running and SAPSYS( running many system jobs)
    How to approach the problem

  • How to delete file from Window server

    Hi
    Can anybody tell me that Is there any function module for deleting file from presentation server like C directory.
    Quick suggestion will highly be appreciated!!!!!!!

    Try this:
    CALL METHOD cl_gui_frontend_services=>file_delete
      EXPORTING
        filename             =
      changing
        rc                   =
    EXCEPTIONS
       FILE_DELETE_FAILED   = 1
       CNTL_ERROR           = 2
       ERROR_NO_GUI         = 3
       FILE_NOT_FOUND       = 4
       ACCESS_DENIED        = 5
       UNKNOWN_ERROR        = 6
       NOT_SUPPORTED_BY_GUI = 7
       WRONG_PARAMETER      = 8
       others               = 9
    this is pretty gud approach .
    Message was edited by:
            Nishant Rustagi

  • _tmp files in windows environment

    Hi
    I am having some problem with these ._tmp.jpg files that my mac generates while i am working in Photoshop with JPG files. Mac saves another small temp file when i save it to the network /windows/
    i have to run a batch on windows platform, but the batch always stops becouse of these system files.
    unfortunately the batch app; is written for win only so i have to find a way to remove these temp files.
    can i tell my mac somehow not to create these files on the network?
    PS
    i know i can get rid of the DC_store files by typing:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
    maybe there is a similar command line for the temp files???
    G5   Mac OS X (10.4.6)  

    Here is a script that will monitor a given directory for "._" and delete those during its next pass (every 10 seconds):
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & _
    strComputer & "\root\cimv2")
    Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
    ("SELECT * FROM __InstanceCreationEvent WITHIN 10 WHERE " _
    & "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
    & "TargetInstance.GroupComponent= " _
    & "'Win32_Directory.Name=""C:\\\\Temp""'")
    Do
    Set objLatestEvent = colMonitoredEvents.NextEvent
    strReturned = objLatestEvent.TargetInstance.PartComponent
    strFilePath = Split(strReturned, "CIM_DataFile.Name=")(1)
    strFilePath = Replace(strFilePath, """", "")
    strFilePath = Replace(strFilePath, "\\", "\")
    Set objFile = objFSO.GetFile(strFilePath)
    WScript.Echo objFile.Name
    Set File = objFile
    DeleteFiles(File)
    Loop
    Sub DeleteFiles(File)
    wscript.echo "Deleting file " & File
    If InStr(File, "._") Then
    objFile.Delete
    End If
    End Sub

  • FTP Receiver File adapter  -- CRLF In output File in Windows environment.

    Hi All,
    Idoc to File : Receiver File adapter.
    I use the endseparator 'nl' and the output file is coming correctly with NFS and It is not working when we are doing with with FTP.
    Tested with NFS (Unix environment)
    I used the endseparator 'nl' and the output file is coming with CRLF.
    Tested with FTP (Windows environment)
    When I tested the same the output file is coming with LF.
    I tried by using the module "SAP XI Sample/ConvertCRLFfromToLF" which will convert from LFToCRLF.But it is serving my purpose.
    Can anyone please suggest how I can get the CRLF in the file while putting in the output directory which is in windows environment.
    Thanks
    Seema

    Do not mention endSeparator in content conversion parameters...by default XI puts newline as endSeparator
    It should work for NFS and FTP on Windows

  • Cannot delete file on windows

    WE have an application. This application processes a list of files in a directory. Once it has processed, it is deleted. We are using the File.delete() API to delete the file. This application works fine on Unix, but when run on Windows, the delete method returns false status. It cannot delete the file and neither does it throw the exception. Is there any way to find out why this delete is failing. We have no clue.

    Maybe the file you get by the new operation
    tion doesn't exist.
    Pls check the return value of the
    the File.exists();.I can't believe that
    your code failed to delete the file if the return
    value is true.sudhirkd never said delete() returned true when it shouldn't have. Regarding exists(), it returns the value that matches the file's actual existence in the file system. Please run the following code on a Windows system to check for yourself:
            java.io.File file = new File ("temp.file");
            java.io.FileWriter out = new FileWriter (file);
            System.out.println ("file.delete() returns: " + file.delete ());
            System.out.println ("file exists: " + file.exists ());
            out.close (); // THIS IS THE IMPORTANT BIT
            System.out.println ("out closed");
            System.out.println ("file.delete() returns: " + file.delete ());
            System.out.println ("file exists: " + file.exists ());it will return something like this:
    file.delete() returns: false
    file exists: true
    out closed
    file.delete() returns: true
    file exists: false
    Once again, note that it is the explicit close() of the file writer that matters here, not running System.gc(). Relying on garbage collector is a sign of very immature implementation and unprofessional programming style. Java programmers need to be as careful about releasing resources as C/C++ programmers -- just because the heap memory is handled for you automatically does not mean you could ignore file handles, temp files, socket handles, etc.
    The example applies to Windows. Explicitly closing file handles is equally important on UNIX as well. For example, failure to do so and relying on GC may cause a JVM process to run out of file handles very quickly [default max is ~20 on Solaris unless you explicitly increase the soft porcess limits].
    Vlad.

  • Delete button doesn't work in deleting files in Windows Explorer

    Anyone is facing this problem? Delete button just works when deleting the letter we are typiing. Anyone can share if you are facing this problem and how to fix? thanks a lot.

    Windows deletion is activated from cursor on object right click options where you see rename, delete etc.
    You can delete multiple objects in Explorer's objects/list by putting cursor over 1st object, pressing the shift key and then sliding cursor down or up list to select multiply highlit objects. You right click on the group and can delete from dropdown. This can be used also to multiply rename pictures as well which is useful.

  • HT5549 I am trying to find out if I can download Java6 update 11 to my OSX 10.6.8 an how to do it. I only need it for one time use, so  could I delete it after Im done for safety. y

    Can anyone help me to download Java 6 update 11 to my OSX 10.6.8 Mac Mini? Where do I find the software on the Apple site?

    Clone your system.
    Install the 10.6.8 Java update.
    Clone back from your clone you made before installing the update when finished.

  • Cannot delete file ...bug?

    This appears like a bug to me...see if you agree.
    A file opened for read-only access and memory mapped using the map method of FileChannel cannot be deleted even when the channel is closed. An example of this is the simple Grep.java example from NIO modified only to try and delete the file. On Win2K, the delete fails. Once the channel is closed, it should be able to delete the file. Is this a bug?
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.nio.charset.*;
    import java.util.regex.*; public class Grep {     // Charset and decoder for ISO-8859-15
    private static Charset charset = Charset.forName("ISO-8859-15");
    private static CharsetDecoder decoder = charset.newDecoder(); // Pattern used to parse lines
    private static Pattern linePattern
    = Pattern.compile(".*\r?\n"); // The input pattern that we're looking for
    private static Pattern pattern; // Compile the pattern from the command line
    private static void compile(String pat) {
    try {
    pattern = Pattern.compile(pat);
    } catch (PatternSyntaxException x) {
    System.err.println(x.getMessage());
    System.exit(1);
    } // Use the linePattern to break the given CharBuffer into lines, applying
    // the input pattern to each line to see if we have a match
    private static void grep(File f, CharBuffer cb) {
    Matcher lm = linePattern.matcher(cb);// Line matcher
    Matcher pm = null;// Pattern matcher
    int lines = 0;
    while (lm.find()) {
    lines++;
    CharSequence cs = lm.group(); // The current line
    if (pm == null)
    pm = pattern.matcher(cs);
    else
    pm.reset(cs);
    if (pm.find())
    System.out.print(f + ":" + lines + ":" + cs);
    if (lm.end() == cb.limit())
    break;
    } // Search for occurrences of the input pattern in the given file
    private static void grep(File f) throws IOException { // Open the file and then get a channel from the stream
    FileInputStream fis = new FileInputStream(f);
    FileChannel fc = fis.getChannel(); // Get the file's size and then map it into memory
    int sz = (int)fc.size();
    MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, sz); // Decode the file into a char buffer
    CharBuffer cb = decoder.decode(bb); // Perform the search
    grep(f, cb); // Close the channel and the stream
    fc.close();
    // Try deleting the file =================================
    boolean deleted = f.delete();
    if (!(deleted)) {
    System.err.println("Could not delete file " + f.getName());
    System.exit(4);
    // End try deleting file =================================
    } public static void main(String[] args) {
    if (args.length < 2) {
    System.err.println("Usage: java Grep pattern file...");
    return;
    compile(args[0]);
    for (int i = 1; i < args.length; i++) {
    File f = new File(args);
    try {
    grep(f);
    } catch (IOException x) {
    System.err.println(f + ": " + x);

    Here is the minimal code that demonstrates this. It opens the file specified on the command line, maps it to memory, prints it out, and then tries to delete the file.
    There is no question about calling close on a File object. The close method is invoked on a stream or a channel. In the case of a channel, it should automatically close the stream. However, in this code I am closing the stream and the channel.
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.nio.charset.*;
    public class testFileDelete {
    public static void main(String[] args) {
              FileInputStream fis = null;
              if (args.length < 1) {
                   System.err.println("Usage: java testFileDelete <filename>");
                   System.exit(1);
              File f = new File(args[0]);
    try {
                   // Open the file
                   fis = new FileInputStream(f);
              } catch (FileNotFoundException ex) {
                   System.err.println("Error! " + ex.getMessage());
                   System.exit(2);
              try {
                   // Get a channel from the stream
                   FileChannel fc = fis.getChannel();
                   // Map the file into memory
                   MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, (int)fc.size());
                   // Do something interesting here. For this example, just print the
                   // contents of the file.
                   // Decode the file into a char buffer, so we can print the contents.
                   Charset cs = Charset.forName("8859_1");
                   CharsetDecoder cd = cs.newDecoder();
                   CharBuffer cb = cd.decode(bb);
                   // Now print it out to standard output
              System.out.print(cb);
                   // Close the channel and the stream
                   fc.close();
                   // Close the input stream even though closing the
                   // channel should do this
                   fis.close();
              } catch (IOException ex) {
                   System.err.println("Error! " + ex.getMessage());
                   System.exit(3);
              // Done processing file. Now delete it.
              boolean deleted = f.delete();
              if (!(deleted)) {
                   System.err.println("Could not delete file " + f.getName());
                   System.exit(2);

  • Can't delete files in Bridge CC :-/

    I have a problem that has just started. Normally I could always delete files from the HDD in Bridge. Yes, there is the original warning dialog about whether I want to remove the file or delete it, and I chose to delete it so I didn't get the warning message every time. This worked fine from the Stone Age until now. But recently when I try to delete a file, either by right clicking and hitting the delete option, or by hitting Ctrl+Delete, all that happens is that the next file in line is highlighted, leaving the one I wished to delete intact. What gives? I tried resetting warning dialogs and did the whole nine yards, but nothing works. Any suggestions?
    TIA

    I think it's a cache problem - I was having the same problem (as well as getting cache warnings every time I opened Bridge) - try following the instructions given here.  I did and both problems are now resolved

  • How do i know who deleted file/folder in Windows 7 ?

    Someone deleted files from Windows 7,i do not know it is remote or local.
    I want to know how was deleted ?
    And can i know what anybody doing (delete,add anything and etc.) on Windows 7 ?

    You need to enable auditing from either local policies or domain policies and apply it to the machine . you need to configure auditing on everything, you want to audit. Please following the given steps:
    1.Configure audit object access in AD Group Policy or on the server's local GPO.
    Computer Configuration --> Windows Settings --> Security Settings --> Local Policies --> Audit Policy --> Audit object Access
    Once that is in place, go to the folder you want to monitor, right click and go to properties
    2. Configure an audit entry on the specific folder's that you want to audit. Right-click on the folder-->Properties-->Advanced. From the Auditing tab, click Add and then enter the users/groups whom you want to audit and what actions you want to audit
    - auditing Full Control will create an audit entry every time anyone opens/changes/closes or deletes a file, or you can just audit for delete operations. You are now auditing that folder. You will need to monitor the event logs for the particular events.
    An alternate option available is here. You can try this utility (
    http://www.fileserverauditing.com) to find out who deleted specific files or folder. 

  • Deleted files return

    Hi,
    when I delete files in Windows Explorer on Win7x64, NC2SP3IR5 on a mapped share (NSS, SLES10SP3, OES2SP3), some of them (depends on the folder) return immediately, which I can see when I hit F5.
    If I delete them in console on the server, they don't return.
    How can I delete them permanently from the Windows workstation?
    Is there a way to disable this behaviour?
    Michael

    Originally Posted by peterkuo
    > lsof shows that "ndsd" holds this file open, but I have no idea on how to change that.
    Does this file happen to have numerics for its name? Chances is that its either a login script file or is being called via the login script and its got, somehow, "permanently" held opened. Generally in such cases, short of restarting ndsd there isn't much of an option. Of course, needs to determine how it is used would be a starting point of preventing it from happening again.
    Yes, there are numerics in its name ("PDFXVwer_2.5.214.1.exe"). They are windows .exe setup files, so no login script or sth. like that is using it.
    If I keep on trying to delete, it may work then.

  • Automatic start of particular excel file at window start up

    Hi,
    I created an excel file for reminders. That pop ups at system start up. It has a short cut in start up folder ( C:\Users\drsantoshsinghrathore\AppData\Roaming\Microsoft\Excel\XLSTART ). The problem is, that it starts up every time I start excel and show
    up in vba explorer window. I want it to open only once at system or window start up. Is there any other way, please ?
    regards.

    Hi,
    As far as I know, if we add the Excel file\template in
    Excel xlstart folder (C:\Users\user name\AppData\Local\Microsoft\Excel\XLStart.), it will automatically open the file\template  when you start Excel. Thus, we do not to add the short cut in the Excel start up folder.
    We could add the file to Windows startup folder and delete the file in Excel start up folder. And then, it'll open only once at system or window start up.
    Your personal startup folder should be C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.
    The all user startup folder should be C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Is there a similar file to windows\ssytem32\drivers\etc\hosts in OS X

    Hi,
    I am running a Windows 2003 Server with several websites. I would like to view my websites from my new Imac, however I keep getting prompted for the user name and password for the router.
    In windows on my old computer I could edit the file C:\Windows\System32\Drivers\etc\hosts with the IP address and URL of the site and it would open. Is there a similar file in the Mac OS X 10.5.7 software.
    Many Thanks in anticipation

    {quote:title=Herr Lazaro wrote: > So if /etc/hosts works reliably I'll probably switch to it}{quote}
    Adding host records by editing the /etc/hosts file is not entirely reliably. Since Leopard, some people have reported issues of the added host records "mysteriously" disappearing, or Apache not being able to properly resolve the added hosts. The bigger issue is that the modifications in the /etc/hosts file can create unwanted side effects in the normal functioning of services like the mail server and others.
    Since Leopard, there has been an alternate way to add host records using the dscl utility. In fact, by many, it is considered the better, more reliable, and safer method.
    You can read this recent article to see how its done:
    http://tomafro.net/2009/07/dscl-the-easy-way-to-add-hosts-on-osx
    There are a number of additional articles on the web about using dscl for adding host records to OS X.
    The choice, of course, is yours. If you are using the /etc/hosts file without issue, then it might be safe to continue doing so. But, if your system starts experiencing domain name resolution issues or problems with services such as the mail server, you should consider switching to and using the dslocal database to manage your host records.

Maybe you are looking for