Problems while accessing a file from Internet


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Problems while accessing a file from Internet

  1. #1
    Join Date
    Dec 2003
    Location
    Italy
    Posts
    250

    Problems while accessing a file from Internet

    Hello guys,
    I have an ASP application that should allow users getting a file from my WebServer local directory.

    the File is a .zip file and it's located into:

    c:\MyZipFiles\03032008\1\myfile.zip

    In my browser window I have an url pointing to:

    http://xxx.xxx.xxx.xxx/MyZipFiles/03032008/1/myfile.zip

    where:

    xxx.xxx.xxx.xxx is the website Ip address.

    The problem is when I try to access this url, I'm getting the next error:

    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    --------------------------------------------------------------------------------

    Please try the following:

    Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
    Click the Back button to try another link.
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)

    --------------------------------------------------------------------------------

    Technical Information (for support personnel)

    Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.


    The thing is The file and the path is correct.

    Does anybody know how to solve this problem?

    Thank you all

  2. #2
    Join Date
    Dec 2003
    Location
    Italy
    Posts
    250

    Problems while accessing a file from Internet (SOLVED!)

    Sorry guys,
    The problem was the Virtual Directory wasn't created in the website.

    Sorry and thank you all

  3. #3
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    No reason to apologize. In fact, it is encouraging when members figure out their own problems, and thank you for coming back and posting the solution.

    It may help someone else facing the same or similiar situation.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  4. #4
    Join Date
    Jan 2008
    Location
    http://www.GlobalGuideLine.com
    Posts
    12

    Smile Virtual Directory is to made!

    Hi dear i think here you have to put ur myfile.zip in a virtual directory at you computer and then the web server will allow others to download this file.
    so make a virtual directory or put ur files at the below address of you computer.

    C:\Inetpub\wwwroot\myfile.zip

    Hope it will resolve ur problem
    Thanks.
    Ali.
    Online Web Tutorials http://www.GlobalGuideLine.com

  5. #5
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    He did resolve his problem.
    Quote Originally Posted by Michael
    The problem was the Virtual Directory wasn't created in the website.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Problem compiling a C++ file in Linux
    By kepler in forum C++
    Replies: 3
    Last Post: 08-26-2007, 01:11 AM
  2. AudioSystem file format problems
    By Phaelax in forum Java
    Replies: 0
    Last Post: 03-07-2006, 05:24 AM
  3. Replies: 1
    Last Post: 08-10-2005, 03:54 PM
  4. wav file fade in out help
    By jase_dukerider in forum C++
    Replies: 2
    Last Post: 04-14-2005, 08:48 PM
  5. file transfer across the internet?
    By Lim Wing Hoe in forum Java
    Replies: 3
    Last Post: 07-25-2000, 01:46 PM

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center