Accessing files in a foreign computer

Hello,
I have an Internet site with a page that lets the user enter a file name and I want to add a button that when the user presses it, it will communicate a servlet that will upload the file from the user's computer.
My question is: How can I open a stream that accesses a file in the user's computer? I have no idea how to begin. Can you give me please the names of classes I need to use?
Thanks.

Have a look at this:
http://jakarta.apache.org/commons/fileupload/
***Annie***

Similar Messages

  • Unable to access files on Windows 7 computer from Windows 8.1 computer

    I have a Windows 7 desktop and a Windows 8.1 laptop.  Both connect wirelessly to the internet via my Home Hub.  Because the desktop is my main repository of documents / pictures etc. I want to be able to access them from the laptop, but despite
    spending ages surfing for assistance I can't manage to do this.
    At this stage I'll cheerfully confess to being semi-PC-illiterate and totally confused about Network File Sharing, Homegroups and Workgroups!
    One fundamental problem seems to be this - I can ping the laptop from the desktop but not vice-versa.  That said, if I run Explorer on the desktop and click on Network, it displays both machines (and the hub).  If I run Explorer on the laptop and
    click on Network, it displays the laptop and the hub, but
    not the desktop.
    I'd be grateful if some kind reader could patiently suggest how I could diagnose and fix the problem!
    Many thanks in anticipation.

    Hi,
    We haven't heard from you for several days, Would you mind letting me know the result of the suggestions? If you need further assistance, feel free to let me know. I will be more than happy to be of assistance.
    Please understand that Network discovery is a network setting that affects whether your computer can find other computers and devices on the network and whether other computers on the network can find your computer.
    Please configure this settings to check this issue.
    For your reference:
    What is network discovery?
    http://windows.microsoft.com/en-hk/windows/what-is-network-discovery#1TC=windows-7
    We will wait for other several days and if there is no response, we consider that the issue is resolved and will mark as answered.
    Kate Li
    TechNet Community Support

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • How can I access a response file on the same computer but with different login?

    When trying to access a response file on the same computer that was used to set it up, but with a different login, I get an error message that the network resource was not found. How can I retrieve the responses on the same computer but under a different login/username?

    The response file is associated with a specific login (as determined under Edit > Preferences > Identity) so you cannot retrieve it if you're using a different login.

  • After trying to change permissions on my computer so others on my network can access files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal

    After trying to change permissions on my computer so others on my network can grab files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal to fix the problem, downloaded BatChmod but nothing works… Any other suggestions? I have an Imac running OS10.6.8.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • How do you access files from an external harddrive connected to TC through USB from iPad or windows computer?

    How do you access external hard drive data that is connected to TimeCapsule through USB from iPad or knows based computer?

    Filebrowser for the iPad does this very well.
    FileBrowser - Access files on remote computers for iPhone, iPod ...
    Cannot help on Windows, but another PC guy might be able to answer. Some possible clues here:
    http://support.apple.com/kb/HT1331

  • My computer is denying me access to all of my computer files.

    My computer is denying me access to all of my computer files. My virus software has been turned off and it won't turn back on. I can't download new virus software because access to temporary Internet files is denied the programs downloading. I'm fairly sure it's malware because my work on my word software is showing every single work misspelled. My spelling isn't that bad. I can't use the restore to go back to a previous time--access is denied. I'm at the end, I just don't know what to do. I don't have a restore CD. I'm afraid if it's malware it could make it impossible to use it or for a restore to work.
    I have a work deadline tomorrow and obviously I'm not going to make it. HELP!!

    Hi,
    It does sound like a Malware infection, so try the following.
    On another PC, follow the procedure on the link below to create a bootable CD which you can use to scan your computer and hopefully remove the Malware - if your not sure which version to download, your notebook is listed as coming with a 64bit installation, so try that first.
    Windows Defender Offline.
    When this has completed, boot into Windows and then see if you are able to download and install the free versions of MBAM and SUPERAntiSpyware on the links below.
    MBAM
    SUPERAntiSpyware
    If you can install them, run full scans with both these utilities - if any malware is detected, remove/quarantine it and run the scan again until both applications come back clean.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • I have two creative cloud accounts one for work and one is my personal, can I access files and settings from both on one computer?

    Basically I have had my creative cloud account for over a year and recently at work they just set me up with one. Can I keep both active on the same computer? My home laptop is sometimes used to do work so I would like to access files on either cloud drive as well as share program settings.
    Thanks in advance!

    This is essentially my question as well - I have a personal CC account and I would like to use my personal libraries on my work computer.
    Since that involves signing in to CC on my work computer, I am wondering if that will mess up my employer's CC license on my computer (or in general)
    Anyone at Adobe have an opinion on this question?

  • HT1918 I cannot access files I uploaded from an old computer.  The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address?

    I cannot access files I uploaded from an old computer. The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address and username?

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Access files on Time Capsule from remote Windows computer

    Is there a way to access files on my Time Capsule at home from a different computer? I often need to get files from my mac at school - which has only Windows computers - and since I have a MacBook that is shut when I’m not using it, the best way would probably be to access the Time Capsule, that is always on and available. I always have a flash drive, so if I need any files or apps I could just add them there, or to my user account at school. I can’t change any settings on the router it is connected to, but I can change any settings required on the Time Capsule. The Time Capsule is set to connect to our wireless network. I have tried to google this, but I couldn't find anything. Any ideas?

    Isn't it just to turn on static ip in the Time Capsule preferences? As I said, I can change any preferences on the Time Capsule that I have to.
    The static IP I am talking about is not private but public.. ie the address the ISP gives you.. unless you pay extra or your ISP has more brains than most.. any IP assigned to you is rotated on an hourly, or daily basis usually. This is to prevent you using using your network as a server on the internet. At least not without paying them more money.. and it helps when you do bad things.. and get banned from a site.. with a static IP that ban is forever.
    So Problem 1.
    From the internet your address keeps moving around.. how are you going to find it.
    Problem 2.
    Time capsule does not offer a windows protocol to the internet. Only AFP.. apple file protocol.. windows cannot talk AFP. The Time capsule does not offer any other protocol except AFP and SMB (windows networking).. and only AFP is offered to WAN. SMB is so unsafe if ISP opened the port the world would be flooded with hackers. Because so many windows computers have so little protection.
    Solution.. use a Mac. This is apple world.. when you buy one.. you are forced to buy more. There is a reason TC does not offer dyndns client and ftp etc. That would mean you could access it without a Mac and buying iCloud account.. with a Mac and iCloud you can do it easily. Surrender.. they have you on a noose.. struggling just tightens the knots.
    Solution.. use dropbox and keep the files you want on the internet.
    Solution .. as already mentioned.. replace the TC as the main router.. use it as a file store and get vpn router with dyndns client.

  • HT4413 I completed the migration, however I get a message when I try to open the files on my target computer that I do not have "access."?

    I recently completed a migration from an old laptop to a new one. It all well well, however I get a message when I try to open the files on my target computer that I do not have "access"?
    Any suggestions?

    Drag the migrated home folder to the desktop and provide your administrator password.
    (88475)

  • How do you access files FROM a home network TO a CLIENT computer using "internet sharing" from a mac ?

    Hi.
    I just created a small network: 2 pcs and 1 mac.
    2 pcs are using windows XP
    1 Mac is using OS X
    I would like to know how to access files from my pc1 to pc2 from my network.
    Pc2 obviouslys is a client behind the intenet sharing my mac is providing.
    I tried looking for the info online but most of the search brigns out "internet sharing" or "file sharing."
    Any help would be great.

    The following may help with the file sharing issues: OS X Mavericks: Share your files

  • Copying file from a local computer into mapped LAN share.

    I tried to copy a file from a local computer into a Z: disc (a LAN share). I tried to use every method i found on the internet. Using io, nio.. nothing works. It works well on the local computer, but not through LAN. It says that there is not enough of system resources to go on (i'm talking about big files.. more than 200mb... small files are accepted).

    Hi,
    Flash itself has no filewriting capabilities other then the
    SharedObject
    stuff.
    But why can't you call a php script? You could install
    apache, PHP and
    MYSQL on the computer running the Flash app and get it all
    into the
    database in one go.
    Otherwise you either need to get going with AIR (Adobe
    Integrated
    Runtime), or use a wrapper application like Adobe Director
    (which has
    tons of ways to write to file through it's plethora of
    Xtras.) Director
    may be 'a bit' hard on your budget if you only use it for
    this purpose
    though.
    The XMLSocket is for connections to some server, local or
    remote, not to
    a file.
    Manno
    graphic_pawn wrote:
    > First, I'm using Flash CS3, and Actionscript3.
    >
    > I'm trying to set up a data collection form that will
    save the results to a
    > file that can later be imported into a database. This is
    going to be in a Kiosk
    > at a tradeshow and it won't have internet access, so I
    can't send it to an
    > online PHP or ASP, etc, script.
    >
    > The form also has several screens, so i thought I'd try
    to use the Form
    > Application (I know I can only have one frame on the
    timeline when using this
    > flash template with the data components). I want to try
    and write the data to a
    > XML file. All the information I've found is for
    importing data from an XML file
    > to a web server rather than sending data to an XML file
    on a local computer.
    >
    > I'm trying to use the XML connector,and an XML file that
    resides in the same
    > folder as my Flash file, but so far I've had very little
    luck writing to that
    > XML file. Do I need to set up a dataset to send the form
    data to that will then
    > send the data to an XML Connector component that will
    then send the data to the
    > XML file. Should I use LoadVars instead, and if I do,
    will I have to write to a
    > script, or can it also write to an XML file.
    >
    > If any one has a better idea to do this, please let me
    know.
    >
    > Thanks.
    >
    Manno Bult
    http://www.aloft.nl

  • How do I read and write to text files on a remote computer's hard drive

    I would like to read and write data to a text file on a remote computer. This is easily accomplished using one of the file functions such as "write characters to file.vi". If I am already connected to the remote computer, all I need to do is specify the path to the particular file and it will work fine.
    My problem is that I want to connect to the remote computer programatically within LabVIEW (I do not want to have to use the computer's OS to establish the connection. Is there a function that I can use to do this?
    Thomas D. Schaefer
    Wells Manufacturing Corp

    Yariv,
    You should really start a new thread with a new question like this, so that more people see it. Some people look primarily at threads that have no responses yet. Also, don't post the exact same question in multiple places. Or, if you must cross-post to some other forum, make sure to mention it in your question text.
    I'm happy to be a brick in your Western Wall, but I'm not sure what the main objective is here. Is the main problem really getting access to the "X bytes received in Y seconds at Z bytes/sec" string? Or is it accomplishing the file transfer? And what OS and LabVIEW version are you running?
    I think your problem is that you the LabVIEW System Exec command does not allow for the degree of interactivity that you need if you want to issue a sequence of commands to a command-line executable. However, under Windows XP (and, presumably, other Windows versions, though I can't check), you can tell the FTP executable to use commands from a textfile script by using the -s switch, and you can override the prompts during multiple file transfers with the -i switch:
    ftp -i -s:FILEPATH SERVERNAME
    If you issue a command in this format to System Exec, and make sure to create a file at FILEPATH with your command sequence (one per line), then you should at least accomplish the FTP actions. This won't give you the transfer details in the standard output, unfortunately. However, if you just want a general sense of how much was transferred and how quickly it happened, you can code that in LabVIEW by getting the resulting file sizes and using Tick Count before and after the System Exec call to see how long the transfer took.
    Hope that helps,
    John

  • Unable to open a CS file in CS4 After Computer Crash

    Can anyone offer any help.
    I was using my computer with my indesign CS files open, when the graphics card broke on the motherboard - I now have removed the Disk Drive and have it in a cradle attached to a new computer.
    Trouble is I can not open the files on my new comp on CS4 - it states "The file is already open by another user or application, the file may be stored on a network server and can not be used until the user closes it"
    I have made sure that all files on the old drive are available via the security tab to the new machine - I have also made sure each individual file is able to be used by the new comp.
    It seems that the file is in use and I do not know how to resolve it. I have found references to the fact the file may be locked in the preference file but I do not seem able to locate it in a satisfactory way (if thats in fact the problem)
    Its probably complicated as the crash occured on the other drive not the main drive where the CS4 software is located
    Can anyone offer any advice?
    Many thanks

    ACTUALLY HERE IS THE FULL PROCESS:
    Prerequisites
    Log on as an administratorYou must be logged on to Windows as an administrator in order to change security permissions for a file or a folder. If the computer is your personal computer, you are likely already logged on with an administrator account. If the computer is part of a network at work, you might have to ask the system administrator for help. To verify that you are logged on to Windows with a user account that is a computer administrator, visit the following Microsoft Web site:
    http://support.microsoft.com/gp/admin
    Start Windows XP Home Edition in safe modeIf you are running Windows XP Home Edition, you must start the computer in safe mode, and then log on with an account that has administrative rights in order to access the Security tab. Access to the Security tab is required in order to change security permission. If you are running Windows XP Professional, you do not have to start the computer in safe mode. For more information about how to start Windows XP in safe mode, click the following article number to view the article in the Microsoft Knowledge Base:
    304449  How to start the System Restore tool at a command prompt in Windows XP
    Disable Simple File Sharing in Windows XP ProfessionalIf you are using Windows XP Professional, you must disable Simple File Sharing. By default, Windows XP Professional uses Simple File Sharing when it is not joined to a domain. For additional information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
    307874  How to disable simplified sharing and set permissions on a shared folder in Windows XP
    To take ownership of a file or a folder
    How to take ownership of a fileYou must have ownership of a protected file in order to access it. If another user has restricted access and you are the computer administrator, you can access the file by taking ownership.  
    To take ownership of a file, follow these steps:
    Right-click the file that you want to take ownership of, and then click Properties.
    Click the Security tab, and then click OK on the Security message (if one appears).
    Click Advanced, and then click the Owner tab.
    In the Name list, click Administrator, or click the Administrators group, and then click OK.
    The administrator or the administrators group now owns the file.
    To change the permissions on the file that you now own, follow these steps:
    Click Add.
    In the Enter the object names to select (examples) list, type the user or group account that you want to have access to the file. For example, type Administrator.
    Click OK.
    In the Group or user names list, click the account that you want, and then select the check boxes of the permissions that you want to assign that user.
    When you are finished assigning permissions, click OK.
    You can now access the file.

Maybe you are looking for

  • Problem with RoboHelp 6 (new purchase)

    Hi all, Well I have just purchased the latest version of RoboHelp 6 and I opened my previous project (from RoboHelp X3) in the new RH. I managed to have everything working and everything was good for about a week (including command-line compilation a

  • Complex Issue

    hai i have 2 infoobjects invoice posting time and invoice approval time. I need to calculate the difference between the invoice posting time and invoice approval time. Suppose , Invoice posting time is at 4:00pm on 03.04.2006 and Invioice approval ti

  • ACR 6.7 vs 7.3

    When using ACR 7.3 I don't see all tools I've used. If I open an edited image from ACR 6.7 they show all tools?  If I open an unedited image in ACR 7.3 the tool list has some tools missing. Can I still use these tools in ACR 7.3?

  • Problems with the built in line in

    In garageband I can record with the built in microphone, but when the built in input is chosen I get no signal. I have tried using audacity and the built in input works fine. any ideas?

  • Edge Animate loading jquery twice. External jquery plugin error.

    I recently created an interactive map (http://www.lakesofbellaterra.com/Interactive_Map_Demo/Testing/test1.html) using Edge Animate CC  2014.1.1 Release. I used the zoom.min.js plugin from jQuery Zoom to achieve the zooming image effect present when