How can we access a file that is on a mapped network drive.

If I have a network drive that is password protected and is already mapped on a server(x.x.x.x) as R drive. And I have file called temp.txt on R:\Temp folder on the mapped network drive.
How can I access it using file: using a client application running on that server.
Thanks.

ag2007 wrote:
When I use it the above way I am getting the following exception:
java.io.FileNotFoundException: \\network\share\Temp\temp.txt (Logon failure: unknown username or bad password).
From the above I can say that I need to specify the username and password.
Now my question is how do I specify the username and password in the URI?
Thanks for the help.You don't. It is required that the user account running the code already has permissions to the directory in the first place.

Similar Messages

  • If I preformed a factory restore, and didn't restore from time machine, how can I access my files that were backed up?

    I wiped my Mid 2009 MBP and decided not to restore from time machine backups but now I need access to a few of the files from the pervious backup, how do I access those files? The previous backups are purple and inaccessible from the time machine window.
    Details: I use a G Drive to do my Time Machine backups.

    While in Time Machine, press the key combination shift-command-C. The front window will show all mounted volumes. All snapshots should now be accessible. Select the one you want and navigate to the files you want to restore.

  • HT4796 How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users?

    How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users? Having to log out just to sign in on a different user to access the files is absurd.
    Do I make all the files sharable to all the NOW users on the mac then just delete the files? Or can i erase my account that I made when starting up my new mac and then just use the one with the transferred files?
    I just dont want to have to og in and out of 2 different accounts .. Help please.         
    -Nina

    Sorry. /Users is a folder path. It would be similar to C:\Users (if that exists on Windows).
    So, in the Finder, select Computer from the Go menu.
    You'll see Macintosh HD, double-click that to open it.
    In there you'll see several folders. One is Users. That is where all the user Home folders exist. Select the other account's home folder and go to step 3.
    If you have any more confusion, please stop and ask. We'll get there.
    If you feel more comfortable, you can just log into that other account and move the files into /Users/Shared.
    Then, log into the account you wish to use and copy the files from the Shared folder and paste them into your Home folder, wherever they belong, Documents, Music, Pictures, etc.  That just takes a little more work. Transferring them into Shared, and then copying into your home sets the permissions on the files so that you won't have a problem accessing them later. The steps I provided just prevent you from having to do the double move, since you are not going to use the old account once you are done.
    Quick unix shorthand. If someone gives you a file path that begins with a /, that means the root of the hard drive, ie Macintosh HD (if you haven't renamed it). The path separator in unix is /, not \.
    A path that starts with ~/ means your Home folder, the one inside /Users named with your account name.

  • How can we access the file/directory system in the server

    Hi friends,
    I have made a text editor attached with an audio player for my project.
    Both text editor and audio player are implemented in applet and put in to a
    jsp page using jsp:plugin. Text editor and player are separate applets running
    in the same page and from same server.A client who is using this editor may
    want to save the edited text files to the server as well as hear audio files from
    directories in the server.
    My question is how can we access the file/directory system in the server
    like we do in the local machine.When the user cliks save or openfromserver button
    in the editor, folder/files in the server must be displayed as we do with FileChooser.
    I am using Apache Tomcat 5,wiindows 2000 server, jdk1.5.
    manu

    You can't access it directly. But your applet can make net connections to the server, and the server can provide that kind of functionality. Generally this is easiest by making HTTP connections and having the server provide the functionality via the web server. (So in your case, JSPs or servlets on the server would list/deliver/create/modify/delete files, and the applets would invoke those JSPs and servlets.

  • How can I access video file from sd card on ipad2?

    How can I access video file from sd card on ipad2?

    Your iPad 2 will see the video if:
    It's in a DCIM folder on the top level of the card (which is how most cameras do it)
    It's name is 8 characters, no more, no less (CKDI9483 for example)
    It's a format that the iPad will play
    I've made mp4's of things, folderized them right and named them 'right' and can transfer them to my iPad, so you can use a computer to make the files conform to what the iPad will see.

  • How can clients view video file that I upload to my Creative Cloud area?

    How can clients view video files that I upload to my Creative Cloud area?  Is there a special password that they have to use to gain access?
    Thanks for any guidance.
    Dave

    As a video professional, i agree and am VERY disappointed with this policy.  I attended CC presentations at various conventions, film festivals and meetups for a year-and-a-half before I made the leap to CC, and no one EVER mentioned a restriction to transferring video files.
    Whether it's to save storage space or not, that's how it APPEARS to the end user.  Anybody who knows ANYthing about how video pirates commit their crime (which it most-certainly is), knows that there are plenty of FREE, untraceable (or nearly-anonymous) resources to carry it out.  The need for anyone to pay $30 or more per-month to do it with an acct that has their info attached to it is ludicrous!  If anything it's CONTRIBUTING to piracy to encourage creatives to transfer their material to collaborative parties using a less-secure, more heavily-trafficked third-party service than the one they're paying for exclusive use for.
    Adobe's policy makers need to review this restriction and remove it or provide ANOTHER reason why it exists because this one doesn't fly.  And if it continues, make sure a disclaimer gets inserted in CC pitch presentations because likely half of the attendees are working with video.

  • How can I add .m4r files (thatI have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes ans it won't let me drag the files to the sidebar...

    How can I add .m4r files (that I have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes and it won't let me drag the files to the sidebar...thanks!

    How can I add .m4r files (that I have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes and it won't let me drag the files to the sidebar...thanks!

  • How can I send a file that CAN NOT be printed or saved by the recipient?

    How can I send a file that CAN NOT be printed or saved by the recipient?

    Impossible. PDF files don't stream, so they cannot be opened until they've been saved.
    You can truly prevent printing by using DRM, or ask nicely by using a permissions password (though that's ignored by non-Adobe software).

  • Hi!pls tell me how can I cancel the files that download,but they can not be downloaded,there maybe a. Problem.

    hi!pls tell me how can I cancel the files that download,but they can not be downloaded,there maybe a. Problem.

    What files, and downloaded from where and by what app?

  • How can you back up files that are on an external drive?

    How can you back up files that are on an external drive?

    hw999 wrote:
    How can you back up files that are on an external drive?
    Easy way, CLONE IT to another HD
    HD cloning software options:
    1. SuperDuper HD cloning software APP (free)
    2. Carbon Copy Cloner APP (will copy the recovery partition as well)
    3. Disk utility HD bootable clone.
    Methodology to protect your data. Backups vs. Archives. Long-term data protection
    https://discussions.apple.com/docs/DOC-6031
    hw999 wrote:But all I want to do is include the data that I store on an (second) external drive (internal drive getting too full) part of the auto back up process using timemachine.
    BAD IDEA
    You want one backup (ie Time machine) and one (or more) data archive of just all your raw files (drag and drop, or cloned etc.)

  • How can I access my files from iCloud drive

    How can I access my files from iCloud drive from my iPhone? Is there someway to access the data like other cloud app as Google Drive nad Dropbox.

    You access them with the App responsible for the type of file.
    Read through this: iCloud Drive FAQ - Apple Support

  • How can i put back files that were accidentally put into trash

    How can i put back files that were accidentally put into trash.  I'm using Mountain Lion on my Mac Book Pro

    command Z if it was the last thing you did.
    Control (right) click on any item in the trash folder>> Put Back

  • HT4859 Can't access my files uploaded to iCloud, yet iCloud shows 2 out of 5 gigs used. How can I access my files?

    I recently had an issues with my old iPhone 4s. I took it in to the apple store but the night before made sure I backed up my files to iCloud. After doing so I made sure my files were backed up because it went from 0 of 5 gigs to 2 of 5 gigs used. When I got my new phone, also an 4s, I tried to recover my contacts and pictures from iCloud, yet nothing happened. When I logged into icloud.com it shows no old contacts, actually none at all. I also can't figure out how to access my old pictures and files on icloud.com. When I go to icloud's settings on my iPhone it clearly shows 2 gigs of files yet when I try to restore the files to my new phone nothing actually gets added to the new phone. How can I access these files???? Anyone have any idea??

    just tried restoring from backup and it didn't list it as one of the backup options after i wipe out the iphone yet for some reason it shows up when i go through settings>>>manage storage. thanks anyway. i may have to bite the bullet and sit and wait for a few hours at the apple store, argh...

  • How can i put my files that are in my ipad to my computer

    how can i put my files that are in my ipad to my computer, because i deled all them from my computer, but they are in my ipad.what am i supposed to do?

    What kind of files are they and what apps are you using on the iPad with these files?

  • TS3972 How can I access the files(movies,music,etc) in my Apple Time Capsule(4th Gen) from my Apple TV(3rd Gen). This is very frustrating Apple has not provided a basic feature, and me buying the Time Capsule and Apple TV is an complete waste of bucks.

    I have an Apple TV (3rd Gen) and Apple Time Capsule (4th Gen). How can I access Movies and Music stored in the Time Capsule from Apple TV. This is very  n't give frustrating that Apple doesn't give their customers with an straight forward access to their customers in between their own products. Iam repenting that buying these products is completely waste of bucks. Appreciate your help...

    Welcome to Apple Support Communities
    The Time Capsule is clearly announced as a router with a hard drive to make backups, not to store anything and share it with your Apple TV.
    To access to movies and music from the Time Capsule, note that the Apple TV can only access to them if they are stored in your iTunes library, so you will have to put your movies and music into iTunes to access to them, and then, put your iTunes library on the Time Capsule in order to access to your data from there

Maybe you are looking for