6 Replies - 638 Views - Last Post: 26 October 2013 - 06:45 AM

#1 extremeblueness  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 186
  • Joined: 22-October 12

scheme file:// help

Posted 25 October 2013 - 11:54 AM

I need help finding out how to find the path to the C drive of my computer.

My main problem is that I can't find the host, domain, and port of my computer.
Is This A Good Question/Topic? 0
  • +

Replies To: scheme file:// help

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3730
  • View blog
  • Posts: 6,017
  • Joined: 08-June 10

Re: scheme file:// help

Posted 25 October 2013 - 01:10 PM

What do you mean? If you're only looking to open files on your own computer, then you don't need host details, like a domain, IP or port number. You are reading files of your own computer, not something hosted elsewhere.

On Windows, a file path like file:///C:/path/to/file.txt: would read a text file at C:\path\to\file.txt.

Unless you are trying to access files through a local HTTP server? In that case, it's typically just http://localhost/path/to/file.txt, where /path/to/file.txt is a path relative to the web-root of that HTTP server.
Was This Post Helpful? 0
  • +
  • -

#3 extremeblueness  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 186
  • Joined: 22-October 12

Re: scheme file:// help

Posted 25 October 2013 - 06:31 PM

But won't that access files from the user's computer, and not my own?
Was This Post Helpful? 0
  • +
  • -

#4 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3730
  • View blog
  • Posts: 6,017
  • Joined: 08-June 10

Re: scheme file:// help

Posted 25 October 2013 - 06:55 PM

It will access the files on the local computer; the computer running the browser.

So if I am understanding your question correctly, you are trying to have remote users of your website access files on your computer, which is not the computer hosting the website? If that is so, then you are going to have to set up some sort of server on your computer. Computers aren't set up to server their files to remote users by default, you have to set up some sort of a server on a computer for that to work. Like a HTTP, FTP, Samba or SSH server. - Do you have something like that set up?
Was This Post Helpful? 0
  • +
  • -

#5 extremeblueness  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 186
  • Joined: 22-October 12

Re: scheme file:// help

Posted 25 October 2013 - 07:31 PM

no. and i have very little income. so anything I set up will have to be free.
Was This Post Helpful? 0
  • +
  • -

#6 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3730
  • View blog
  • Posts: 6,017
  • Joined: 08-June 10

Re: scheme file:// help

Posted 25 October 2013 - 08:16 PM

There are plenty of free server software out there. In fact, most websites out there are hosted on free software. So that's not a problem.

What is a problem, however, is that these kind of setups are not simple. From your responses here it seems clear that you have little or no experience with these things. Setting up a live server like this, open to the public, in a secure and efficient manner would require a fair amount of know-how when it comes to the server software and it's configuration, not to mention the under-laying OS and perhaps even the network components in between your PC and the cloud. (Home networks tend to require some tampering with the router firewall and/or NAT setup to get services like this through. Port-forwarding, and things like that.)

By opening your computer up to the public, you are painting a bulls-eye on it, and sooner or later (sooner, I'd bet) some people out there will start trying to worm their way into your computer through the server. If you aren't prepared for that, they will no doubt succeed eventually.


Why do you want people to be able to access files from your computer anyway? It would seem simpler to find a free web hosting service and use that instead, moving the files you need people to have access to there. - Although, free services tend to be limited, on way or another. You'd have to pick carefully.
Was This Post Helpful? 1
  • +
  • -

#7 extremeblueness  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 186
  • Joined: 22-October 12

Re: scheme file:// help

Posted 26 October 2013 - 06:45 AM

oh. i feel like an idiot now that you've mentioned file hosting. I just want to be able to create an external style sheet and use it on a webpage for a user lookup (not here, btw.)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1