Possible tough problem with image upload from an asp page...

C

Chris Parry

..... I'm installing a news management system that has the facility for
uploading images with news items.

The problem I have is that the images themselves are stored in the same
directory as the asp page containing the submit form for uploading.

I have been trying to set permissions for the directory, and to make it work
I need to enable 'allow scripts to be run 'and allow anonymous upload',
however it appears that the two are incompatible as I can't simultaneously
select both.

See this page:

http://webservices.web.cern.ch/WebServices/Help/Default.aspx?kbid=140030&mode=print

It says: "NB: The FrontPage file upload mechanism only works if the file
containing the form is NOT and '.asp' page. Otherwise FrontPage would assume
that the ASP page will handle the form submission. Therefore use .htm or
..html files for it!"

The script I'm using is fantastic for what I need, but it is pre-configured
and pre-written, therefore there will clearly be a lot of work involved to
move the scripts out of the 'images' directory which is frankly beyond my
capability.

Is there a simpler workround to this problem?

Chris
 
T

Thomas A. Rowe

You can not use the FP File Upload component on a ASP page, as indicated, which means FP will not
set the permissions needed, which can be different from what ASP requires.

You web host will need to set permissions on the folder for the ASP script to work correctly in
uploading files.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
C

Chris Parry

Thanks again Thomas - I've contacted the host to ask for the correct
permissions to be set on the server - Hopefully they will oblige!

Best Wishes
Chris
 
S

Stefan B Rusynko

PS
Also ask them if they support ASPupload
See http://www.aspupload.com/

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thanks again Thomas - I've contacted the host to ask for the correct
| permissions to be set on the server - Hopefully they will oblige!
|
| Best Wishes
| Chris
|
|
| | > You can not use the FP File Upload component on a ASP page, as indicated,
| > which means FP will not set the permissions needed, which can be different
| > from what ASP requires.
| >
| > You web host will need to set permissions on the folder for the ASP script
| > to work correctly in uploading files.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | >> .... I'm installing a news management system that has the facility for
| >> uploading images with news items.
| >>
| >> The problem I have is that the images themselves are stored in the same
| >> directory as the asp page containing the submit form for uploading.
| >>
| >> I have been trying to set permissions for the directory, and to make it
| >> work I need to enable 'allow scripts to be run 'and allow anonymous
| >> upload', however it appears that the two are incompatible as I can't
| >> simultaneously select both.
| >>
| >> See this page:
| >>
| >> http://webservices.web.cern.ch/WebServices/Help/Default.aspx?kbid=140030&mode=print
| >>
| >> It says: "NB: The FrontPage file upload mechanism only works if the file
| >> containing the form is NOT and '.asp' page. Otherwise FrontPage would
| >> assume that the ASP page will handle the form submission. Therefore use
| >> .htm or .html files for it!"
| >>
| >> The script I'm using is fantastic for what I need, but it is
| >> pre-configured and pre-written, therefore there will clearly be a lot of
| >> work involved to move the scripts out of the 'images' directory which is
| >> frankly beyond my capability.
| >>
| >> Is there a simpler workround to this problem?
| >>
| >> Chris
| >>
| >
| >
|
|
 

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