Link to home
Create AccountLog in
ASP

ASP

--

Questions

--

Followers

Top Experts

Avatar of gorexy
gorexy

ABCUpload
Anyone uses ABCupload before??  can you upload over 30M file??

I can only upload 6M file at max.  why??
when the file size is large, it said "cannot be displayed... Cannot find server or DNS Error"

I didn't use the proxy server.
how come?

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Gregory MillerGregory Miller🇺🇸

Never used the ABCupload before but you might try setting your script timeout values higher that the 90 second default. I had this problem with files larger than 5MB and ASPupload.

Good Luck,
-greg

Avatar of gorexygorexy

ASKER

I set the seconds to 3600 already but still fails

Avatar of hongjunhongjun🇸🇬

Try this. Change the MaxUploadSize property to suit you. The default is 8,388,608. The property datatype is long.

<% @Language="VBScript" %>
<%
Set theForm = Server.CreateObject("ABCUpload4.XForm")
theForm("filefield")(1).MaxUploadSize = 99999 ' this is in bytes
theForm("filefield")(1).Save "myupload.dat"
%>


hongjun

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of gorexygorexy

ASKER

no, it doesn't work.
it said theform(...)(...).maxuploadsize
doesn't allow

Avatar of hongjunhongjun🇸🇬

Ooops should be something like this

<%
Set theForm = Server.CreateObject("ABCUpload4.XForm")
theFormMaxUploadSize = 99999 ' this is in bytes
'
'
' rest of code
%>


hongjun

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of gorexygorexy

ASKER

oh..u never tried?

Avatar of hongjunhongjun🇸🇬

I usually use AspUpload. Have you tried? Does it work? It should work based on the documentation.

hongjun

Avatar of gorexygorexy

ASKER

aspupload is a pure asp upload method ?
i want to use pure asp upload but it seems not as good as component one.  as pure asp can't upload binary data

wait i am trying now

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of hongjunhongjun🇸🇬

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of gorexygorexy

ASKER

i am trying a 30m file
pls wait... it seems work

if it works, do you know why??
so strange

Avatar of gorexygorexy

ASKER

great!  this is a good solution.  

Avatar of hongjunhongjun🇸🇬

>>if it works, do you know why??
it is explained very clearly in
http://www.websupergoo.com/helpupload/4-objectref/1-xform/default.htm 



hongjun

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of gorexygorexy

ASKER

ok thanks for your effort :>

Avatar of gorexygorexy

ASKER

you know i am now adding a progress bar too but it seems I can't use session at the same time

Avatar of hongjunhongjun🇸🇬

post code.

hongjun

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of gorexygorexy

ASKER

<%@EnableSessionState=False%>
<% '@Language="VBScript" %>
<% Server.ScriptTimeout = 3400 %>
<% @Session.Timeout = 60 %>

<%
Set theForm = Server.CreateObject("ABCUpload4.XForm")
theForm.MaxUploadSize = 40000000 ' this is in bytes
theForm.ID = Request.QueryString("ID")
Set theField = theForm("inname")(1)
'theField.Save "./" & session("login") & "/"& theField.FileName  &""
'uploadname=theField.FileName

'theField.Save "./" & session("login") & "/"& theField.FileName  &""
 theForm("inname")(1).Save "./" & session("login") & "/"& theForm("inname")(1).FileName  &""

response.write "<p><br><center><font size=5 color=blue>"
response.write "File:&nbsp "& session("uploadname") &"&nbspwas successfully uploaded!<br>"
response.write "<a href='upload.asp'>Click here to upload another file</a></center><br>"
response.write "<center>OR<br>"
response.write "<a href='screener.htm'>Quit here</a></center><br>"

%>

I need to use session("login") to store the login but if I want to use progress bar, I need to do <%@EnableSessionState=False%>

Avatar of gorexygorexy

ASKER

oh... I remark the first line and everything is working fine now.

Thanks for your help!!

Avatar of hongjunhongjun🇸🇬

great :)

hongjun

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.

ASP

ASP

--

Questions

--

Followers

Top Experts

Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.