www.webdeveloper.com
Results 1 to 3 of 3

Thread: Open connection to a file

  1. #1
    Join Date
    Jan 2005
    Posts
    10

    Open connection to a file

    Hi,
    I want to open a connection to a file located at another computer. Does anyone have any idea about this? I made URLConnection but it didn't hold.

  2. #2
    Join Date
    Jan 2005
    Posts
    10
    I can open URLConnection to the file at another computer,I can get inputStream from a text file in that computer but I can not from an xml file. Does anyone have any idea?

  3. #3
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    If the file is on an SMB share then you can open it with a UNC path, //host/share/dir/dir/dir/file.xml.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles