Help me to Access a File in the Local Network

Hi everybody,
I'm new to this field.
I want to access a file in a machine on the local network from other machines.
can anybody please give me a simple code for this.
(actually I'm very little aware of this field)
Thank You.

Duminda_Dharmakeerthi wrote:
Hi everybody,
I'm new to this field.
I want to access a file in a machine on the local network from other machines.
can anybody please give me a simple code for this.This is not a code writing service.
If you want to access a file on another machine, there are many different ways to do it. All of them require that the other machine be running some kind of service, and that your client machine knows what that service is and how to use it, and most also require your client to authenticate itself.
You could mount a remote drive with Samba or NFS or Windows' file sharing.
You could use FTP.
You could use SCP.
You could use HTTP.
You could develop your own custom file sharing protocol.
You could use some other option not mentioned here.

Similar Messages

  • Unable to share files over the local network, OS X Lion

    About two weeks ago, my coworker and I realized that we were no longer able to share files over the local network. We have not made any changes to our preference settings. We are able to access FileMaker Pro databases files located on another computer in our office via the network, but we are unable to access any other files by trying to login to the computer remotely. We also have internet access. I am able to login to each of our work computers form home, but not from the office. I'm am not sure what has changed, but it is important that we have the ability to share files at work. Can you give me directions on how to fix our problem. Thanks!
    Debbie Roberts
    Univesrity of Texas at Austin

    I had this problem when I first setup my Mac. One thing I know is that File Sharing in System Preferences doesn't necessarily need to be on, because iTunes does all of the networking itself.
    I know that you've checked and checked again on the firewall, but what I did was turn the firewall on. In the list of ALLOW, there should be a line that is labeled iTunes Music Sharing. Check it. It was the magic link, and all of my iTunes libraries on the three computers in the house (two Windows, one my Mac) could "see" each other.
    Turning on the firewall might seem strange, but it worked for me.
    I hope this helps.
    MacBook Mac OS X (10.4.9)

  • Accessing public folders in the local network

    I work with 8 other mac users and we all share files using our Public folders via local network. This is how we typically would access each other's Public folder: open a Finder window, choose Network, then choose the name of the mac that we want to connect to. Then, connect as "Guest". We are all on OS X Tiger.
    Recently, one of us upgraded to the OS X Snow Leopard, and we couldn't access her Public folder since the switch. We believe she is on the network, because she has been printing to the network printer and can connect to all of our Public folders. I tried to follow this instruction from Apple Support page to set up file-sharing on her iMac (with Snow Leopard):
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/17131.html
    I hit a snag at #4 (bullet #2), because I couldn't find "network users" to add to the users list. When the rest of us try to connect to her computer, this is the message that we got:
    The alias "Stacey's computer (3)" could not be opened, because the original item cannot be found."
    Can someone help me with this problem? I have browsed the Discussions and Forums and didn't see anything that was helpful. Thanks!

    HI,
    The Snow Leopard user... have her repair disk permissions and see if that helps...
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    Carolyn

  • Accessing a file in the local folder.

    I want to create a File object using a file that is in the same folder as the JAR file. But I don't want to type in the entire path name. So how do I do this?
    Here's an example of what I'm doing:
    Instead of:
    File file = new File("C:\\folder\\doc.txt");Just have:
    File file = new File("doc.txt");except this doesn't work.

    There's a relatively efficient way of finding the program's jar file (getClass().getProtectionDomain().getCodeSource().getLocation()), but it's probably not what you really want.
    If the file is a read only resource then put it inside the .jar and use getClass().getResourceAsStream() to read it.
    If it's to be written then how about sticking it in your home directory, or below it. (System.getProperty("user.home")). (+ \Application Data\myApplication ?)
    Current directory isn't all that useful on Windows, it's more a shell script concept. But that's what a simple file name will give you.
    You can run your program from a link, and set the current directory in that link (generate a link from java.exe or javaw.exe and add the parameters yourself).
    Or you can ask the user where he wants the file the first time, and store the file path in a Preferences object.

  • When a win7 users accesses a file on the server the permissions on the file revert to read only.

    Hi there,
    Originally my enviroment was 100% Mac, but now we have merged with another company who are all PC users.
    The issue I'm having is when a Windows 7 client accesses a file on the Snow Leopard server the file becomes Read Only, and I have to manually propergate the permissions to fix it. This isn't an issue with XP users.
    So far this is only happening with Excel files.
    Is anyone else experiencing this issue?  Any help would be greatly appreciated.
    Cheers,
    J

    I'm having a similar issue as well.  Excel 2007 appears to be the culprit, but hard for me to say.  Running 10.6.8 here as well.

  • The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? is there a cable i can connect to another mac that will let me transfer the file?

    The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? The mac turns on the screen freezes as bright blue.  Is there a cable i can connect to another mac that will let me transfer the file?

    There is another option if the Macbook will start up in Target Disk Mode.
    Restart the computer while holding down the T key. If you see the firewire symbol moving around on the screen you can connect this one to another one in TDM. You will need a suitable cable to connect the two Macs.
    http://support.apple.com/kb/ht1661
    Firewire symbol:

  • Accessing txt files in the App server from web application

    Hi All,
    We have a use case, where we need to access txt files from the ADF web application.
    We will display to the user the path of the file and whenever he/she clicks, it should be downloaded automatically to the users machine.
    Environments we need to develop: JDeveloper 10.1.3.4 and Oracle App Server 10.1.3.1
    And our server has credentials and only those who have access to the server can access the files.
    Point me or suggest me a good solution to this use case.
    Regards,
    Naga.

    Hi Joonas,
    i was able to download the files, thanks a lot for your guidance. i will mark your answer as correct.
    Can you let me know how to achieve the following usecase.
    1. there will be multiple text files in the server i.e., out of our web application context like in some folder
    2. And we need to give user a http link and if he clicks on the link that file should be downloaded automatically to his machine.
    and we are using oracle app server 10.1.3.4, please point me to some document or example.
    thank you.
    naga.

  • I am unable to access intranet on my MacBook Pro 13" with OS X mavericks. Is it possible to use files on the Local Area Network?

    I am unable to access intranet on my MacBook Pro 13" with OS X mavericks. Is it possible to use files on the Local Area Network? I use the files on the Local Area Network on my windows computer by typing in the I.P address in the library. Kindly guide me how i can use these files stored over the Local Area Network.

    I disabled GateKeeper's automatic blocking of unrecognised developers, and so I was able to install the driver.
    The Mobile Connect program is now installed, but the computer still does not recognise the modem.
    I also borrowed a USB hub from a friend and it didn't make a difference.

  • Urgent help please, I made an file with the size 1024x768, then i made two folios, one for retina 2048x1536 and one for non retina 1024x768, i have alot of video content in it, everything works perfect on my retina ipad, but when i open it on ipad 2 an er

    Urgent help please, I made an file with the size 1024x768, then i made two folios, one for retina 2048x1536 and one for non retina 1024x768, i have alot of video content in it, everything works perfect on my retina ipad, but when i open it on ipad 2 an error appears on the pages with video content?

    its in german:
    der Vorgang könnte nicht abgeschlossen werden.
    something like the process coundnt be completed

  • Can not access CRM from outside the office network - Access denied You do not have sufficient access rights or privileges to perform this action.

    Hi,
    I can not access CRM from outside the office network - Access denied You do not have sufficient access rights or privileges to perform this action.  I can access CRM with same user id and password from our office inside the network.  I can get
    the page to give login details once I have login details I got below error. Please help me to solve this issue.  It was working before.
    Access denied You do not have sufficient access rights or privileges to perform this action. 
    Regards,
    Noushad
    [email protected]

    On Premise system Configured with AD FS server for claims-based authentication you need to update your host file with server url to access it from outside office network.
    Refer
    this on how to update host file.
    Regards, Saad

  • In Numbers 08 is it possible to add a link to a file on the local disc within a cell?

    In Numbers 08 is it possible to add a link to a file on the local disc within a cell?

    As it's a feature asked several times, maybe it will be available in the next version.
    I don't know features available in Excel.
    Sometimes ago I posted an AppleScript which may perhaps fit your needs.
    If you insert in a table pathnames of files stored in your HD, select the cell, trigger the script, open the file.
    Here is an updated version :
    --[SCRIPT open_a_file]
    Enregistrer le script en tant que Script : open_a_file.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Library:Scripts:Applications:Numb ers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner la cellule contenant le chemin d'accès
    Aller au menu Scripts , choisir Numbers puis choisir  “open_a_file”
    ouvre le fichier.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as a Script: open_a_file.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select the cell containing the pathname
    Go to the Scripts Menu, choose Numbers, then choose “open_a_file”
    open the file
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    Save this script as a … Script in the "Folder Actions Scripts" folder
    <startupVolume>:Library:Scripts:Folder Action Scripts:
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/02/02
    2011/04/28 - replaced the getSelParams handler by the get_SelParams one
    --=====
    on run
              set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
              tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
                        set maybe to value of cell rowNum1 of column colNum1
              end tell -- Numbers
              tell application "Finder" to open maybe
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on decoupe(t, d)
              local l
              set AppleScript's text item delimiters to d
              set l to text items of t
              set AppleScript's text item delimiters to ""
              return l
    end decoupe
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Oops, I forgot that you are asking about Numbers '08 which hasn't AppleScript support.
    Yvan KOENIG (VALLAURIS, France) jeudi 28 avril 2011 16:26:39
    Please :
    Search for questions similar to your own before submitting them to the community

  • Access to the local network of my company.

    Dear Mac users,
    I was wanted to access to the local network and drives of my office, on Windows it was easy for me, plug the cable, press run on start menu then tape the name of the drive (ex: \\dc4). But now on my brand new Mac I can't find how to do that. If anyone can help me please.
    Thanks & regards.
    Florian Poma

    florian.poma wrote:
    I was wanted to access to the local network and drives of my office, on Windows it was easy for me, plug the cable, press run on start menu then tape the name of the drive (ex: \\dc4). But now on my brand new Mac I can't find how to do that. If anyone can help me please.
    Can you access the Internet from your Mac? If not, that's the first thing you need to make work.
    If you can, in the Finder pull down the "Go" menu and select "Network". Do you see anything familiar in the resulting window?
    There's also a chance that your office network servers haven't installed or activated "services for Macintosh" or whatever it's called these days. (I've been away from Windows networking for a while.)

  • Write a file on the local system with an applet

    Hi,
    I am programming a user interface using HTML and now I would need an applet to write parameters into a plain text file.All this running on the same machine,with no network connection at all,and with I.E.
    All my attempts have failed because of security reasons,but I thought it was possible to write a file on the local machine where the applet source is.
    Can someone help me ? Please note that I am not a confirmed java user,so be as detailed as possible in your response !
    Thanks a lot !
    Sebastien

    pls go to ur jdk.13\bin and type POLICYTOOL.
    Click Add Policy Entry.
    Click Add Permission
    From the Listbox select ALLPermission and Click OK.
    Then Click Done.
    Then from the menu bar,
    File -> Save As
    then give the file name as .java.policy in ur home directory(c:\winnt\profiles\urname\.java.policy).
    close the window.
    these are the steps to give all permission.

  • Alternative option to updating the services file on the local computer

    Hi,
    Our project needs to add updates to the file C:\windows\system32\drivers\etc\services in order to allow excel reports to work from the SAP enterprise portal.
    The client will need to apply this change in the services file to all the desktop computers of the end-users. They are now asking whether there is an alternative solution to updating the services file on the local machine. Our team does not think that there is one but maybe one of you experts out there can provide some more insight.
    Any help would be greatly appreciated.
    Thanks.
    Best Regards,
    Giwan Persaud

    For our normal sapgui rollout we never change the services file.
    This is only possible if you change in saplogon.ini the MSSrvPort section, the names to numbers:
    instead of
    Item88=sapmsPS1
    you use
    Item88=3600
    Then you don't need the services file ( excepte the standard ones which you can rollout once )
    sapdp*
    sapgw*
    you to check if this works for Excel also!

  • Delete  flat file from the local drive after downloading in the program

    how to <b>delete flat file from the local drive after downloading in the program</b>
    I am using gui_upload to upload flat file data in internal table. and after that i dont want that flat file in the disk. i want to delete it.

    Once the file has been uploaded into the internal table call the<b> FILE_DELETE </b>method of the class  <b>CL_GUI_FRONTEND_SERVICES</b>.
    DATA: v_rc TYPE i.
    CALL METHOD cl_gui_frontend_services=>file_delete
    EXPORTING
    filename = 'C:\TEMP\MATERIAL.TXT'
    CHANGING
    rc = v_rc
    EXCEPTIONS
    file_delete_failed = 1
    cntl_error = 2
    error_no_gui = 3
    file_not_found = 4
    access_denied = 5
    unknown_error = 6
    OTHERS = 7.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards
    Kathirvel

