Skip to main content
Inspiring
December 10, 2009
Question

Users uploading huge images

  • December 10, 2009
  • 2 replies
  • 1249 views

HIya,

Is there a way to stop this somehow using CF?

Thankyou

    This topic has been closed for replies.

    2 replies

    Inspiring
    December 10, 2009

    Hi,

    But CF9's new <cffileupload> tag provides a way to limit this maxlimit,

    Refer the documentation here,

    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec18238-7fd0.html

    ilssac
    Inspiring
    December 10, 2009

    Man, I really need to kick my operations guy to get him in gear and get the Virtural Server setup so I can start playing with ColdFusion 9!!!

    To be clear, just reading that documentation, that tag is going to build some type of Flash and|or JavaScript User interface that will run on the client.  , but it is doing so with a neat little tag just like the other cfform tags can create quite sophisticated dhtml or flash form interfaces.

    But I really do want to start using the cool new toys.

    Inspiring
    December 10, 2009

    Yes Ian!.. Even I tried a demo of <cffileupload> here, and it looks very handy comparing to the older ways of uploading things.

    I hope you will like CF9's new ORM built-in functionality as well. :-).

    Happy Coding :-) ...

    ilssac
    Inspiring
    December 10, 2009

    NOPE!

    ColdFusion isn't told about the image until after the browser has sent it and the web server has received it and put it into a temp directory.

    The only hope you have to stopping this is with some client side tool in something like JavaScript or Flash that intercepts the file before it is uploaded.

    Just yesterday I was saying: http://forums.adobe.com/message/2450093#2450093