Azadia Thats pretty cool tool..
On Wed, Mar 19, 2008 at 11:41 AM, Azadi Saryev <[EMAIL PROTECTED]> wrote:
> #GetFileInfo("C:/Inetpub/wwwroot/literature/pdf/" &
> GetSectionsLit.lit_pdf).size/1024# will give you KB
> #GetFileInfo("C:/Inetpub/wwwroot/literature/pdf/" &
> GetSectionsLit.lit_pdf).size/1024/1024# will give you MB
>
> format it as you wish with numberformat()
>
> Azadi Saryev
> Sabai-dee.com
> http://www.sabai-dee.com/
>
>
>
>
>
> Paul Ihrig wrote:
> >
> #GetFileInfo("C:/Inetpub/wwwroot/literature/pdf/#GetSectionsLit.lit_pdf#").size#
> >
> > this out puts bytes with no formating.
> > 1273998
> >
> > how would i get it to be 1.27 MB
> >
> > and say it was
> > 273998
> >
> > for it to show 27.3 kb
> >
> > would i do an if statement to LEN 7 and surround it with number format.
> > seems like alot of noddling...
> >
> >
> >
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301591
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4