Maybe you are looking for

  • Creating a custom screen saver that won't blow a small image

    Hello All... At work, my boss is trying to get me to create a custom screen saver with our business logo to display when activated. I'm usually pretty comfortable with these kinds of tasks, but for this one I'm at a loss. I've have my logo in a desig

  • Working with dimensions in data forms

    Hi All, I am creating a data form in one of my classic planning application, using Hyperion 11.1.2. Suppose i have two custom dimensions with two members in each of them: Dim1 (Mem1, Mem2) Dim2 (Mem3, Mem4) Now i place both of above dimension at colu

  • Back To The Front?

    Good Afternoon. I was trying to clear my 'unresolved questions' (7 to be exact) and they are all back on page 1. I had no idea that marking them solved or answered would bump them back up front. Is there anyway to move or delete them? mwn :o)

  • Activation Server Error ADE

    Good day When I try to Authorise my ADE I'm getting the following error. I've tried installing both versions of ADE same ERROR OS Windows 8 Please advice on steps to follow I

  • Photoshop CS6 Snap to Grid not working.

    Hey everyone, I recently acquired Photoshop and wanted to try my hand at some pixel art, but I can't get the snap to grid to work. The pixel grid works fine - which is great, when I'm making something tiny, but I am trying to draw with a 5 size pixel