Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - upload problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

upload problems

 Post Reply Post Reply
Author
spitzer View Drop Down
Newbie
Newbie


Joined: 15 May 2003
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote spitzer Quote  Post ReplyReply Direct Link To This Post Topic: upload problems
    Posted: 15 May 2003 at 5:41am

I have tried to install both the aspSmartupload and Dundas and both installed with no errors, but for some reason I can not see the upload functions. This is a W2K server with all the SPs and the rest of the forum seems to work okay. Is there any way of testing that it recongnizes the controls?

Also, does it just load the files into the upload directory or does it put it into the database? 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2003 at 7:21am

You need to enable the upload features from the admin area and also give permission on the forum or for a user group to upload files and or images in the forums you wish this to be available in.

Files are not placed in the database.

Back to Top
spitzer View Drop Down
Newbie
Newbie


Joined: 15 May 2003
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote spitzer Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2003 at 9:26am

Just a little concern - if the attached files are not in the database, this could cause quite some pain if there are a lot of files and of there are duplicate names?

any mods that can address this?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2003 at 9:31am

Checks are carried out to see if the file already exsists on the server and if it does the file is renamed.

Placing files in the database is very bad for performance especially with access as it would only take 10, 1Mb size files and your database would be over 10Mb in size slowing down the entire forum. Extraction of the files from the database is also slower.

In the next version files and images will also be placed in a folder named after the user for easier tracking of who has uploaded what.

Also the avatar uploading in the next version will only be available once a user is registered, thuse adding more security as unregistered users will not be able to upload avatars.

Back to Top
spitzer View Drop Down
Newbie
Newbie


Joined: 15 May 2003
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote spitzer Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2003 at 9:39am
How far off is the "by name" storage?  I guess my concern would be that we frequently have people attach screen shots to descriptions.  So by stats we would anticipate 10 - 20 people maybe 2 - 3 screenshots and graphics a day, ie 20-60 a day, so about 200/month.  would this not become slow and unreliable using just directory based access?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2003 at 9:50am

There is a mod in the mods forum that will place files and images in folders named after the user.

It is far slower storing images and files in a database, this is why it is not done very often.

Soring images on the server in folders is the same as storing any image on the web server and only a link to the image is stored in the post stored in the database.

This way when a post is placed in a page the link to the image works in the same way as a link to any image on your web site. If the image was also stored in the database it would have to be stored as binary format and there would be the need to open anther resource heavy connection to the database inorder to get the image, add to it also 200 images per month in the database your database would become very large very quickly slowing down the forum. Disk space is cheap and won't effect performance so it is the cheapest and optimal way to store the images and files.



Edited by -boRg-
Back to Top
spitzer View Drop Down
Newbie
Newbie


Joined: 15 May 2003
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote spitzer Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2003 at 9:58am

Thank you for your explanation.  I must say we have spend serious $ on products with way less support and way longer response time. I must comend you for your service!

Thanks again.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.