Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

FrontPage can't upload to virtual directlry

Posted on 2006-11-10
8
225 Views
Last Modified: 2013-12-24
Hi Experts,

I'm using FrontPage2003 SP2 and am having problems getting a form to upload a file to a virtual directory. I created a virtual directory named Incoming on my web server. I set permissions to allow read, write, directory browsing and anonymous access. I can browse to http://www.mywebsite.com/Incoming. My FP form is at http://www.mywebsite.com/upload.htm. In the form properties I've tried setting the File Upload destination to both Incoming and http://www.mywebsite.com/Incoming. In both cases when I try submitting a file via the form I get the following message:
Form Validation Error
Please correct the information you provided by following these steps, then submit the information again:
'Incoming' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL.

Of course, when I use the full URL for the destination it says
'http://www.mywebsite.com/Incoming' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL.

Is this a limitation of FP in that it cannot upload to a virtual directory, or am I doing something wrong?

Thanks in advance!
0
Comment
Question by:PowerBids
  • 4
  • 4
8 Comments
 
LVL 29

Expert Comment

by:coreybryant
ID: 17916642
Is this virtual directory part of your Frontpage website?  

Assumption:  Your website points to the path: D:\domains\example.com\wwwroot.  So that when I enter www.example.com I am actually seeing the index.html file located at D:\domains\example.com\wwwroot\index.html.   If this is the case (or similar) do you have D:\domains\example.com\wwwroot\Incoming or is Incoming somewhere else on your hard drive?

-Corey
0
 

Author Comment

by:PowerBids
ID: 17916765
Oops, I should have made that part a bit clearer. I of course have a local copy of the website, but the site itself - the http://www.mywebsite.com is actually on a hosting company's server - it's not local. So when I say I made a virtual directory on "my server', I meant I went to the control panel that the hosting company provided me and created a virtual directory that way.
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 17923138
Is this *NIX or windows?

Windows - sign onto the server via Frontpage - File - open web - http://www.example.com and then right click on the folder and look at properties.  Check to make sure you can write to it.

If *NIX, you might have other problems because htaccess wants to control permissions and so does Frontpage.

Check your path to make sure it it pointing to the server.  http://www.example.com\Incoming should come up into a browser and be seen (put an index.html file in there so it can be read).  If not, then no, it will not work because Incoming has to be in that folder of example.com

-Corey
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:PowerBids
ID: 17930905
It's Windows. Not only can I see an index.html file if I put it in that virtual directory, I can also browse the directory if there is no index.html file. However, when I open the site in FrontPage, I do not see the virtual directory. That explains why I get a FP error when I use a form to save a file to the virtual directory.

So the new question is, what do I have to do to get FP to "see" the virtual directory?
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 17930985
I think I understand when you say virtual but it cannot be a virtual folder in IIS sense.  It has to be a path in that website because of Frontpage server extensions

-Corey
0
 

Author Comment

by:PowerBids
ID: 17931015
In that case, I think I need to talk to my hosting company. Looking through their documentation, it appears the appropriate way to enable anonymous uploads and directory browsing is to create a "virtual" directory that points to a physical directory, and then set the permissions on the virtual one accordingly.

If you're telling me that FrontPage cannot recognize a virtual directory - only a physical one on the server - then I need to rethink my design.
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 500 total points
ID: 17931104
Try this:

Creating a folder via your website. And have the upload go there.  Publish your site.  Now open your site 'live' - File - Open Web - http://www.example.com.  Now right click on the folder you just created and choose properties.  Uncheck Allow scripts to be run and check Allow anonymous uploads to folder.

-Corey
0
 

Author Comment

by:PowerBids
ID: 17932277
Hey that did it! I don't even need to worry about virtual directories. Thanks loads for the help!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question