Pure ASP Upload 3 Support Product Page

In progress

Is there an actual upload file size limit?

Reported 13 Aug 2012 00:49:04
1
has this problem
13 Aug 2012 00:49:04 Peter Piper posted:
I've placed the Pure ASP Upload 3 on a page and get an error dialog after selecting a file to upload - a video file of 144 Megabytes - saying the file size exceeds the maximum file size of 102400 Kbytes (or 102.4 megabytes). There is no explicit filesize limit in the properties. Is this the limit of the file size I can upload or is this a bug??

Replies

Replied 13 Aug 2012 06:35:03
13 Aug 2012 06:35:03 Teodor Kuduschiev replied:
Hello Peter,

The extension does not limit the file size all of the limits are handled by your server.
Replied 13 Aug 2012 15:22:13
13 Aug 2012 15:22:13 Peter Piper replied:
Hi Theodor: Thanks for you reply: Actually, I am able to upload files up to 1 Gigabyte in size using other upload controls. I only get the error message from the DMX Zone Pure ASP Upload 3 control, so it would appear that there's no problem with the server accepting large files. Are there any setting in the ASP Class that might be at issue?
Replied 14 Aug 2012 06:24:33
14 Aug 2012 06:24:33 Teodor Kuduschiev replied:
Can you please provide a link to a test page where we can check this?
Replied 14 Aug 2012 13:06:22
14 Aug 2012 13:06:22 Peter Piper replied:
Here's a link to the page:

www.convergencewebs.com/dmxzone_uploader/test_dmxzone_pureasp3_multi-upload.asp

Here is the code that appears on the page:

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../ScriptLibrary/incPU3Class.asp" -->
<!--#include file="../ScriptLibrary/incPU3Utils.asp" -->
<%
'*** Pure ASP File Upload 3.0.17
' Process form upload1
Dim pau, DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight
Set pau = new PureUpload
pau.ScriptLibrary = "ScriptLibrary"
pau.TimeOut = 600
pau.ConflictHandling = "error"
pau.StoreType = "file"
pau.UploadFolder = "/uploads"
pau.ProcessUpload
pau.SaveAll
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript"><%=pau.generateScriptCode()%></script>
<script src="ScriptLibrary/incPU3.js" type="text/javascript"></script>
</head>

<body>
<br />
<h3>Test Page For DMXZone Pure ASP3 Uploader<br /><br />

<form name="UploadQueue" id="UploadQueue" method="post">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0" width="650" height="350" id="upload1" align="middle">
<param name="FlashVars" value="<%=pau.flashvars()%>&formName=UploadQueue" />
<param name="movie" value="dmxMultiUploader.swf" />
<param name="quality" value="best" />
<param name="wmode" value="transparent" />
<!--[if !IE]>-->
<embed src="dmxMultiUploader.swf" name="upload1" quality="best" FlashVars="<%=pau.flashvars()%>&formName=UploadQueue" wmode="transparent" type="application/x-shockwave-flash" width="650" height="350" pluginspage="www.macromedia.com/go/getflashplayer" />
<!--<![endif]-->
</object>
<input type="hidden" name="Filedata" />
<script type="text/javascript">window.upload1 = document.forms["UploadQueue"].upload1;</script>
</form>

</body>
</html>
Replied 13 Sep 2012 23:15:24
13 Sep 2012 23:15:24 Peter Piper replied:
Teodor: You were getting the same error message when you tried the Pure ASP Upload 3 on your server. You told me you were "referring the issue to the deverloper" and that it would be resolved in about 1 week and that you'd contact me via email. Have not heard anything further from you on this. Can you tell me if there's any new developments on this issue?
Replied 14 Sep 2012 08:46:35
14 Sep 2012 08:46:35 Teodor Kuduschiev replied:
Hello Peter,

It was the server setting that was limiting my upload.
The problem was discussed with our developers and there is no a limit set in any of our upload extensions.
Replied 16 Sep 2012 21:55:55
16 Sep 2012 21:55:55 Peter Piper replied:
I have to say that your reply does not seem to make sense because: As my original post states, the error dialog, which comes from the extension, pops up as soon as the file to be uploaded is selected on the local machine - to repeat, as soon as the file to be uploaded is selected on the local machine - the upload has not even been initiated. If it's the server that's limiting the upload then does the extension do a query on the IIS settings before an upload? I don't think so. In addition, I can upload in excess of a 2 Gigabyte file using ASPUpload from Persits (www.persits.com) to the very same server where the ASP Pure Upload 3 is with absolutely no problem.
Replied 17 Sep 2012 06:41:12
17 Sep 2012 06:41:12 Teodor Kuduschiev replied:
Hello,

This is quite strange.
Please try setting a large limit in your Pure Upload Settings and check if the error message appears again.
Replied 25 Sep 2012 15:43:53
25 Sep 2012 15:43:53 Peter Piper replied:
Teodor: Regarding this issue with the upload file size: As I mentioned in my previous and original comments on this, I was getting a error screen coming from the extension, not the server, when ever I selected a file that exceeded 102400 Kbytes even though in the control there was no limit specified: I you look at the code in the above comments you will see that there is no filesize limit indicated, so according to the documentation, there should not be an upload limit - however I was getting the error when ever I selected a file that exceeded 102400 Kbytes (or 100 megabytes) even before the upload was started. Your last response to me was to try a set a filesize in the control, which I did. Apparantly, there is a bug in the Pure ASP Upload 3 extension because when the maximum file size is blank, a) the warning, before the upload even begins, that the 102400 Kbytes file size error is coming from the extension, 2) with the version of the control I have, leaving the maximum upload file size blank as the documentation states, does NOT result in a allowing a file greater than 102400 Kbytes to be selected without getting the error msg. Lastly, you stated that there is no upper limit for the file size. That is really not the case because: assuming for a moment that the server where the Pure ASP Upload 3 is being used with (IIS6 - IIS7) accepts any file size in an ASP upload, the extension used the CLng (Long integer type) in the incPU3Class.asp file: the variable in that file is m_MaxFileSize, and it appears on line 134 of that file. You will note that the maximum file size is limited to CLng(lngsize/1024). For a Long integer the maximum file size is 2,147,483,647 (per Microsoft's VB Reference) which is slightly larger than 2 Gigabytes. So, for the the PURE ASP Upload 3 the upload limit - assuming the server being used has not limits set - is 2,147,483,647 bytes or 2.147483647 Gigabytes. So that's the limit for the PURE ASP Upload 3 file size, at least for the version I have. The documentation needs to be corrected to indicate that a value needs to be included or the extension may indicate a false error in terms of the upload limit.

Reply to this topic