Results 1 to 7 of 7

Thread: Linking to a file????????

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Linking to a file????????

    Hey, I'm working on a small website and I'm running some webserver software. I want to to link to a file on my PC which will act as the server. What is wrong with this link? I can't seem to get it to work. I'm trying to link to a file on my "F:" drive. Is this fomatted wrong? I have my static IP address, then the local disk the file resides on, and then the file. Where am I wrong here? Any help appreciated.

    http://999.999.999.9/F:/myfile.zip

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    It doesnt work that way. Put the file into the folder where the web site pointss to.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Could you give me an example?

    I'm running a small webserver app and want to host my site from the "F:" drive of my PC. My site folder is F:\Mysite\

    How can I connect to the index.html file through http? I am able to do this fine through FTP, but I wanted to have a frontend for access to my files (pics I took at car shows).

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Check the web server app (which one is it?) for root directory, and change it to F:/. You can then put all your files there, even if it ain't web pages

  5. #5
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Also, 999.999.999.9 is not a valid IP address
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Ok, but.......

    I got that set, but how would I link to a specific file with a link on the webpage? I'm using Ability Webserver.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    <a href="http://xxx.xxx.xxx.xxx/abc.zip">Click here</a>

Posting Permissions

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



Click Here to Expand Forum to Full Width