Posted by J.O. Aho on 02/17/06 14:50
Julien CROUZET wrote:
> somebody@anywhere.ext a écrit :
>> Hello all,
>>
>> Is there anyway to find out the size of a file to be uploaded before
>> the upload process starts? So I can give a message to the user before
>> the upload process and not when the user waits a long time and finds
>> out the file is to big?
>>
>
> No, for security reasons, you cannot access your file system before
> the upload starts.
> You can have a look at Scripting.FileSystemObject ActiveX, but this is
> generally not what you want.
That would only work on microsoft systems.
The closes one seems to be able to come with javascript is this:
http://www.faqts.com/knowledge_base/view.phtml/aid/11923
//Aho
[Back to original message]
|