|
-
Jul 19th, 2001, 04:46 AM
#1
Thread Starter
Member
Check file size before upload??
I'm using SA-File to upload file to a server. Before the files are uploaded I need to check the files size. How could that be done? As far as I understand it's only possible to check the size with SA-File after the upload is completed.
-
Jul 20th, 2001, 02:01 PM
#2
Yes, SA-Fileup can only check the size of the file after it is uploaded because sa fileup runs on the server.
You can set the sa-fileup object's maxbytes property.
The problem with this is that the object will upload part of the file, until the file bytes uploaded = maxbytes. If you set maxbytes to 1000 and try to upload a 2500 size file, you will still end up loading 1000 bytes of that file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|