FrontPage can't upload to virtual directlry

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!
PowerBidsAsked:
Who is Participating?
 
coreybryantConnect With a Mentor Commented:
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
 
coreybryantCommented:
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
 
PowerBidsAuthor Commented:
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

 
coreybryantCommented:
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
 
PowerBidsAuthor Commented:
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
 
coreybryantCommented:
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
 
PowerBidsAuthor Commented:
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
 
PowerBidsAuthor Commented:
Hey that did it! I don't even need to worry about virtual directories. Thanks loads for the help!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.