Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

FrontPage can't upload to virtual directlry

Posted on 2006-11-10
8
Medium Priority
?
233 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
[X]
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
  • 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
Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

 

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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
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 make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
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…
Suggested Courses

610 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