joecool2005 Posted April 12, 2006 Share Posted April 12, 2006 Hi,Is it possible to check the size of the file? How?Thx Joe Link to comment Share on other sites More sharing options...
Skemcin Posted April 12, 2006 Share Posted April 12, 2006 yes. each server side scripting language has the ability to do so. In cold fusion, its simply <cfoutput>#cffile.filesize#</cfoutput>. but, each language can only check the file size once it has completely been uploaded. this makes difference since many people tend to want to check the file size before they permit it to be uploaded. the nature of a server side scripting language (being server side) can only work their tricks on the server and therefore cannot check the file until it is uploaded.for a detailed explanation as to why it is not possible in javascript, read this article. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now