from field upload file problem

T

threademporium

www.icingpictures.co.uk
win xp
FP 2003
online order form url
http://www.icingpictures.co.uk/online_order_form.htm

Problems with online order form - upload files form field
Everything on form works fine 100% except one aspect. Maximum file size it
can upload.

I can successfully upload up to 8 files simultaneously using the from
providing the file sizes are small (under 2MB). If I try and upload either
one file or a number of files and the combined size is around 2MB plus – I
get a user name and password prompt – obviously customers using the form
would not know this and they would not be able to send file. This user name
and password prompt does not appear when I upload smaller files.
I have checked the _private folder
allow files to be browsed
allow anonymous upload to directory
allow uploaded files to over ride existing file names

I have been in touch with server company – they have a 4MB file limitation
for my site – they say they have checked the script and it is working fine
and have suggested the problem lies within my coding. They have asked mt to
check this out. So my question is as follows - is there anything i can do in
frontpage to alter the file sizes that can be uploaded?

The only other thing I can add to this – is that in my folder directory – a
folder called “customer_uploaded_images†has appeared – I am not aware of
creating this folder and assume it has been part of some automated process
within FP when I created the form – I have not designated this file for
customer images as all the instruction sheets / advice on this forum has
referred to the _private folder as the place for the images to be deposited
in.

Thank you for taking a look at my question.

Joyce
 
R

Ronx

First, Either you created the folder customer_uploaded_images (perhaps by specifying it in the form field properties) or your site has been hacked. FrontPage definitely did not create this automatically.

Second - You can use the _private folder for uploaded files, but I would never advise it. The permissions on the _private folder allow the extensions to write data to files in the folder, and prevent unauthorised users getting to the data. Changing those permissions to allow anonymous uploads may spoil that security. Also, running a server health check may revert the permissions back to the original setting.
If using a normal folder the health check will retain the permissions required for the anonymous upload.

The upload size limit is set by the host in the Extensions - the default value is 1MB, but it seems your host has changed this to 4MB. However, in my experience, this figure is per form, not per file. So a user should be able to upload a TOTAL of 4MB in one submission, not up to 8 x 4MB files.
--
Ron Symonds - Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
This nesgroup is closing - see
http://www.rxs-enterprises.org/fp/newsgroup-closure.aspx

threademporium wrote on 27/05/2010 :
Problems with online order form - upload files
form field Everything on form works fine 100%
except one aspect. Maximum file size it can
upload.
I can successfully upload up to 8 files
simultaneously using the from providing the
file sizes are small (under 2MB). If I try and
upload either one file or a number of files
and the combined size is around 2MB plus – I
get a user name and password prompt – obviously
customers using the form would not know this
and they would not be able to send file. This
user name and password prompt does not appear
when I upload smaller files. I have checked
the _private folder allow files to be browsed
allow anonymous upload to directory allow
uploaded files to over ride existing file names
I have been in touch with server company – they
have a 4MB file limitation for my site – they
say they have checked the script and it is
working fine and have suggested the problem
lies within my coding. They have asked mt to
check this out. So my question is as follows -
is there anything i can do in frontpage to
alter the file sizes that can be uploaded?
The only other thing I can add to this – is
that in my folder directory – a folder called
“customer_uploaded_images†has appeared – I am
not aware of creating this folder and assume
it has been part of some automated process
within FP when I created the form – I have not
designated this file for customer images as
all the instruction sheets / advice on this
forum has referred to the _private folder as
the place for the images to be deposited in.
 
T

threademporium

Ronx said:
First, Either you created the folder customer_uploaded_images (perhaps by specifying it in the form field properties) or your site has been hacked. FrontPage definitely did not create this automatically.

Second - You can use the _private folder for uploaded files, but I would never advise it. The permissions on the _private folder allow the extensions to write data to files in the folder, and prevent unauthorised users getting to the data. Changing those permissions to allow anonymous uploads may spoil that security. Also, running a server health check may revert the permissions back to the original setting.
If using a normal folder the health check will retain the permissions required for the anonymous upload.

The upload size limit is set by the host in the Extensions - the default value is 1MB, but it seems your host has changed this to 4MB. However, in my experience, this figure is per form, not per file. So a user should be able to upload a TOTAL of 4MB in one submission, not up to 8 x 4MB files.
--
Ron Symonds - Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
This nesgroup is closing - see
http://www.rxs-enterprises.org/fp/newsgroup-closure.aspx

threademporium wrote on 27/05/2010 :







--
Ron Symonds - Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
This nesgroup is closing - see
http://www.rxs-enterprises.org/fp/newsgroup-closure.aspx


Do you have any thoughts on why I get the message asking for a user name and password popping up when i try and upload a file over 2MB - but can upload files without getting a user name and password prompt when I upload files with a combined size of less than 2MB? - in summary my form works fine under 2MB but doesnt work over 2MB?
 
D

Dan L

Perhaps you should put a note or warning "Files over 2MB will not upload."
Customers will either compress or find an alternative means to provide them
to you and your server won't be pressured.
 

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