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
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
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.