Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Can't upload big file.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Blackpearl
Starting Member

Thailand
35 Posts

Posted - 18 July 2005 :  05:02:42  Show Profile  Visit Blackpearl's Homepage
I'm uesd "Mikes File Attachement mod" and I changed "byteCount <= 80000" to "byteCount <= 500000" (5Mbyte).
And when uploading. It's not done yet. It's was error becouse is take to much time!

I want to know. What size that you guy config for file size.

Thankyou

my code

select case extension
case ".jpg", ".jpeg", ".gif", ".bmp", ".png", ".tiff"
allowFile=true
typeFile = 1
case ".zip", ".doc", ".xls", ".ppt", ".txt", ".pdf"
allowFile=true
typeFile = 2
case else
allowFile=false
end select

If allowFile and typeFile = 1 and byteCount <= 1024000 Then
.
.
.
ElseIf allowFile and typeFile = 2 and byteCount <= 5120000 Then
.
.
.
Else
.
.
.
End If


^_^....If you see me....you will love me....I"M SO HANDSOME....^_^

Edited by - Blackpearl on 18 July 2005 05:24:13

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 July 2005 :  05:25:48  Show Profile
You'll need to increase the value of server.scripttimeout to get around this. You'll need to set it pretty high if you want to allow people to upload 5MB files which could take forever and a day on a dialup connection and will also eat into your bandwidth at a hefty rate.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07