Tracker 0.8.3 and file content indexing

Hi forum,
yesterday I decided to reinstall meta tracker for indexing my system but I had some problems: I don't need to index file contents, I just want to index file names and the possibility to tag files. But in the tracker config dialog there isn't any kind of check box for disabling the content indexing. Does anyone know how to disable file content indexing and why is this option disabled in tracker 0.8.3-1?
Thanks,
Rief

Hi,
A product compatibility is determined by 3 parts:
The product has passed Windows certification requirements and received a logo.
The app publisher or device manufacturer stated this products works with Windows 8\8.1\RT\7....
Windows 8.1 is designed with compatibility in mind.If an app or device ran on Windows 8, our goal is that it should run on Windows 8.1. During Windows development, we test most of the popular products and we are providing compatibility statements based
on this testing. For products we have not tested, compatibility statements for Windows 8.1 are being provided based on the product's compatibility status for Windows 8.
Microsoft will also take user's feedback into account and make updates accordingly, so it might take some time to update a status.
Yolanda Zhu
TechNet Community Support

Similar Messages

  • Purpose of message protocol file and file content conversion

    hi
       i am currently working in idoc to file scenario, 
          In what cases we will go file and file content conversion in message protocol for file adapter.
    can anyone specify the real significance of it? bcoz this may help me and continue my scenario in its suitable path.
    Regards
    Saravanakumar PK

    Hi,
    In XI (internal) all XML message are based on the XI Message Protocol.
    See: http://help.sap.com/saphelp_nw70/helpdata/en/b6/0b733cb7d61952e10000000a11405a/frameset.htm
    XI Protocol is nothing but an SAP XI extension of SOAP protocol and SOAP protocol is nothing but a SOAP request in a HTTP protocol. SOAP request is nothing but SOAP extension of an XML message. Hence finally it drill downs to the fact that XI message is in fact an XML message with some extra information in the header which are SAP specific like the SAP Runtime, SAP Hoplist, etc...
    File Content Conversion
    Integration Engine understands only XML messages.Now if u r handling normal text file such as 'tab separated' file,'# separated' file, or a CSV file, you need to convert the content of the file to XML and File Content Conversion mechanism helps to do this job.This File Content conversion mechanism(option)is present with the File Adapters.both Sender and Receiver.
    How to do FCC:
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    Thanks
    Swarup

  • Mail Adapter and File content conversion.

    I have a scenario to send data from SAP to 4 different boards. I have used a Multi mapping for this scenario. I am using Proxy for SAP to xi and SOAP, File and Mail adapter for the external connections.
    Questions:
    1) I need to send a mail in CSV or Excell format in one scenario. I have used AF_StrictXml2Plain Module but its not working? any thoughts?
    2) In the file adapter I have to add the YYYYMMDD (current Date) to the file name? when I use timestamp i get the time too, any way of getting only date? I cant use the Variable substitution as i dont have date in my payload.
    3) Receiver File content conversion:
    My Message Type Looks like this
    MT_XX_XX
         Row
            title
            xxx
    I have used these parameters:
    Recordset Structure:  Row
    Row.addHeaderLine : 0
    Row.fieldSeparator : ,
    Row.endSeparator: 'nl'
    am I doing something worng, the file content conversion doesnt work.
    Please let me know
    Thanks in advance

    Hi,
    Make sure u are using the bean before the mail adapter bean.
    Before using the file content conversion make sure that there are no substructures in it , in order to use addheader line as 0. else use addheaderline 3 and give the headerline as comma seperated values
    for e.g if this is the type then addheader line= 0
    Type 1  :
    Record_Mt
         Row
             field1
             field2
    else if this the type then addheaderline = 3
    *Type 2: *
    Record_Mt
         Row1
             field1
             field2
         Row2
             field1
             field2
    add module like this
    localejbs/sap.com/AF_Modules/StrictXml2PlainBean
    with the module key e.g. key
    for type 1 struct (as above )add parameter- key as singleRecordType  and value as Row with comma seperated value. (remember header line is 0)
    for type 2 structure (as above )add parameter- key as recordTypes  and value as Row1, Row2 with comma seperated value. (remember header line is 3)

  • Loading File name and file contents into two separate tables using Sqlloadr

    Hi All,
    I have situtation like to load File contents into One table and File name into one table . File comes with .txt extension
    Example :
    File name : product_09_abc.txt
    File contents :
    Productcode
    ABC
    CDE
    EFT
    Can you please help me out this how can we acheive this using SQLLOADER.

    SQL*Loader will not pass through the filename for you to be able to insert into a table.
    You will need to have a controlling o/s script that picks up the file name, calls sql*loader and then also call's an SQL script (using sql*plus?) to insert the filename into a.n.other table.

  • File Name and File Content  not gettinng passed from Proxy to Business Serv

    Hi All ,
    I have a requirement in OSB , where i need to pick the file from remote Source and FTP the files to Remote Target .Below are the steps which i did to achieve this.
    1.Created a FTP Adapter in JDeveloper to Get the files from Source and a FTP Adpater to Put the files to Target.Inboth the adapters i have choose 'Shema is Opaque'
    2.Imported the wsdl and jca file to OSB
    3.Generated Proxy Service (PS ) and Business service (BS) out of Step 2
    4.I edited the Message flow such a way that , the PS is routed to invoke the BS
    Aslo i assigned $inbound/ctx:transport/ctx:request/tp:headers/jca:jca.file.FileName to a variable 'FileName' in PS
    and in BS service i passed $outbound/ctx:transport/ctx:request/tp:headers/jca:jca.ftp.FileName = 'FileName'
    When i tried to activate my session , the file that is getting written to the target has 0 byte.Also , the file name is also not getting passed from PS to BS
    Can some one help me with the steps on how to use the Xpath , so as to pass the file name and file body from proxy servive to business service.
    Thanks
    John

     I search multiple shares to find a common file name then create a single output file. I will be doing this search and file creation
    for 5-10 different file names. If there is a better way .. certainly open for suggestions. It's working but having issue with
    the cmd file for every file and folder I check. It puts this error out for each run of the process.
      Error message in LOG file:
    Get-ChildItem : Cannot find path 'F:\powershell\-SearchFor' because it does not exist.
     Thanks.
    I tried your code with little changes and saved in Temp folder.
    My CMD file has the below code
    PowerShell C:\Temp\Untitled1.ps1
    It worked.
    Regards Chen V [MCTS SharePoint 2010]

  • My track pad highlights applications and files and then opens them without my doing anything. I run MacKeeper and having run the scan several times only get cleaning issues (5 -). Any ideas as MacKeeper Kromtech have not responded to my calls nor email.

    Folks
    I run an iMac. Today for some reason when I run the cursor across the screen applications and files are highlighted and then opened without me doing anything (no clicking etc) In fact print at times opens. As far as I can tell I have not changed any settings except to open firewall.
    I run MacKeeper and when I run a scan only a few cleaning items open. Safe and fast are as they should be. I run fix. If I again run the scan I get a few more but different claeing items to fix.
    I have rung MacKeeper several times without getting through. The occasion I did get through the bloke said he could not help and passed me to a higher authority. Needless to say the line dropped out after 30 minutes waiting.
    As it is the weekend and I do not live near an Apple store I am quite keen to get the problem identified and fixed so I can continue working.
    Your assistance please.

    Remove the "MacKeeper" scam product as follows. First, back up all data.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Don't empty the Trash. Let MacKeeper delete itself.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.

  • File Content Indexing (not Spotlight)

    Hi,
    I have a fairly large collection of PDF documents (over 10,000) that I migrated from a Linux system on which I used Google Desktop to find the files I needed. For the most part, these files have meaningless names and are unorganized. The saving grace of the old Google Desktop was that it showed excerpts and titles from the search hits it produced, and this allowed me to actually find the document I was looking for. It also provided both keyword and phrase / string search.
    As far as I can tell (please correct me if I'm wrong), Spotlight hits, while based on content (as well as file names) do not include any sort of excerpt from the files produced as hits. For me this renders it nearly useless.
    Furthermore, I just discovered that support for Google Desktop is discontinued with Snow Leopard and its putative replacement, Google Search Bar, adds nothing to the actual capabilities of Spotlight for local document discovery.
    Can someone recommend a tool that will help me find documents in my on-line library? Since this is something I rely on for my work, a commercial product is acceptable.
    Randall Schulz

    Thank you, Barney.
    That may be the program I've been seeking for a long time. I can't believe all the searches I've done have never turned it up before.

  • Multi mapping and File Content Conversion

    Hi,
    I've created a similar interface to the the one in this blog
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    In the Config, I receive a CSV and use FCC in the File Adapter to build the XML file. Because of the multimapping, XI adds the following to my Message Mapping
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    Do I need to add this XML to the FCC??

    No,you dont need to add extra tags.
    Those tags are only for XI internal processing.
    Thanx
    Aamir

  • How to pass a command string and  file content in a socket?

    socket = new Socket(host.getHostIp(), host.getFilePort());
    BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("c:/test.xls")));
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
    bw.write("this is my control command.\n");// *\n use to mark a line*
    String cur = null;
    while((cur =br.readLine())!=null){
         bw.write(cur);
         bw.newLine();
    br.close();
    bw.flush();
    bw.close();then,read from the socket:
    BufferedReader myIn = new BufferedReader(new InputStreamReader(_myProcessSocket.getInputStream()));
    String command = myIn.readLine();
    // read file
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("d:/test.xls")));
    String cur = null;
    while ((cur = myIn .readLine()) != null) {
         bw.write(cur);
         bw.newLine();
    bw.flush();
    bw.close();
    myIn .close();I find d:/test.xls cannot read,the file is bad.The code below is the same:
         BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("c:/Ñз¢ÈÎÎñ¸ú×ÙÇåµ¥_V5.1.xls")));
                   BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("c:/Ñз¢ÈÎÎñ¸ú×ÙÇåµ¥_V5.2.xls")));
                   String cur = null;
                   while ((cur = br.readLine()) != null) {
                        bw.write(cur);
                        bw.newLine();
                   bw.flush();
                   bw.close();
                   br.close();

    You should only get the OutputStream and InputStream once and wrap this in the data streams
    To send data -
    DataOutputStream dos = new DataOutputStram(socket.getOutputStream());
    dos.writeUTF("´ïµ½ddddd");
    dos.writeInt(lengthOfFile);
    // Now loop reading the  file bytes a buffer and a time and writing them
    // using
    dos.write(buffer, 0, bytesRead);To receive data-
    DataInputStream dis = new DataInputStream(socket.getInputStream());
    String valueSent = dis.readUTF(); // Will return "´ïµ½ddddd"
    int lengthofFile = dis.readInt();
    // Now loop reading the file bytes to a buffer until you have read all the bytes of the file.

  • Content Index State: Failed and Suspended Exchange Server 2013

    On my passive Server "Content Index State" mailbox database is still Failed and Suspended for almost a week. 
    Actions Taken to Resolve the Issue:
     - Update-mailboxdatabasecopy
     -Delete the exisiting folder of database on passive server and run database copy on EAC
    Still got FAILED AND SUSPENDED content index state.
    Need some advice guys.. 
    Thanks!

    Hi,
    Please check the following article and see if it can resolve your problem.
    https://support.microsoft.com/kb/2807668
    Please check the active database, make sure the content index is healthy. If possible, please rebuild content index of active database. And then reseed passive database copy to check result.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Finder not able to view folders and files on EHD after updating to OS X 10.9.4

    I can see still see 'Hitachi' in the 'Devices' Sidebar, but I am not able to view folders and files on this Hitachi XL2000 2TB FAT32 Hard Drive (EHD) that is USB connected to the iMac below.
    Late 2013 Apple iMac (27-inch Display 2560 x 1440), 3.4GHz Quad-core Intel Core i5, Turbo Boost up to 3.8GHz, 8GB 1600MHz DDR3 SDRAM - 2X4GB, 512GB Flash Storage, NVIDIA GeForce GTX 775M 2GB GDDR5, Magic Trackpad, Apple Wireless Keyboard and OS X 10.9.4 Mavericks
    All was fine until I updated from OS X 10.9.3 to 10.9.4 earlier this week, so now when I double-click on 'Hitachi' it just loads and loads with nothing happening and never displays the folder and file contents of the EHD.
    Also, confirmed that Hitachi EHD has been removed from Spotlight indexing per System Preferences > Privacy > + > Hitachi and it was so this does not seem to be an indexing issue.
    I have used OnyX and Apple Disk Utilities unsuccessfully to try and fix this problem.
    Interestingly, Backblaze online backup still sees the EHD and connecting this EHD to a Win 8.1 PC also sees the EHD.
    Further, I ran the commands below in 'Terminal' to make sure the drive was visible and got the following results which shows that the EHD is not hidden.
    iMac:Applications john$ chflags nohidden /Volumes/Hitachi/
    iMac:Applications john$ GetFileInfo /Volumes/Hitachi/
    directory: "/Volumes/HITACHI"
    attributes: avbstclinmedz
    modified: 07/10/2014 23:26:44
    Finally, I installed XtraFinder and am still not able to see the contents of the EHD, but when I installed OmniDiskSweeper I can navigate the EHD folder tree with no problems and can see the contents of the EHD, but when I try and open up a file it opens Finder which loads and loads and nothing happens.

    Apple Support was quite helpful, but in the end I will wait to do a clean install of OS X Yosemite which is due in the Fall and not try and fix OS X 10.9.4 Mavericks.
    It turns out that I run backups on my '/Users/john/Library' and the size of this folder before the 10.9.4 update was 1.07 GB and after the update it is 806.9 MB which is baffling, but in the end all of these problems should be resolved with a clean install of OS X Yosemite.
    One lesson learned for the future is that I will wait on installing an update until it has been in the wild for awhile as a quick OS X Mavericks Finder Problem search and similar searches show there could be an issue.

  • File-Sender: Verification of file content during file content conversion

    Hello,
    I have a question regarding „file verification“ when using the file-sender adapter.
    I got a flat file (.csv) that I convert into XML with the file-sender adapter and file-content-conversion.
    In the file there is a column “RecTyp” that is my KeyFieldValue. Possible values for RecTyp are “B”, “D”, “U”, “T”.
    So far so good. All this works perfectly.
    If (due to an error) there is another value in RecTyp than the 4 mentioned above (B;D;U;T) the file adapter ignores this row today. And here begins my issue:
    I want to change this behavior. That means in detail, I want to check if there is another value in my KeyFieldValue “RecTyp” than specified. If this is the case an exception should be thrown. The whole message should not be delivered.
    We had the idea to use the module-processor for this verification….
    But may be there are other suggestions. Or may be some one can provide an appropriate module that is already written, etc….
    Does anyone have an idea?
    Kind regards,
    Tobias

    Hi,
    It is better to pick the file in generic way i.e Row by Row and then go with the validation with the help of Adapter Modules or in the Mapping.
    For more-
    /people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
    Thanks,
    Moorthy

  • Database passive content index state stays FailedAndSuspended even after reseeding

    I have a mailbox database with two copies in a database availability group, the active copy is healthy and its content index state reports healthy as well, the passive copy is healthy but its content index state reports FailedAndSuspended.
    I tried the: Update-MailboxDatabaseCopy <DBName>\<ServerName> -CatalogOnly more than one time, it completes (says 100KB written) but the state never changes.
    I even tried to manually stop the service>delete CI>start the service, the CI folder was recreated (about 1 GB) but still the state is still FailedAndSuspended.
    Please Help! 

    I found the following warning in the event log,
    Event ID: 1009
    The indexing of mailbox database Main-EX02-DB1 encountered an unexpected exception. Error details: Microsoft.Exchange.Search.Core.Abstraction.OperationFailedException: The component operation has failed. ---> Microsoft.Exchange.Search.Core.Abstraction.CatalogReseedException:
    The component operation has failed.
       at Microsoft.Exchange.Search.Engine.SearchFeedingController.DetermineFeederStateAndStartFeeders()
       at Microsoft.Exchange.Search.Engine.SearchFeedingController.InternalExecutionStart()
       at Microsoft.Exchange.Search.Core.Common.Executable.InternalExecutionStart(Object state)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Search.Core.Common.Executable.EndExecute(IAsyncResult asyncResult)
       at Microsoft.Exchange.Search.Engine.SearchRootController.ExecuteComplete(IAsyncResult asyncResult)
    I checked online, and found one website talking about the "ContentSubmitters" group, which I created in the Exchange Security Groups OU without any members but with stated permissions:
    https://abdullrhmanfarram.wordpress.com/2013/06/16/event-id-1009-content-index-status-of-the-mailbox-databases-failed/

  • My home page is google and it works but when I open a new tab it displays an error message :Firefox can't find the file at chrome://quick_start/content/index.ht

    I've made sure a dozen times that my home page is set correctly, and when I hit the home button next to the search bar it works and takes me right to google BUT whenever i open a new tab i get the error that my page cannot load and the web url that it keeps trying to remember is in the error message:
    Firefox can't find the file at chrome://quick_start/content/index.html.
    of course the last dot is not the url anymore but the end of the sentence for the error message, but i don't ever use chrome ever on my laptop only my cell so what is going on????? help fix god please!!!!!!

    Do you have the FastStart extension?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Reading and writing to file , getting null when i try to  read file content

    i start by apologizing incase i have posted this question in the wrong forum
    i am trying to iterate through a directory tree and pick all the subdirectories and put them in an arraylist . on the other hand , i am picking all the files and putting them in a different arraylist . After that i iterate through the arraylist , pick a folder , create a file in it search for all the files of the same type in its subfolders and write them to the newly created file
    The problem i am running into is i i can't read the files and hence i can't write to the file .
    My directory tree is in the format
    c:\KPCData\\01\01\01\01\01\ file1_type1
    c:\KPCData\\01\01\01\01\02\ file2_type1
    where one one of the types is "covers" . i know this could be asking too much but i am at my tethers end , could someone please have a look at the code and tell me where i might be going wrong . you could zero in on the part where i have ************ before the a line of code thank you package directories;
    import java.io.*;
    import java.util.*;
    public class Directories {
    private static  ArrayList direcs= new ArrayList();
    private static  ArrayList census= new ArrayList();
    private static ArrayList vagrant= new ArrayList();
    private static ArrayList hotel= new ArrayList();
    private static ArrayList emigrant= new ArrayList();
    private static ArrayList traveller= new ArrayList();
    private static ArrayList longform= new ArrayList();
    private static ArrayList cover= new ArrayList();
    private static String parentPath = null;
    private static File mycover = null;
    private static File mytravel = null;
    private static File myemigrant = null;
    private static File mylong= null;
    private static File myinstitution = null;
    private static File myvagrant = null;
    private static BufferedReader in;
    private static BufferedWriter out;
    private static String read,toread;
    //function for listing the folder contents
    class compareDirs implements Comparator
    public int compare(Object one, Object two)
         int val=0;
         File file1 = (File)one;
         File file2= (File)two;
         String name1 = file1.toString();
         String name2= file2.toString();
         if (name1.length()==name2.length())
         val= name1.compareTo(name2);
         else
              if( name1.length()>name2.length())
                   val=-1;
              if (name1.length()<name2.length())
                   val=1;
         return val;
    private  ArrayList recurs(File dir,File file) throws IOException
         File []files=dir.listFiles();
         for(int index=0;index<files.length ;index++)
              if(files[index].isDirectory())
                   recurs(files[index],file);          
              }//if
              else
                  census.add(files[index]);     
         }//for index
         return census;
    } //recurs
    //function for determining the number and paths of the folders
    private ArrayList numDirs(File dirs)
         File []files=dirs.listFiles();
         for(int index=0;index<files.length ;index++)
              if(files[index].isDirectory())
                   if (direcs.contains(files[index])==false)
                   direcs.add(files[index]);
                   numDirs(files[index]);     
              }//if
         }//for index
         return direcs;
    public static void main(String[]args) throws IOException
              File myfile = new File("C:\\KPCData");
         File myfile2= new  File("C:\\KPCData\test.txt");
         Directories dir = new Directories();
         if (myfile.isDirectory())
         ArrayList myList=dir.recurs(myfile,myfile2);
         ArrayList mydir1 = dir.numDirs(myfile);
        ArrayList mydirs = new ArrayList();
        mydirs.add(mydir1.get(0));
         for (int x=0;x<mydir1.size();x++)
         {  int count=0;
              for (int y=0;y<mydirs.size();y++)
                   if (x==y)
                        count++;
              if (count<1)
                   mydirs.add(mydir1.get(x));
         Collections.sort( mydirs,dir.new compareDirs() );     
            for(int index1 =0 ;index1<mydirs.size();index1++)//print out directories
              File mydir=(File)mydirs.get(index1);
              File directory= (File)mydirs.get(index1);
              if(!mydir.getPath().contains("00"))//// if not leave node  create files for each file type
                   String name1 =mydir.getPath();
                   ArrayList ray=new ArrayList();
                   String name="K";
                 for (int index=0;index<name1.length();index++ )
                          if (name1.charAt(index)!='\\'&&name1.charAt(index)!='C'&&name1.charAt(index)!=':'&&name1.charAt(index)!='K'&&name1.charAt(index)!='P'&&name1.charAt(index)!='D'&&name1.charAt(index)!='a'&&name1.charAt(index)!='t')
                       name =name+(String.valueOf(name1.charAt(index)));
              // create a string
                  name= name.substring(1);
                   String trial = name+"_cover.dat";
                   mycover = new File ( mydir,trial);
                     if (mycover.exists()) {
                          mycover.delete();
                          mycover.createNewFile();
                      } else {
                           mycover.createNewFile();
                     String addit = mydir.getParent().toString();
                    mylong = new File (addit+"\\_long.dat");
                    if (mylong .exists()) {
                          mylong.delete();
                          //mylong.createNewFile();
                      } else {
                            //mylong.createNewFile();
                              myemigrant = new File (mydir.getParent()+"\\_emigrant.dat");
                              if (myemigrant.exists()) {
                                   myemigrant.delete();
                                  // myemigrant.canWrite();
                                } else {
                                     //  myemigrant.canWrite();
                   mytravel= new File (mydir.getParent().toString()+"\\_traveller.dat");
                    if (mytravel.exists()) {
                        mytravel.delete();
                       // mytravel.createNewFile();
                      } else {
                           //mytravel.createNewFile();
                    myinstitution = new File (mydir.getParent().toString()+"\\_institution.dat");
                    if (myinstitution.exists()) {
                          myinstitution.delete() ;
                         // myinstitution.createNewFile();
                      } else {
                           //myinstitution.createNewFile();
                    myvagrant = new File (mydir.getParent().toString()+"\\_vagrant.dat");
                    if (myvagrant .exists()) {
                         myvagrant.delete();
                        // myvagrant.createNewFile();
                      } else {
                           //myvagrant.createNewFile();
         //}//initial
              for( int index2 =0;index2<myList.size();index2++)//loop the second one for individual files
                   File file= (File)myList.get(index2);
                   if (file.getParent().contains("00"))//leave node
                        parentPath =file.getParent().substring(0, file.getParent().length()-4);
                   else
                        parentPath =file.getParent().substring(0, file.getParent().length()-3);
                   if (parentPath.toString().compareTo(directory.getParent())==0&file.getName().contains("cover"))
                        try {
                             in = new BufferedReader(new FileReader(file));
                             out = new BufferedWriter( new  FileWriter(mycover));
                        ************     while ((read =in.readLine())!=null)
                             System.out.println("testing");//test whether i ever get in this section !!!
                             out.write(read);               
                             out.close();
                             in.close();
                        catch(NullPointerException e)
                             System.out.println(e);
                        catch(IOException e)
                             System.out.println("There was a problem:" + e);
    }//class Directories

    kingspalace wrote:
    Dr Clap
    The problem i am having is that whereas i am very sure that there are contents in the files i am trying to read , this part of the code Print the Values of parentPath,directory.getParent() and file.getName() here .In the start of this if condition to get a idea what stuff is coming here.
    if (parentPath.toString().compareTo(directory.getParent())==0&file.getName().contains("cover"))
                   {Are you trying to compare parentPath and directory.getParent() as Strings ? How about using equals() ?
    Also are you aware that a single & and && are not one and the same ?
    & will check nevertheless even if the string comparison on the parentPath returns true or false.
    && will not check file.getName() part if the String comparison part fails.
                        try {
                             in = new BufferedReader(new FileReader(file));
                             out = new BufferedWriter( new FileWriter(mycover));
                        ************     while ((read =in.readLine())!=null)
                             System.out.println("testing");//test whether i ever get in this section !!!
                             out.write(read);               
                             out.close();
                             in.close();
                        catch(NullPointerException e)
                             System.out.println(e);
                        catch(IOException e)
                             System.out.println("There was a problem:" + e);
                             }How about adding a simple Exception catch block here ,in case you miss anything ?
    never gets executed executed (meaning ,according to the code, the files am reading have no content ). i am a bit new to files and directories in java . i am hence seeking advice on what i could be doing wrong .IN short,debugging your code will help you a lot.

Maybe you are looking for

  • How do I set up a new mail account on my iMac?

    Hello everyone, I think I used to have a Mail account however I could not remember the password when I tried to turn it on. I decided to delete the account completely and to start again. How do I set up a new mail account with a new email address and

  • What are the best practices to use GLOBAL Variables

    Hi, Please guide how Global Variables can be declared and how they can be initialized. Further please guide what are the impacts of Global Variables(if any) on the memory of CLIENT or SERVER, if they are not initialized or freed up after usage. Thank

  • Unable to call a procedure in Page

    Hi Experts, I have below in CO if ("WaiveItem".equals(pageContext.getParameter(EVENT_PARAM))) String vHeaderID = pageContext.getParameter("vTraHeaderId"); pageContext.putTransactionValue("vTraHeaderId", vHeaderID); String vTempID = pageContext.getPar

  • Quicktime Error -50 when doing mp4--ever resolved?

    I'm having a problem with Compressor that was perfectly described in this thread from last year. In fact, I'm just going to quote what that poster said because it applies exactly to me: I was trying to compress this 3 minute long clip using "MPEG-4 I

  • Problem with SQVI (Quick Viewer)

    Hi, Over SQVI (Quick Viewer) I am trying to connect Tables CDHDR (date and user of last change in vendor master record), BKPF (date of last posting on vendor) with LFA1, LFB1, LFBK, BNKA. But I do not find any connection of these two tables with othe