Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: how to search a file in local network

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to search a file in local network

    hi
    i am new to java..i wanna search a file,if two systems are connected through remote logon and the file to be searched is in shared folder...if i enter the file name it should respond with path where the file is located...i have tried out some coding, itz working well in single system but not in local network...please help me...thanks in advance


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: how to search a file in local network

    How are you getting the path to the file you want to read? Are you using the JFileChooser or the File classes?

  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: how to search a file in local network

    geetha, I've moved your thread to a more applicable forum. Posting questions in the wrong forum (such as the member introduction forum, where this was originally) will hurt your chances of getting help.

    I suggest you post an SSCCE that demonstrates what you're doing.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. JApplet Local File Permission
    By aussiemcgr in forum Java Theory & Questions
    Replies: 2
    Last Post: July 27th, 2011, 12:29 PM
  2. Replies: 0
    Last Post: July 26th, 2011, 10:31 PM
  3. Platform Issue XP vs 7 ?? Send File Accross Network
    By dumb_terminal in forum Java Networking
    Replies: 0
    Last Post: April 12th, 2011, 02:44 PM
  4. search file by id
    By d..:) in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: January 13th, 2011, 09:34 AM
  5. recursive search of all local disks
    By ttsdinesh in forum Java Theory & Questions
    Replies: 4
    Last Post: September 27th, 2009, 08:23 AM

Tags for this Thread