Reading files from some other PC in Network

I have developed a tool which does some processing on input files from a folder.till now the files were there in my system.Now i have to read these file from some other computer in lan.How do i go about this?

Well, how can you be sure with what little specsare
given?
'-- 'Cmon guys... .give him/her a break.!!!!!!!!!!Why? Either the user is learning programming, then he
should also learn to communicate the requirements and
find out what additional info is needed to solve a
problem. It's an important skill for a programer.
If he already is a programmer, it seems reasonable to
me to expect him to tell us what we need to know
without us having to ask. To me, it's a sign of
professionalism, and that he actually bothered to
shed a thought or two of his own at the question.-- The big picture has been given,,, there's a lot of way to connect from one PC to another,,, like URLConnection, HttpConnection, ServerSocket, Socket, DatagramPacket, DatagramSocket, DatagramSocketImpl, HttpURLConnection... the entire "java.net.*"..
so it's up to you to choose....

Similar Messages

  • [Urgent] How to read files from different directories?

    I am new to Java Programming, I would like to know how to read files from directories other than the current one? (example as follows)
    ProjectDirectory
    |--MainDirectory
    |--MainProgram.java
    |--SupplementDirectory
    |--SupplementProgram.java
    |--Pictures
    |--Image.gif
    What should I write in the MainProgram.java so that I can use the supplementProgram.java from MainProgram and read the Image.gif file from the MainProgram.java?
    Thanks

    Run through the I/O tutorial here. It should get you up to speed on this sort of thing...

  • Can i access my data on time capsule from some other network

    can i access my data on time capsule from some other network that is my data at home from office over internet

    There is plenty of info out there if you google..
    Here is a summary I just put into another thread.
    Remote access has been added back into iCloud that was in MobileMe..
    Read the info on setting it up from cloud service.. BTMM.
    http://www.apple.com/support/icloud/back-to-my-mac/
    If you want to do it without the cloud service, you have one major issue.. the public IP for WAN..
    The internal IP of the TC.. which will default to 10.0.1.1 btw.. is irrelevant. It is the IP of the WAN which you use to access the TC over the internet. And here you have a problem.. the TC does not include dyndns service. So unless you have a static IP address from your ISP, this will cause you grief.
    (If it is offered by your ISP.. get a static IP.. that eliminates all the issues.. and is far superior. Even dyndns service has issues if your public IP rotates too often. It is generally an extra cost item and requires a business account but some ISP offer it cheap or even free.. I joined an ISP that offered static ip for free because it gives me the ability to remote access my network without all the hassles you will see below.)
    There are ways around it.. setting up your own domain for instance.
    http://dyn.com/support/airport-time-capsule-with-dynamic-dns/
    But it is easier to simply use a different router.. almost all of them have dyndns service available.. place the TC behind the router in bridge and forward port 548 TCP to it.
    This is a bit old but still relevant.
    http://gigaom.com/apple/access-your-time-capsule-over-the-internet/
    Note .. there is no ftp, http, ssh (there is actually but it isn't accessible), or any other service to allow connection other than AFP.. so you must use a Mac in remote location to access the TC.
    The setup for the two methods is slightly different in the TC.. in the first instance, you need to turn on WAN access via disk sharing page in the manual setup.
    In the second case you do not need this.
    Remember security and put strong passwords on the disk. There are still security questions about this.
    If security is important.. there is a third and better (IMO) method and that is vpn.. you will need to buy a vpn router as TC also missed out on that.. establish a vpn with the main router and that will allow you access to your network.. you will also then be able to use SMB remotely not just AFP.
    Also if this office is a large company they should be running a firewall, which would block your access to home. You should check your IT admin people for what is allowed.. generally the only acceptable method is vpn otherwise you can drag viruses and trojans right into the network without the firewall catching them.

  • Reading file from oracle directory at client side

    Hi,
    I have a SWING app. which connects to an Oracle db.
    My goal is to read files from oracle directory with java through JDBC. I export some dumps with datapump and they need to be transferred to a client machine. There is no access to oracle directory at network filesystem level.
    Please advice!
    TIA, Sandor

    An Oracle Directory has an underlying OS directory associated with it, Oracle just overlays it's control structure onto an existing folder in the OS. You can manipulate the files with stored procedures in Oracle or at the OS level from outside of Oracle.
    If you manipulate the files from the OS level, outside of Oracle, you may need a refresh of the Oracle Directory structure.

  • Open Data Set Error while trying to read file from non SAP server

    Hi all,
    is it possible to read data from non-SAP application Sever?
    I'm using OPEN DATASET p_filin FOR INPUT IN LEGACY TEXT MODE CODE PAGE '1504',
    Where p_filin is other Windows server.Our applicition server is under Unix.Is it a problem?
    I make test to read file from SAP application server and it was ok.So how to call other server?
    Thanks!

    Hi,
    Yes it is possible to read data from a non SAP server through the statement OPEN DATASET.
    The important thing to check is that the SAP Server got enough access to the non SAP server so it can perform a reading/writing process depending on your needs.
    You should contact your network administrator and BASIS to help you check the permissions. This can be pretty tricky, specially if the servers are in different domains.
    Regards,
    Gilberto Li

  • I can no longer import raw files from my Panasonic Lumix LX5 into Aperture 3.3.2 - raw files from my other Canon cameras are fine. Am still running Lion - NOT Mountain Lion. Tried all available software updates - no joy. Any ideas please?

    I can no longer import raw files from my Panasonic Lumix LX5 into Aperture 3.3.2 - raw files from my other Canon cameras are fine. Am still running Lion (10.7.4) - NOT Mountain Lion. Tried all available software updates - all up to date apparently but still no joy. OS X Lion shows the LX5 as a supported file format. I dont want to have to upgrade to Mountain Lion just to see if this solves the problem. Any ideas please.

    Since when did this happen? Directly after you upgraded to Aperture 3.3.2?
    If it happened directly after the upgrade the problem may be, that the raw support for your camera got lost. For some posters it helped to register the raw support again, see this post by Alan Roseman:
    Aperture 3 preview of raw file greenish
    If this does not help, you may need to reinstall Lion to bring back the raw support.
    But if the problem occured independent of a new installation, ypu may have a problem with your camera or the card you are using. Have you tried to use a different card or to reformat the card in the camera?

  • How to open Adobe Reader file from another native IOS application?

    There is an existing thread, but I want to re-open it because I think this is an important feature that we need badly.  I was wondering if there is any plan to add this feature so we can open PDFs directly into Adobe from the web / other apps.
    How to open Adobe Reader file from another native IOS application?
    Basically, we just want to use a custom URL scheme to open a specific document in the App.  Currently, this only opens the app but does not load the file.
    APB

    Not to hijack the conversation but I can explain why this would be useful for both the above case and another.
    What I believe Pavel is talking about is setting up a "URL Scheme" for the Adobe Acrobat iOS application so that you can easily open a PDF specifically in Adobe Acrobat iOS from other native applications and even from web applications opened within Safari. This is particularly useful if your application requires some of the specific features in Adobe Reader iOS to grant them the best experience possible and you want to encourage this.
    Another case: If you're using Adobe Livecycle's document security modules (that encrypts PDF files so that Adobe Acrobat must "phone home" to decrypt and view the document), these PDF's can only be viewed inside the Adobe Acrobat application and appear as blank in most other PDF readers. Having a URL scheme allows your application utilising this functionality to have a 1 click step to view the PDF rather than the current non-user friendly process:
    - Within Safari, touch the PDF link (appears as blank in the default Safari PDF reader, which in itself is confusing)
      - Touch "Open in..."
      - Touch "Adobe Acrobat"
    We have an immediate need for this functionality for the example above. I can resubmit it in a separate post if necessary.

  • Reading files from a mapped drive

    Hello,
    I am trying to pull image files off of a network share in Oracle Forms.
    Everytime I do this, I get error FRM-47109 Cannot locate image file..... i
    have tried accessing this drive with 2 methods:
    1. Button trigger calls with READ_IMAGE_FILE(:datablock.imagelocation ||
    :datablock.filename || '.tif', 'ANY', BLOCK7.IMAGE_ITEM);
    2. Button trigger calls with READ_IMAGE_FILE('\\server\images\'
    ||:CRASH_IMAGES.folder || '\' || :crash_images.docno ||'.tif',
    'ANY', 'BLOCK7.IMAGE_ITEM');
    Both of these calls work on the development side where the T:\ drive is mapped.
    When the form is put on the production server with the same T:\ drive mapping,
    the image is unable to be located.
    I have also found Microsoft article Q122702, which explains how network shares
    are distributed to services. I have edited the registry key
    RestrictNullSessAccess to a value of 0, and remapped the drive using: NET USE
    T: \\server\images /user:Administrator password.
    None of this has worked for me so far, and I have been informed of possible
    issues with forms and mapped network drives. Has anyone seen this before or know of a fix?
    Thanks,
    Jordan

    I'm not too familiar with Windows user accounts.
    I'm having this problem of not being able to read files from a mapped drive.
    Using 10.1.2 Forms Service on a XP machine.
    How do i check to see which user is running the forms service and/or how do I change the settings a user has access to?
    Check in server-info and User/Group: #-1(1)/1, what the heck??
    Thanks.

  • Reading files from clients machine through a browser

    if i have to access or use some files say C:\hello\myimage.jpg from client machine's local drive, how it can be done using some technology in Java eg applets or some other way. please read the following situation to have a better undertsanding of the problem,
    consider the following situation:
    a web application is running on client PC, and on click of a button, i have to generate a report in some format and insert some images in that report which are on clients local drive and their path is known to me say C:\ myimage.jpg.
    if the mages were on the server(where web application is hosted), then its not a prob.
    if there any other technology in java to read files from clients PC through a browser other than java

    Sign the applet.
    http://forum.java.sun.com/thread.jspa?forumID=63&threadID=524815
    second and last post

  • Reading Files from client directory folder using servlets or struts.

    HI All,
    Could you please help me out int the below query.
    I want read all files from paricular directory folder from the client machine in web application. I am able to do it from my local machine. but when I am try to do it from some other machine I am not able to get the file list.
    It is very urgent ..please hep me ASAP.

    It should be problem with the file permissions in your client machine ???Hardly.
    @OP: a servlet executes at the server. It doesn't haved any access whatsoever to the client machine.

  • Reading files from a browser on clients PC

    is there anyway to read files from clients PC through browser in java, apart from signed applets.....
    plz help , its very urgent......

    taking the browser to be IE, suppose the following situation:
    a web application is running on client PC, and on click of a button, i have to generate a report in some format and insert some images in that report which are on clients local drive and their path is known to me say C:\ myimage.jpg.
    if the mages were on the server(where web application is hosted), then its not a prob.[b]
    so for doing such a thing what i have to do means, what setting i have to change of the browser .....what security setting of clients PC has to be changed...
    and how to get jar signed.
    plz tell me the procedure to do this....

  • Reading files from shared mapped folders

    How is the correct approach to read files from a volume which maps a shared disk?
    I mean, we have the Y:\Folder which maps \\bla_bla\root\folder.
    Our application has to read into Y:\Folder.
    How do we create a File object which points to Y:\Folder?
    Thanks.

    > We catch a java.lang.NullPointerException
    Okay. You know how to debug those, right? Some condition exists that is causing an NPE (that line alone won't do it), so you'll need to do some investigating.
    How to resolve a java.lang.NullPointerException
    You'll want to ensure that the directory actually exists, you've mapped it correctly, you have the appropriate permissions to access it, etc.
    Good luck!
    ~

  • Is there a way to compare the contents of a library by comparing itl files or some other files?

    Is there a way to compare the contents of a library by comparing itl files or some other files?
    I need to compare the contents of my current library to one that existed 2 months ago but ALL I have is the itl file from 2 months ago.  Can this be done?

    You are correct, many people have noticed over the years that Sound Check does not work as advertised.
    A more effective approach is to treat the files with a 3rd party volume normalization program. Although I have not personally used it, many users on this Forum have reported good results from an inexpensive program called iVolume.

  • Problem downloading files from some site

    Hi,
    when I try to download from some site,for example this:
    "http://downloads.videolan.org/pub/videolan/vlc/0.8.4/macosx/vlc-0.8.4.dmg"
    or from sourceforge.net nothing is downloaded and on the window of safari, in the title bar, appears for example: "vlc-0.8.4.dmg.gif 1x1 pixel".
    what can I do?
    Thanks!

    Hi Fillipo,
    By the sounds of things you have NetBarrier installed.
    Check your ad-blocking settings to see if it's blocking the download of files from some of these sites.

  • HOW TO DELETE ADOBE READER FILE FROM ADOBE READER

    HOW TO DELETE ADOBE READER FILE FROM ADOBE READER@ !@

    Your question make no sense. What exactly are you trying to do?

Maybe you are looking for

  • After iOS 5.0.1 OTA update Siri is no longer working

    Anyone having the same issue? Since I updated to 5.0.1 Siri no longer works. All I get is the typical " I'm really sorry about but I can't take any requests right now. Please try again in a little while ". Any ideas? I've powered off the phone, reboo

  • I need to transfer my Whatsapp messages from my old iPhone4 to my new iPhone5. iCloud did not succeed synchronising in iTunes... Any ideas anyone? Thanks

    I've just been upgraded to an iPhone5. When activating the new device everything was going smoothly, even the syncing in iTunes (I had previously edited a playlist to go in the new handset). A few things did not transfer as planned, such is messages

  • Delegating Process Roles

    Hello, to delegate process roles (in GP) you can take the control Items, but then you must click on the left toolbar, adn choose "Delegate Roles". But in my scenario Delegate Roles should be a process step, and so I want to show it in the Process Win

  • Instance Pool

    I am new to Weblogic & started straight away from 6.1. I am learning Stateful session bean. While going thru Stateful Session Bean tutorial, there is a mention that (which is a vendor specific) we can define & force the container to have a maximum nu

  • Banshee exits on start with dbus-related error

    Here's what I get when I try to start Banshee: Unhandled Exception: DBus.DBusException: Unable to determine the address of the message bus in [0x0003e] (at /home/mark/src/arch/extra/lib/dbus-sharp/src/dbus-0.50/mono/Bus.cs:46) DBus.Bus:GetBus (BusTyp