Upload File via http

T

Terry On Windigo

I have followed all the directions for creating a way to be upload a file to
a folder but something isn't working and I was wondering if it's a
difference in FP versions and FP extensions versions.

On my server I am running 2000 w/latest sp, and FP latest extensions
(2003?). On my development computer which I use to for making changes to my
server I have FP 2003. The only directions I can find on Microsoft's site
or elsewhere on the web reference FP 2002. I continually get an error
saying cannot run interpreter on this non-html page, no matter what I do. I
have checked permissions, folder permissions, IIS execute rights, still
nothing.

Thanks
 
R

Ronx

Please give a link to the page.
The latest extensions are FP2002. Your host may not support the file
upload component.
 
T

Terry On Windigo

http://www.aawp.org/upload.htm

This is a server I maintain and have been running for years. I just did a
server extensions check on this web and it reported no problems. I have run
scripts selected on the properties tab/Directory and have set permissions
to include the iuser account.

Thanks

Terry
 
R

Ronx

Your form is missing one or two hidden fields:

The code from a test form I made is:

<form method="POST" enctype="multipart/form-data"
action="_vti_bin/shtml.dll/upload_test.htm"
webbot-action="--WEBBOT-SELF--">
<!--webbot bot="FileUpload" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" S-Destination="dwt/" startspan
--><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><input TYPE="hidden"
NAME="_charset_" VALUE="utf-8"><!--webbot bot="FileUpload"
i-checksum="45034" endspan -->
<p><input type="file" name="F1" size="20"></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>

This works. Note the hidden field named VTI-GROUP, which is included
with every FrontPage form.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp
 
T

Terry On Windigo

Ok, I did two things.
1) Added the missing fields to my form to make it just like yours. Got the
same message: Cannot run the FrontPage Server Extensions' Smart HTML
interpreter on this non-HTML page: http://www.aawp.org/upload2.htm

2) Cut and pasted all of the code between the Form tags, but changed the
paths to reflect mine. Got the same message.

Scratching my head too. If this was a new machine, or I didn't already have
at least 75 other forms running in different areas I would start looking for
things I did wrong, but all of the other bots work.

Thanks for the advice, it does help.

Terry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top