Ask a Question related to Macromedia ColdFusion, Design and Development.
-
bweno #1
Check File Size Before Uploading
Is there anyway to check a files size before uploading it to the web server. I have searched the web over and found nothing for coldfusion...
Thanks in advance!!!
bweno Guest
-
Flash uploading -- file size limit?
I have been testing the CF ProFlashUpload tool from http://www.cftagstore.com/tags/flashmultipleupload.cfm but so far it won't upload anything... -
How to Check In w/out uploading
Isnt there a way to check out a file, do some work on it, check it back in WITHOUT uploading the file to the webserver? What if I wanted to do some... -
SOAPExtension to check file size
Hi, I have written an extension which checks a message size before processing it. If it is over a limit I want to throw an exception within my... -
uploading file size limit
Hi all, I have an intranet page that allows users to upload files. Some of our files are quite large (~300+MB). I've successfully set the... -
Problem uploading file of large size in Perl/Apache/Linux
Hi need an urgent help!!!!!! I m facing problem with uploading a file to my server using http protocol I have one perl script which upload... -
loopthis! #2
Re: Check File Size Before Uploading
CF doesn't have any ability to check for the size of your file before it's
stored on the server. The best you can do is check immediately after it is
uploaded, and delete if it exceeds a certain size limit.
loopthis! Guest
-
rich@tcaprint.com #3
Re: Check File Size Before Uploading
Once the file has been uploaded to the CF server, you can reference it's file
size with this:
cffile.filesize
Then you can insert logic based on the results.
Ex. <cfif cffile.filesize GT 40960>Error message here<cfelse>File
Accepted</cfif>
Hope this helps.
Rich Leach
Advanced Certified Macromedia ColdFusion Developer
rich@tcaprint.com Guest
-
Neculai Macarie #4
Re: Check File Size Before Uploading
> Is there anyway to check a files size before uploading it to the web
server. I have searched the web over and found nothing for coldfusion...
You cannot do it only in ColdFusion (or only in PHP or ASP). You can use a
Java applet to upload the file and check the file size before uploading.
--
<mack />
Neculai Macarie Guest
-
adiabata #5
Re: Check File Size Before Uploading
Might wanna look here:
[url]http://www.adiabata.com/Demos/upload_demo.cfm[/url]
adiabata Guest
-
mxstu #6
Re: Check File Size Before Uploading
adiabata,
Did you see the questions for you on this [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=973435&highlight_ key=y?[/url]
mxstu Guest
-
adiabata #7
Re: Check File Size Before Uploading
I think, the answer is here:
[url]http://www.cftagstore.com/tags/cfxupload.cfm[/url]
adiabata Guest
-
mxstu #8
Re: Check File Size Before Uploading
You might want to post that link on the other thread, for the people that inquired.
mxstu Guest
-
Unregistered #9
Re: Check File Size Before Uploading
Check out the var #CGI.content_length# for a general idea on the size before you decide to receive the file.
Unregistered Guest



Reply With Quote

