Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP Simple Upload Revisited
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP Simple Upload Revisited

 Post Reply Post Reply Page  <123>
Author
eaglesexec View Drop Down
Groupie
Groupie
Avatar

Joined: 02 December 2002
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote eaglesexec Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2003 at 11:53pm

-xeerex,

the upload script i got is highly customized and very very tricky i am told. anyway i will email it to u right now but dont ask me anything about it. lol. it wasnt me who wrote it...

-to boyohboy:

sorry about the small font. lol. nobody has complained and personally i am quite comfortable with it... i dunno though.

anyway no we dont play starcraft. only Age Of Empires II: The Conquerors and Age Of Mythology. we are really looking forward to new rts Rise of Nations. few members play StarCraft, Empire Earth, and War3 but we never got around to forming teams for those games cuz they arent played regularly enough.



Edited by eaglesexec
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: 07 March 2003 at 3:21am
Originally posted by eaglesexec eaglesexec wrote:

borg this is not true of asp simple upload component. my friend made a file uploading library for me using the asp simple upload component obviously. the file size could not be limited this is true. file extensions could. plus my host automatically doesnt accept file uploading of files more than 500KB unless they are uploaded through the ftp account anyway! so the file limit isnt a problem, for me at least.

also my friend made it so that if the file name exists in the DB it will tell the user: File already exists on the server. Please Rename and Re-Upload. and it works just fine. if u want i can show you the code for all of this. the only sad thing is that he didnt integrate it with the webwiz forums. he said he could try but since he didnt give me guarantees i told him to leave it alone. now since ur the master of your own code maybe u could be the one to add it up.

anyway if u want the code i am currently using just tell me and i will be happy to forward it.

u can catch the live version at http://www.eaglesclan.com/aocupload.asp but unregistered members cant upload...

I know that file extensions can be got as you can get the file name, the problem is that you can't set file size and as the names of files arn't stored in the database you can't check to see if it exsists that way. I would also not want to store file names in the database as this would add extra overhead to the forum thuse slowing it down. 

Back to Top
eaglesexec View Drop Down
Groupie
Groupie
Avatar

Joined: 02 December 2002
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote eaglesexec Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 9:16am
oh no the files arent stored in the DB at all...  :-)  they are stored in an upload directory...  their names are stored in the DB. just the name. so when u get a duplicate entry the DB will tell you that u need to rename it.  it doesnt actually check in the uploads directory...  honestly i got the code that works right here if u dont believe me.  what else can i say?

Edited by eaglesexec
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: 07 March 2003 at 9:43am

Please read my post again as I think you are missreading it.

I'm not talking about storing the files in the db, nor will I store the names in the db, although I know it can be done, the reason for this is that it would effect performance.

Simply put, unless you write it yourself for your forum there will NOT be support for AspSimple Upload.

Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 10:03am

borg,

Thanks for the replies and I understand your concerns. I'll work on my simple upload page and try to intregate it with the forum somehow as I did on a v6.34 board.

If someone does a mod, then great. If not, thats ok too.

===========

Eagle,

Thanks for emailing me the script. I'd have to do some serious mod's to get that to work and the script is beyond my skills right now. Whoever wrote it appears to be pretty sharp!

Back to Top
eaglesexec View Drop Down
Groupie
Groupie
Avatar

Joined: 02 December 2002
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote eaglesexec Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 7:58pm

borg i am not really asking anything. i mean i was clear on the subject of asp simple upload not being added to this forum about a month ago when i asked the question. i am just making discussion.

and what is this about file names adding extra overhead??? u know i may be wrong but arent the file names just stored as simple text? as if it was a post for example??? whats so extra overhead about that?? anyway i dont want to take ur time with this because it is pointless. if there isnt a reply i wouldnt mind at all. 



Edited by eaglesexec
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: 08 March 2003 at 5:54am

It would require extra overhead as it would require a new completly new table just to store the names of files in for this one component, each new table, field, data, etc. in the db adds extra overhead, also there would still be the problem of not being able to check the file sizes.

This would then in turn leave the forum open to security problem, two of the biggest consideration when making the forum is security and performance, by including this component it will break both of these.

I would then get loads of emails and posts accusing me of making an insecure forum becuase people have been hacked because they have enabled uploading using this component, in turn it will make the forum look insecure and open to hackers.

I shall however look into maybe using the FSO object with AspSimple Upload to see if that would allow me to get over the limitations of AspSimple Upload.

Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2003 at 10:52am

borg,

Thanks for at least looking back into it. For my part, I would much prefer the security and performance first and foremost.



Edited by xeerex
Back to Top
 Post Reply Post Reply Page  <123>

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.