How to place/retrive a file in other machine connected in a n/w

I am in urgency to have this information. I would really appriciate if any one can gimme the information.
I am involved in developing a web-based application.
I would like to give a breif description of my requirements.
1)User browses a file and specifies a location to store that file. The location typically will be a directory (unix dir like /usr/tmp)of any machine connected in the network and clicks archive button. That file should be stored in that location specified.
2)User will give the location of file(the location will be full path file in any machine connected in the network ) and clicks DownLoad button.
How can I do this. I explored how to upload a file to Tomcat server and My question is how to save this file in the directory specified by the user (if the machine is other than where tomcat is residing)and how to retrive the file specified by the user.
How can I do this using Servlets & JSP. It would be too great if one can gimme code snippts or atleat let me know the procedure.
Thanks & Regards
Kishore K

or if you are using linux then simply run java JMFRegistry and you should be able to see JMF Registry Editor where you can turn on the logging by checking "Allow Logging " and by specifing the logging directory for jmf.log file.

Similar Messages

  • How to execute a jar file in other machine?

    Hi all,
    I am working with java. and my machine is connected to LAN.I would like to execute a jar file in my machine from a remote machine that is also connected to LAN.how should i go about doing this.Help me if somebody have a solution as i am badly in need of this.
    Regards,
    Mohan

    Hi Mohan.tkm,
    If you want it to be done in pure Java and independently of the OS of both computers, you may build a RMI server that will launch your JAR by request of a remote RMI client.
    There's an example of RMI here .

  • How to read a text file from other machine???

    I have a text file located in local machine. I use th e code below to retrieve data from that particular text file.
    String realPath     = (String)getServletContext().getRealPath("");
    BufferedReader holsFile = new BufferedReader(new FileReader(realPath + "/webpages/holidays.txt"));My question is , how could I retrieve the records from the tsxt file if the file is located in another machine or webserver?
    Thanks for advanced.

    It's ok to be new.
    The answer is yes. (But I'll let you look in the javadoc to see which package it's in).
    Also it may be worth understanding that there is no such thing as a "function" in java, operations are termed "methods". To go further, you should realise that URL is a class not a "function" or method. The parentheses mean you're calling the constructor.
    HTH
    /k1

  • How I can combine pdf file with other pdf file

    How I can combine pdf file with other pdf file ?

    Or from Adobe Reader via https://createpdf.acrobat.com/

  • How to place a servlet file in Tomcat 5.0?

    Hi,
    i'm using Apache Tomcat 5.0 as myweb server.i don't know how to set the class path and where to place my servlet and html files,and how to run my servlet file.if anybody knows plz give me a detailed description abt this topic.

    Look at the directory structure of your Tomcat installation directory. You will see a webapps directory under that. The Tomcat installation comes with samples ready to run. Look at those and create a similar directory structure under webapps for your application. I don't think you need to worry about classpath. Tomcat should be taking care of all that if you create the proper directory structure.
    You run your servlet by specifying a url like:
    localhost:8080/servlets-examples/from a browser. This assumes that your installation is using port 8080 which I think is the norm for Tomcat. Here "servlets-examples" is the name of the directory you created. Actually Tomcat 5.0 comes with a "servlets-examples" application. This would be a good directory to look at. You could also run their examples to get a feel for it.
    If you are new to servlets, you'll probably have to get a book that explains how things need to be set up. You'll need to create a web.xml for your application. If you look at the servlets-examples directory under webapps, you'll see that it has a WEB-INF directory under it and that directory contains a file called web.xml as well as a sub-directory called classes. This structure is standard accross all application servers because it corresponds to the war (wars are specialized types of jars for web apps) file standard.

  • How to remove old backup files from time machine? Lion OSx

    Hi everyone,
    I am just wondering how to efficiently and safely remove the old backup files from time machine? I tried once with command, but it damaged my extra-disk... Does Lion OSx have fixed that?
    Many thanks
    Hong

    Blue-
    Time Machine will automatically delete back-ups as the need for space arises. If you want to delete a certain file (application, document, whatever) and have it gone for good you can do that as well.
    The best place on the web for information about Time Machine is...
    http://pondini.org/TM/Home.html
    ...it covers everything!
    Clinton

  • How to find out a file from client machine

    hi all,
    I want to read a file from client machine, like a outlook express file in which all the address are saved, using servlet. Initially i do not know the file path for that file, How i can read that file.
    plz help me
    thanx in advace
    Manish

    You have 2 possibilities. First, you might be able to mount the client's disk drive at the server; the servlet can then access that drive directly. Second, install a client program on the client machine and communicate with that program, and have it do the search (or whatever).
    Outside of Java, there are remote-access programs - like PCAnyWhere.

  • How do i selectively chose files from time machine to my mac which had to be wiped out by the genius (who I cant get to come to my house to help!)

    HELP
    How do I selectively select files and programs from TimeMachine to put back on my macbook pro?
    it had to be wiped out by a genius who unfortunately will not come to my house to fix - no matter how much cash I offer

    This page:
    http://support.apple.com/kb/ht1427
    this section:
    • Restoring data from Time Machine backups - Restoring specific files of folders

  • How do I find a file in Time Machine?

    I get time machine. It just works. But my questions is, how do I locate a file that I know was backed up but I have no idea when the last time it was actually present on my system? Is there a way to just search like in Spotlight but have it show files that have been backed up?

    Open a Finder Window.
    In the Finder Window, search for the file you want, select "file name" or "content", make sure "This Mac" is selected.
    Click the Time Machine icon, in the dock, it will open on "Today".
    Click on the back arrow to go back in time.
    If the file was backed up, TM will go back and find it.

  • Creating flat file on other machine.

    Hi All,
    I am working on ODI 11g( 11.1.1.6).
    i want to create flat file on another machine.
    lets say, i have two machine A & B.
    Machine A contain ODI 11g, Machine B contain source (Oracle) and Flat file location which is Target.
    How to create flat file in machineB as target.
    Please heip.
    Regards
    Prashant

    Thanx for replay,
    In machineA ODI 11g is installed.
    source and target are on machineB.
    In Physical Architecture i am able to map source(Oracle) machineB using IP,
    but for file, i am not able to map with target machineB, to generated flat file.

  • How do you retrieve individual files from Time Machine?

    If a file original is lost or becomes corrupted, is there anyway to retrieve that individual files from Time Machine? If so, how?

    ElRay (Amazingly, not the 1st) wrote:
    SharonZ wrote:
    Time Machine finds that file, and not other files that meet the criteria. BUT...
    That's not what TM was doing. My search criteria was "by filename", however when I try to go backwards in TM, that limit is lost and it appears to be returning every file in the rolled-up weekly archive. This is especially odd, because I have since determined that the file was actually corrupted before TM was running, so there should be only one version of the file in TM's archives.
    No, it was a file sitting on my disk. Email was mentioned, because the fact that every email in every junk folder appears as a separate item to be restored, which is what triggers that little "too many files to show you at one time" issue.
    So your name search returned lots of junk mail items. I shudder to think what the file name was that you were searching for! <g>
    Also: you can tell Time Machine to ignore your junk mail if you've filtered the junk mail in Mail into a different folder/box.
    I figured that one out. I had used Spotlight to find the junk mailboxes, but couldn't, only the messages "labeled" junk. I had to use 'find' in Terminal.app to actually find Mail's junk & spam folders.
    Yeah, it's hard to find stuff when you don't know where it is <g>. In general, though, for these kinds of things, always think: "Library" which is where SO many pieces of programs are stored. Of course, there's lots of Library folders, so your first job is to decide: system or user level? Realizing more than one user account could have email setups, you can assume the path you need starts at the User level. So, you start at Home[UserName]/Library. Scanning that Library folder, you see a Mail folder (aha!). Checking out that folder, you might first suspect the Mailboxes subfolder, but you'll soon see that it has the mailboxes you've defined for sorting your mail; so, you continue to scan the Mail folder and you see a folder with your email address on it (or multiple folders, one for each of your emails). Open one of those and, ta da! You see something labeled junk.mbox.
    You've already found your Junk mail, of course, but I'm suggesting this as a general approach, especially for other readers of this thread, who might not want to touch Terminal.
    But, back to one of your initial problems: TM seemed to lose your search criteria. Do you think it was related to the high number of " hits"? Does it work for you otherwise, when you search for something less general?

  • How to create a Log file on Client machine

    Hi All,
    I am trying to create a log file on my local machine using TEXT_IO.FILE_TYPE in a stored procedure but it is throwing a compiler error as Error(5,10): PLS-00201: identifier 'TEXT_IO.FILE_TYPE' must be declared. I seem it is occuring because of WebUtil and I am using Oracle SQL Developer on my machine.
    Is there any way to create log file on local machine.Can anyone help me out, Since three day I am struging to get out from this.
    With regards
    R e h a n

    Hi,
    TEXT_IO.FILE_TYPE Package is used in Oracle Forms. Please Post in the relevant Forum for Questions for these.
    Forms
    You can Use the UTL_FILE in PL/SQL to create Log Files on the database server directory and Share the directory.
    Thanks,
    Shankar.

  • How to read and writre file into remote machine in the network

    HI Experts,
       i want to write the data and read data into file in remote machine(not in application server and presentation server).is it possible in abap.
    thanks in advance
    With Regads
    Naidu

    Hi naidu,
    1. We can use this type of path
    computername
    folder
    file.ext
    2. We can use this in GUI_UPLOAD
       and it will run on presentation server,
       connect to
    computer
       and read the file contents.
    regards,
    amit m.

  • HT201250 How can I find a file on Time Machine.

    The file was on my Desktop at one time but has been deleted. Typing it's name in the TM Spotlight field and clicking the Back Button (per the TM tutorial) doesn't work. Has anyone found a specific file on Time Machins that is no longer on the Mac?

    First of all, I don't work for Apple and neither do most people who post here. This is primarily a user community.
    The documentation is correct, even if you didn't have any success. I prefer to use mende1's suggestion, so I don't use Spotlight in Time Machine.
    I understand you are frustrated, as I would be if it didn't work. Computer frustration isn’t one of my favorite pastimes.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • [CS3][JS] How to place multipage Indesign-file

    Hi,
    Can anyone please help me?
    How do I place every page of an external Indesign-file into my current document [JS]?
    How do I set the import options?
    Thanx
    Tim

    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
    Harbs

Maybe you are looking for

  • How to know current speed of connection in Kbps?

    Does anyone know how to know the speed of network/internet connection? I couldn't find any member method of JAVA's class that returns this value. Very appreciate for all your hints.

  • Error:maximum investment amount exceeded in area 51

    Hello, When I am reversing the retirement document in AB08 , I am getting the error as "maximum investment amount exceeded in area 51". I maintian the maximum amount for area 51 in customizing, but still there is error. Is there any other way to reve

  • Restoring pps

    hi im after restoring my iphone and i have none of my purchased apps on it how can i get them back

  • Creating 3D side by side and saving some time during rendering..?

    I've got a 1280x720 comp. It's fx heavy. Rendering the 2D is taking a full day! I've got a fan pointed at the Mac! I'm tempted to stop it, but I need to check for errors before the next step. I want to export a 3D version. I've figured out how to get

  • How to cong=figure Tomcat 5.5 for Eclipse 3.0

    Hi Buddies, I have Eclipse 3.0 IDE, I am working on only JAVA pgm. I want to run servlet based applns in my Eclipse IDE. Can I do that, then can anybody give me procedure to configure a tomcat Server in the Eclipse IDE. I hav Tomcat plugin also. And