CFPDF action=optimize increases file size

2011-08-08 Thread Justin T

Hello,

I have a PDF that CFPDF action=write will par down to about a MB. It has some 
small jpegs. When I put it through cfpdf action=optimize with or without all 
the no options, it increases the size to about 7MB. When I run the web 
optimizer in Acrobat, I can get the 1MB file down to less than 200KB. I tried a 
plain text experiment and, of course, the file size was the same without or 
without optimization. This has the latest 9.0.1 patch.

What the? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346584
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Limit on cfftp getfile file size?

2008-01-25 Thread Will Tomlinson
Suggestions?

I'm even open to hear what Will has to say! :o)

Rick


I just accidentally ran across this thread. Figured maybe you were tryin to use 
the cftable tag in conjuction with cfftp. :)

Anyway, I know it's hard to believe, but I have never used the cfftp tag 
before. Not one time.  I know I'm usually lots of help to you, but I can't help 
on this one guy. 

Will  

~|
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:297403
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Limit on cfftp getfile file size?

2008-01-25 Thread Rick Faircloth
 but I can't help on this one guy.

Well, now I'm just going to shut down my servers... all is lost...  ;o)


 -Original Message-
 From: Will Tomlinson [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 25, 2008 6:02 AM
 To: CF-Talk
 Subject: Re: Limit on cfftp getfile file size?
 
 Suggestions?
 
 I'm even open to hear what Will has to say! :o)
 
 Rick
 
 
 I just accidentally ran across this thread. Figured maybe you were tryin to 
 use the cftable
 tag in conjuction with cfftp. :)
 
 Anyway, I know it's hard to believe, but I have never used the cfftp tag 
 before. Not one time.
 I know I'm usually lots of help to you, but I can't help on this one guy.
 
 Will
 




~|
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:297410
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
Hi, all.

I'm trying to use the cfftp tag in CF 8 (that's right Will. CF 8! :o),
and everything seems to go well until the downloaded portion of the file
passes 4GB.  At that point CF throws an error.

An error occurred during the FTP GetFile operation. 
Error: IOException caught while copying..   

The error occurred in E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm: line 53   
51 :action=GetFile
52 :remoteFile=/Data/New_Data_Format/actives/Actives_10.zip
53 :localFile=E:\GAMLS\Active_10_2.zip
54 :
55 : !--- Close the connection.---


I know there are not any limitations on the FTP server I'm accessing,
because it was setup to allow the very functions I'm attempting.
The file in question is 25MB on the remote server.  I get slightly
over 4GB each time, and then the error above occurs.

Anyone run into this and what is the solution?

Thanks for any feedback.

Rick



~|
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:297307
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Limit on cfftp getfile file size?

2008-01-24 Thread Todd
25 megs on the remote server and you're getting over 4 gigs each time?  :)
Something is definitely wrong.

On Jan 24, 2008 10:53 AM, Rick Faircloth [EMAIL PROTECTED] wrote:

 Hi, all.

 I'm trying to use the cfftp tag in CF 8 (that's right Will. CF 8! :o),
 and everything seems to go well until the downloaded portion of the file
 passes 4GB.  At that point CF throws an error.

 An error occurred during the FTP GetFile operation.
 Error: IOException caught while copying..

 The error occurred in E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm: line 53
 51 :action=GetFile
 52 :remoteFile=/Data/New_Data_Format/actives/Actives_10.zip
 53 :localFile=E:\GAMLS\Active_10_2.zip
 54 :
 55 : !--- Close the connection.---


 I know there are not any limitations on the FTP server I'm accessing,
 because it was setup to allow the very functions I'm attempting.
 The file in question is 25MB on the remote server.  I get slightly
 over 4GB each time, and then the error above occurs.

 Anyone run into this and what is the solution?

 Thanks for any feedback.

 Rick



 

~|
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:297338
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Limit on cfftp getfile file size?

2008-01-24 Thread Sonny Savage
Ok... if you meant 25GB on the original file, I believe that there's a
flavor of Windows with a 4GB limit on file size, but I could be mistaken.

On Jan 24, 2008 1:43 PM, Todd [EMAIL PROTECTED] wrote:

 25 megs on the remote server and you're getting over 4 gigs each time?  :)
 Something is definitely wrong.

 On Jan 24, 2008 10:53 AM, Rick Faircloth [EMAIL PROTECTED] wrote:

  Hi, all.
 
  I'm trying to use the cfftp tag in CF 8 (that's right Will. CF 8! :o),
  and everything seems to go well until the downloaded portion of the file
  passes 4GB.  At that point CF throws an error.
 
  An error occurred during the FTP GetFile operation.
  Error: IOException caught while copying..
 
  The error occurred in E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm: line
 53
  51 :action=GetFile
  52 :remoteFile=/Data/New_Data_Format/actives/Actives_10.zip
  53 :localFile=E:\GAMLS\Active_10_2.zip
  54 :
  55 : !--- Close the connection.---
 
 
  I know there are not any limitations on the FTP server I'm accessing,
  because it was setup to allow the very functions I'm attempting.
  The file in question is 25MB on the remote server.  I get slightly
  over 4GB each time, and then the error above occurs.
 
  Anyone run into this and what is the solution?
 
  Thanks for any feedback.
 
  Rick
 
 
 
 

 

~|
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:297347
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
Oh, whatever, Todd.  :o)

Read my mind!  As soon as I get over the 4 *MB* point,
the error is thrown.

Suggestions?

I'm even open to hear what Will has to say! :o)

Rick

 -Original Message-
 From: Todd [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 1:44 PM
 To: CF-Talk
 Subject: Re: Limit on cfftp getfile file size?
 
 25 megs on the remote server and you're getting over 4 gigs each time?  :)
 Something is definitely wrong.
 
 On Jan 24, 2008 10:53 AM, Rick Faircloth [EMAIL PROTECTED] wrote:
 
  Hi, all.
 
  I'm trying to use the cfftp tag in CF 8 (that's right Will. CF 8! :o),
  and everything seems to go well until the downloaded portion of the file
  passes 4GB.  At that point CF throws an error.
 
  An error occurred during the FTP GetFile operation.
  Error: IOException caught while copying..
 
  The error occurred in E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm: line 53
  51 :action=GetFile
  52 :remoteFile=/Data/New_Data_Format/actives/Actives_10.zip
  53 :localFile=E:\GAMLS\Active_10_2.zip
  54 :
  55 : !--- Close the connection.---
 
 
  I know there are not any limitations on the FTP server I'm accessing,
  because it was setup to allow the very functions I'm attempting.
  The file in question is 25MB on the remote server.  I get slightly
  over 4GB each time, and then the error above occurs.
 
  Anyone run into this and what is the solution?
 
  Thanks for any feedback.
 
  Rick




~|
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:297353
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Limit on cfftp getfile file size?

2008-01-24 Thread Todd
Do you have a virus scanner on the box?  is it choking your connection?
Can you confirm this issue on another CF box?
What settings do the FTP server in regards to Timeout issues?
What do the FTP logs say?
What does the CF logs say?

On Jan 24, 2008 4:13 PM, Rick Faircloth [EMAIL PROTECTED] wrote:

 Oh, whatever, Todd.  :o)

 Read my mind!  As soon as I get over the 4 *MB* point,
 the error is thrown.

 Suggestions?

 I'm even open to hear what Will has to say! :o)

 Rick



~|
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:297369
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
Hi, Sonny... no, I mistyped the amount of data.

It's a 25 MB file and each time I get just over 4 MB's,
I get the IOException.

The only log that has any info concerning the issue in CF Admin
is the application log and that has the same info as the on-screen
error message.


 -Original Message-
 From: Sonny Savage [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 3:10 PM
 To: CF-Talk
 Subject: Re: Limit on cfftp getfile file size?
 
 Ok... if you meant 25GB on the original file, I believe that there's a
 flavor of Windows with a 4GB limit on file size, but I could be mistaken.
 
 On Jan 24, 2008 1:43 PM, Todd [EMAIL PROTECTED] wrote:
 
  25 megs on the remote server and you're getting over 4 gigs each time?  :)
  Something is definitely wrong.
 
  On Jan 24, 2008 10:53 AM, Rick Faircloth [EMAIL PROTECTED] wrote:
 
   Hi, all.
  
   I'm trying to use the cfftp tag in CF 8 (that's right Will. CF 8! :o),
   and everything seems to go well until the downloaded portion of the file
   passes 4GB.  At that point CF throws an error.
  
   An error occurred during the FTP GetFile operation.
   Error: IOException caught while copying..
  
   The error occurred in E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm: line
  53
   51 :action=GetFile
   52 :remoteFile=/Data/New_Data_Format/actives/Actives_10.zip
   53 :localFile=E:\GAMLS\Active_10_2.zip
   54 :
   55 : !--- Close the connection.---
  
  




~|
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:297388
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
Could it have something to do with the fact that I'm running the
template with the browser at this time and the browser is timing-out?



 -Original Message-
 From: Rick Faircloth [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 9:35 PM
 To: CF-Talk
 Subject: RE: Limit on cfftp getfile file size?
 
 Hi, Sonny... no, I mistyped the amount of data.
 
 It's a 25 MB file and each time I get just over 4 MB's,
 I get the IOException.
 
 The only log that has any info concerning the issue in CF Admin
 is the application log and that has the same info as the on-screen
 error message.
 
 




~|
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:297390
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
Now we're getting somewhere... some new info.

I enabled Scheduled Task Logging in CF Admin
and after my scheduled ftp download failed partway through again,
I checked the log and found this error message:

Error while executing task The request has exceeded the allowable time limit 
Tag: cfhttp

I'm not using the cfhttp tag explicitly.  I knew that the browser timing out
might have been an issue when I was running the template directly from the 
browser,
but when I ran it as a scheduled task, why would cfhttp be involved?

And how do I adjust the timeout for it?  In the template?  Somewhere in CFAdmin?

Anyone?



 -Original Message-
 From: Rick Faircloth [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 10:02 PM
 To: CF-Talk
 Subject: RE: Limit on cfftp getfile file size?
 
 Could it have something to do with the fact that I'm running the
 template with the browser at this time and the browser is timing-out?
 
 
 
  -Original Message-
  From: Rick Faircloth [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 24, 2008 9:35 PM
  To: CF-Talk
  Subject: RE: Limit on cfftp getfile file size?
 
  Hi, Sonny... no, I mistyped the amount of data.
 
  It's a 25 MB file and each time I get just over 4 MB's,
  I get the IOException.
 
  The only log that has any info concerning the issue in CF Admin
  is the application log and that has the same info as the on-screen
  error message.
 
 
 
 
 
 
 

~|
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:297393
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
Well... that's not likely now.  I ran the cfftp getfile
via a scheduled task and it still errored.



 -Original Message-
 From: Rick Faircloth [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 10:02 PM
 To: CF-Talk
 Subject: RE: Limit on cfftp getfile file size?
 
 Could it have something to do with the fact that I'm running the
 template with the browser at this time and the browser is timing-out?
 
 
 
  -Original Message-
  From: Rick Faircloth [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 24, 2008 9:35 PM
  To: CF-Talk
  Subject: RE: Limit on cfftp getfile file size?
 
  Hi, Sonny... no, I mistyped the amount of data.
 
  It's a 25 MB file and each time I get just over 4 MB's,
  I get the IOException.
 
  The only log that has any info concerning the issue in CF Admin
  is the application log and that has the same info as the on-screen
  error message.
 




~|
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:297394
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Limit on cfftp getfile file size?

2008-01-24 Thread Todd
url?TimeoutRequest=x

On Jan 24, 2008 10:38 PM, Rick Faircloth [EMAIL PROTECTED] wrote:

 Well... that's not likely now.  I ran the cfftp getfile
 via a scheduled task and it still errored.

 

  -Original Message-
  From: Rick Faircloth [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 24, 2008 10:02 PM
  To: CF-Talk
  Subject: RE: Limit on cfftp getfile file size?
 
  Could it have something to do with the fact that I'm running the
  template with the browser at this time and the browser is timing-out?
 
 
 
   -Original Message-
   From: Rick Faircloth [mailto:[EMAIL PROTECTED]
   Sent: Thursday, January 24, 2008 9:35 PM
   To: CF-Talk
   Subject: RE: Limit on cfftp getfile file size?
  
   Hi, Sonny... no, I mistyped the amount of data.
  
   It's a 25 MB file and each time I get just over 4 MB's,
   I get the IOException.
  
   The only log that has any info concerning the issue in CF Admin
   is the application log and that has the same info as the on-screen
   error message.
  




 

~|
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:297395
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Limit on cfftp getfile file size?

2008-01-24 Thread Claude Schneegans
 And how do I adjust the timeout for it?  In the template?  Somewhere 
in CFAdmin?

In CFAdmin, you have a Timout field you can set.
If you schedule the task from CFSCEDULE, this parameter is transmitted 
though the requestTimeOut attribute.


-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
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:297397
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Limit on cfftp getfile file size?

2008-01-24 Thread Rick Faircloth
I tried setting that to 9, but I still got an error, albeit
a different one.  Now in the scheduler log, I get this error:

Error while executing task 500 Internal Server Error

When I run the template I the browser as:

http://localhost/gamls/cfm/gamls-ftp.cfm?timeoutRequest=9

I still get a 500 Internal Server Error

When I checked the stack trace (about which I know nothing)
here's what it said:  (Now, right off I wonder why it even
mentions Apache... I'm running IIS... at least that's what my
websites are on.  Is Apache jumping in and handling the ftp?  I can't
even find any mention of Apache on my system...not even in the registry.)

???

Stack Trace (click to expand)  
at 
cfgamls2dftp2ecfm2104793446.runPage(E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm:65)
 at
cfgamls2dftp2ecfm2104793446.runPage(E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm:65)
 


org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
at org.apache.commons.net.io.Util.copyStream(Util.java:127)
at 
org.apache.commons.net.ftp.FTPClient.retrieveFile(FTPClient.java:1295)
at coldfusion.tagext.net.FtpHandler.getFile(FtpHandler.java:613)
at coldfusion.tagext.net.FtpTag.doStartTag(FtpTag.java:707)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644)
at 
cfgamls2dftp2ecfm2104793446.runPage(E:\Inetpub\webroot\GAMLS\cfm\gamls-ftp.cfm:65)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at 
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at 
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 11:38 PM
 To: CF-Talk
 Subject: Re: Limit on cfftp getfile file size?
 
  And how do I adjust the timeout for it?  In the template?  Somewhere
 in CFAdmin?
 
 In CFAdmin, you have a Timout field you can set.
 If you schedule the task from CFSCEDULE, this parameter is transmitted
 though the requestTimeOut attribute.
 
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
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:297398
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFC file size

2007-07-24 Thread Pete Ruckelshaus
At what point does the actual file size or the number of methods in a CFC
begin to impact performance?  I ask because I'm building a fairly large site
and am using a CFC as a database extraction layer for all of my SQL (this
way I can have a different DAL for MS SQL, MySQL, Oracle, etc. and not touch
any UI code).  Currently, the CFC is about 1200 lines and includes about 70
methods, and I'm about halfway done...my guess is that the final CFC will
contain about 2000 lines of code and 110 or 120 methods.  It works great so
far, but I want to make sure I'm not asking for trouble as this applicaiton
grows.

Thanks,

Pete


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284448
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFC file size

2007-07-24 Thread Andy Matthews
My company has a CFC that's around that line size. Not sure how many
methods. It doesn't seem to be overly impactful. 

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 24, 2007 1:16 PM
To: CF-Talk
Subject: CFC file size

At what point does the actual file size or the number of methods in a CFC
begin to impact performance?  I ask because I'm building a fairly large site
and am using a CFC as a database extraction layer for all of my SQL (this
way I can have a different DAL for MS SQL, MySQL, Oracle, etc. and not touch
any UI code).  Currently, the CFC is about 1200 lines and includes about 70
methods, and I'm about halfway done...my guess is that the final CFC will
contain about 2000 lines of code and 110 or 120 methods.  It works great so
far, but I want to make sure I'm not asking for trouble as this applicaiton
grows.

Thanks,

Pete




~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284450
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFC file size

2007-07-24 Thread Barney Boisvert
If it's a singleton, it shouldn't matter.  File size and method count
will have some effect on instantiation, but shouldn't matter after
that.

cheers,
barneyb

On 7/24/07, Pete Ruckelshaus [EMAIL PROTECTED] wrote:
 At what point does the actual file size or the number of methods in a CFC
 begin to impact performance?  I ask because I'm building a fairly large site
 and am using a CFC as a database extraction layer for all of my SQL (this
 way I can have a different DAL for MS SQL, MySQL, Oracle, etc. and not touch
 any UI code).  Currently, the CFC is about 1200 lines and includes about 70
 methods, and I'm about halfway done...my guess is that the final CFC will
 contain about 2000 lines of code and 110 or 120 methods.  It works great so
 far, but I want to make sure I'm not asking for trouble as this applicaiton
 grows.

 Thanks,

 Pete


-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284451
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-08 Thread Richard Cooper
Thanks for all the input, been very useful.

Richard

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271969
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-08 Thread Andrew Scott
It still depnds ont the web server too, it is no good for the scripting
application server saying one thing and the Web server saying something
different.

Which is why, the things that have been mentioned like HD space and ram is
also important. Before it hits CF the web server has to have it too, and
that dependant on how they handle it.

The real question would be what your requirements are, then take it from
there, But ftp might be a better solution.




On 3/8/07, Richard Cooper [EMAIL PROTECTED] wrote:

 Thanks for all the input, been very useful.

 Richard

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271971
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: File Size

2007-03-08 Thread Dave Ferguson
From my experience CF is not good at handling large file uploads.  I have 
always ran into memory issues on the server using cf for uploads.  That being 
said, it works great for small files but once you get over the 10mb I would 
suggest using something else.  I use a java applet to do file uploads now 
instead.

--Dave
www.dkferguson.com/BlogCFC  

 Hi all,
 
 Seem to remember reading somewhere that there is a maximum file size 
 for file uploads via a form for either IE or coldfusion. Does anyone 
 know the largest doc that can be uploaded via a standard form?
 Thanks,
 
R

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272006
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-08 Thread Kris Jones
There can be limitations on upload size enforced at the webserver. In
IIS this is set in the metabase. Here is explanation of such for IIS:

http://technet2.microsoft.com/WindowsServer/en/library/c89bf2ae-f764-459d-bf4f-9f02afc45fa31033.mspx?mfr=true

Cheers,
Kris

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272022
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


File Size

2007-03-07 Thread Richard Cooper
Hi all,

Seem to remember reading somewhere that there is a maximum file size for file 
uploads via a form for either IE or coldfusion. Does anyone know the largest 
doc that can be uploaded via a standard form?
Thanks,

R

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271931
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-07 Thread Andrew Scott
No its the webserver itself.



On 3/8/07, Richard Cooper [EMAIL PROTECTED] wrote:

 Hi all,

 Seem to remember reading somewhere that there is a maximum file size for
 file uploads via a form for either IE or coldfusion. Does anyone know the
 largest doc that can be uploaded via a standard form?
 Thanks,

 R

 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271932
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: File Size

2007-03-07 Thread Mik Muller
I've found that if you tweak CFAdmin you can get the max file size up around 
800mb before the server coughs up a hairball. Untweaked I couldn't get anything 
higher than 450mb on my box. This is under IIS.

BTW, IIS has a 2gb http download limit as well. Not sure of Apache's limit.

Generally, if you're dealing with very large file sizes go with FTP. It's a 
major pain, but that's the way it is.

I've put in a feature request to Adobe for better large file handling, like a 
new cfupload tag that kicks off a browse/put session somehow.

Mik


At 03:42 PM 3/7/2007, you wrote:
Hi all,

Seem to remember reading somewhere that there is a maximum file size for file 
uploads via a form for either IE or coldfusion. Does anyone know the largest 
doc that can be uploaded via a standard form?
Thanks,

R



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271934
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: File Size

2007-03-07 Thread Jacob Munson
The limitation is the ram on the server.  The users web browser just
streams the file like any normal file upload/download, but the server
needs to have enough free ram to handle the file size.

On 3/7/07, Mik Muller [EMAIL PROTECTED] wrote:
 I've found that if you tweak CFAdmin you can get the max file size up around 
 800mb before the server coughs up a hairball. Untweaked I couldn't get 
 anything higher than 450mb on my box. This is under IIS.

 BTW, IIS has a 2gb http download limit as well. Not sure of Apache's limit.

 Generally, if you're dealing with very large file sizes go with FTP. It's a 
 major pain, but that's the way it is.

 I've put in a feature request to Adobe for better large file handling, like a 
 new cfupload tag that kicks off a browse/put session somehow.

 Mik


 At 03:42 PM 3/7/2007, you wrote:
 Hi all,
 
 Seem to remember reading somewhere that there is a maximum file size for 
 file uploads via a form for either IE or coldfusion. Does anyone know the 
 largest doc that can be uploaded via a standard form?
 Thanks,
 
 R
 
 

 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271939
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-07 Thread Dov Katz
Really? I thought it buffered to file.  If not We should definitely ask adobe 
to change this behavior (or make it configurable) to stream uploads over x 
bytes (or all of them) to a temp file rather than buffer it up in memory to 
protect from running out of memory...


The limitation is the ram on the server.  The users web browser just
streams the file like any normal file upload/download, but the server
needs to have enough free ram to handle the file size.

On 3/7/07, Mik Muller [EMAIL PROTECTED] wrote:


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271942
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-07 Thread Jacob Munson
 Really? I thought it buffered to file.  If not We should definitely ask adobe
 to change this behavior (or make it configurable) to stream uploads over
 x bytes (or all of them) to a temp file rather than buffer it up in memory to
 protect from running out of memory...

http://www.coldfusioncookbook.com/entry/106/Does-CFFILE-have-a-file-size-limit?

I wrote that question, but it was approved by Ray Camden, and since
he's a ColdFusion God it must true.  :)

I think I heard somewhere that you can get around this by using Java's
file functions, but I'm not sure about that.


-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271943
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: File Size

2007-03-07 Thread Jacob Munson
 http://www.coldfusioncookbook.com/entry/106/Does-CFFILE-have-a-file-size-limit?

Actually, I was just reading through the comments on that entry, and
Charlie Arehart claims that ColdFusion does indeed buffer to a temp
file, and the file size limit I was referring to is when you do cffile
action=read.  So I guess the answer is free hard drive space
(assuming the browser doesn't timeout).  :)

-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271945
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: File Size

2007-03-07 Thread Mik Muller
Well, I can't find the thread now on the adobe forums. They must have purged 
some messages.

It does buffer to a file, but that doesn't mean you can upload 500gb if you 
have 500gb available to the temp folder. Also, Java comes into the picture 
somehow, as well as using up a CF processing thread for the amount of time the 
upload takes.

Here are my settings in CF Admin on the settings page:

Maximum size of post data 500mb
Throttle threashold is 2mb
Throttle memory is 1000mb

Numbers higher than that caused the server to crash at certain uploaded file 
sizes.  I think the largest file I could get up there was somewhere between 
600mb and 800mb before the server would tank. Really. The server would need to 
be rebooted. That's why we switched to FTP. Also 'cause many of our clients 
upload 200 x 200mb files. They click upload and go home.

Mik


At 05:00 PM 3/7/2007, you wrote:
Really? I thought it buffered to file.  If not We should definitely ask adobe 
to change this behavior (or make it configurable) to stream uploads over x 
bytes (or all of them) to a temp file rather than buffer it up in memory to 
protect from running out of memory...


The limitation is the ram on the server.  The users web browser just
streams the file like any normal file upload/download, but the server
needs to have enough free ram to handle the file size.

On 3/7/07, Mik Muller [EMAIL PROTECTED] wrote:




~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271956
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


file size when uploading multiple files

2006-10-27 Thread daniel kessler
I'm uploading multiple files.  But before I upload any of the files, I want to 
see if any one of them is too large for upload.  We set a file size limit of 1 
meg per file.

In the past when I have uploaded files, it has been one file per form and I 
have some code that seems to allow me to check the file size.   I think that 
it's doing the whole size of the form though.

CFIF Val(CGI.CONTENT_LENGTH) GT 1048576
!--- do something here ---
/cfif

I want to root through and check the file size of each file before uploading.  
I noticed that cfFile will check the file size AFTER it's uploaded and then I 
guess I can delete it if it's too large.  I'd rather be able to stop the 
problem ahead of time.

Is there a way and if not, what do y'all do?

thanks.

daniel
  -  webuy  -

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258244
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: file size when uploading multiple files

2006-10-27 Thread Ben Nadel
Daniel,

As far as I know, there is no good way of doing this. But, please let me
know if you find it. 

-B
..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
 

-Original Message-
From: daniel kessler [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 27, 2006 8:41 AM
To: CF-Talk
Subject: file size when uploading multiple files

I'm uploading multiple files.  But before I upload any of the files, I
want to see if any one of them is too large for upload.  We set a file
size limit of 1 meg per file.

In the past when I have uploaded files, it has been one file per form
and I have some code that seems to allow me to check the file size.   I
think that it's doing the whole size of the form though.

CFIF Val(CGI.CONTENT_LENGTH) GT 1048576
!--- do something here ---
/cfif

I want to root through and check the file size of each file before
uploading.  I noticed that cfFile will check the file size AFTER it's
uploaded and then I guess I can delete it if it's too large.  I'd rather
be able to stop the problem ahead of time.

Is there a way and if not, what do y'all do?

thanks.

daniel
  -  webuy  -



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258249
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: file size when uploading multiple files

2006-10-27 Thread Adrian
I think it can be done using client side stuff - Flash 8+ or a Java applet.
(but not with just a CF server and html)

On 27/10/06, Ben Nadel [EMAIL PROTECTED] wrote:

 Daniel,

 As far as I know, there is no good way of doing this. But, please let me
 know if you find it.

 -B
 ..
 Ben Nadel
 Certified Advanced ColdFusion Developer
 www.bennadel.com


 -Original Message-
 From: daniel kessler [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 27, 2006 8:41 AM
 To: CF-Talk
 Subject: file size when uploading multiple files

 I'm uploading multiple files.  But before I upload any of the files, I
 want to see if any one of them is too large for upload.  We set a file
 size limit of 1 meg per file.

 In the past when I have uploaded files, it has been one file per form
 and I have some code that seems to allow me to check the file size.   I
 think that it's doing the whole size of the form though.

 CFIF Val(CGI.CONTENT_LENGTH) GT 1048576
 !--- do something here ---
 /cfif

 I want to root through and check the file size of each file before
 uploading.  I noticed that cfFile will check the file size AFTER it's
 uploaded and then I guess I can delete it if it's too large.  I'd rather
 be able to stop the problem ahead of time.

 Is there a way and if not, what do y'all do?

 thanks.

 daniel
   -  webuy  -



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258251
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: file size when uploading multiple files

2006-10-27 Thread Mingo Hagen
I'm also not aware of a way (other then java/flash) to do this client-side.
We do it the same way you described (but on the cffile, not on the 
entire cgi.content_length).

daniel kessler wrote:
 Is there a way and if not, what do y'all do?



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258254
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


file size missing with CFFILE use

2005-08-13 Thread Michel Deloux
Hi all

after upload files to our server 20% that files don't have file size
properties saved to DB. Do you know why CFFILE file size is missing?
Maybe using Java getSize directly could be resolve that?

Cheers

MD

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214860
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: file size missing with CFFILE use

2005-08-13 Thread Adrian Lynch
Can we see the code you're using?

Ade

-Original Message-
From: Michel Deloux [mailto:[EMAIL PROTECTED]
Sent: 13 August 2005 16:10
To: CF-Talk
Subject: file size missing with CFFILE use


Hi all

after upload files to our server 20% that files don't have file size
properties saved to DB. Do you know why CFFILE file size is missing?
Maybe using Java getSize directly could be resolve that?

Cheers

MD



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214867
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Get file size on UNIX?

2005-04-28 Thread Burns, John D
I'm not a unix guy so I appologize for the (hopefully) easy question.
What's the easiest way to get the file size of a file that is already
sitting on the server?  I need to loop over a list of files and save the
file size and name of each file to a db.  Any help that can be offered
would be greatly appreciated.  Thanks.
 
John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 
 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204930
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Get file size on UNIX?

2005-04-28 Thread James Holmes
cfdirectory? 

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 28 April 2005 11:58 
To: CF-Talk
Subject: Get file size on UNIX?

I'm not a unix guy so I appologize for the (hopefully) easy question.
What's the easiest way to get the file size of a file that is already
sitting on the server?  I need to loop over a list of files and save the
file size and name of each file to a db.  Any help that can be offered would
be greatly appreciated.  Thanks.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204935
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Get file size on UNIX?

2005-04-28 Thread Barney Boisvert
CFDIRECTORY will do it, but has the cost of scanning the whole
directory, which may or may not matter.  You can also use java.io.File
to do it like this #createObject(java,
java.io.File).init(/full/path/to/file).length()#, but that
obviously has to be done individually for each file.  Both of these
will work cross-platform (i.e. don't depend on *nix), because hey rely
solely on Java.

cheers,
barneyb

On 4/28/05, Burns, John D [EMAIL PROTECTED] wrote:
 I'm not a unix guy so I appologize for the (hopefully) easy question.
 What's the easiest way to get the file size of a file that is already
 sitting on the server?  I need to loop over a list of files and save the
 file size and name of each file to a db.  Any help that can be offered
 would be greatly appreciated.  Thanks.
 
 John Burns
 Certified Advanced ColdFusion MX Developer
 Wyle Laboratories, Inc. | Web Developer

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204945
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Get file size on UNIX?

2005-04-28 Thread Burns, John D
Yeah, I guess that would work. I was thinking more along the lines of an
OS function or something.  I guess I can use cfdirectory with the filter
to check individual files.  Thanks for the idea.  I've been sick so my
brain isn't altogether here. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 12:14 PM
To: CF-Talk
Subject: RE: Get file size on UNIX?

cfdirectory? 

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 April 2005 11:58
To: CF-Talk
Subject: Get file size on UNIX?

I'm not a unix guy so I appologize for the (hopefully) easy question.
What's the easiest way to get the file size of a file that is already
sitting on the server?  I need to loop over a list of files and save the
file size and name of each file to a db.  Any help that can be offered
would be greatly appreciated.  Thanks.



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204961
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Get file size on UNIX?

2005-04-28 Thread Burns, John D
Barney,

Thanks, the java idea is more along the lines of what I was looking for!
:-) 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 12:49 PM
To: CF-Talk
Subject: Re: Get file size on UNIX?

CFDIRECTORY will do it, but has the cost of scanning the whole
directory, which may or may not matter.  You can also use java.io.File
to do it like this #createObject(java,
java.io.File).init(/full/path/to/file).length()#, but that obviously
has to be done individually for each file.  Both of these will work
cross-platform (i.e. don't depend on *nix), because hey rely solely on
Java.

cheers,
barneyb

On 4/28/05, Burns, John D [EMAIL PROTECTED] wrote:
 I'm not a unix guy so I appologize for the (hopefully) easy question.
 What's the easiest way to get the file size of a file that is already 
 sitting on the server?  I need to loop over a list of files and save 
 the file size and name of each file to a db.  Any help that can be 
 offered would be greatly appreciated.  Thanks.
 
 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204964
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Get file size on UNIX?

2005-04-28 Thread Bryan Stevenson
John...not sure if you're on MX 6/7...if so...fire up this function in a 
CFC...little simpler than CFDIRECTORY ;-)

  !---(Function: 
FileSize)--
  Date Created:   March 12, 2004
  Author: Bryan
  Arguments:  FileLoc - full path of file (string) required
  Purpose:Gets the size of a file in bytes
  Returns:File Size in bytes (numeric)
  ---
  cffunction name=FileSize returnType=numeric access=public

cfargument name=FileLoc type=string required=Yes

cfset jFileIn = 
CreateObject(java,java.io.File).init(ARGUMENTS.FileLoc)
cfreturn jFileIn.Length()

  /cffunction

HTH

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: Burns, John D [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, April 28, 2005 10:19 AM
Subject: RE: Get file size on UNIX?


 Yeah, I guess that would work. I was thinking more along the lines of an
 OS function or something.  I guess I can use cfdirectory with the filter
 to check individual files.  Thanks for the idea.  I've been sick so my
 brain isn't altogether here.


 John Burns
 Certified Advanced ColdFusion MX Developer
 Wyle Laboratories, Inc. | Web Developer


 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 28, 2005 12:14 PM
 To: CF-Talk
 Subject: RE: Get file size on UNIX?

 cfdirectory?

 -Original Message-
 From: Burns, John D [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 28 April 2005 11:58
 To: CF-Talk
 Subject: Get file size on UNIX?

 I'm not a unix guy so I appologize for the (hopefully) easy question.
 What's the easiest way to get the file size of a file that is already
 sitting on the server?  I need to loop over a list of files and save the
 file size and name of each file to a db.  Any help that can be offered
 would be greatly appreciated.  Thanks.



 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204968
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Get file size on UNIX?

2005-04-28 Thread Rob
On 4/28/05, Burns, John D [EMAIL PROTECTED] wrote:
 Yeah, I guess that would work. I was thinking more along the lines of an
 OS function or something. 

something like this?

ls -alh ./ | grep -v .* \. | awk {'print $5| $9'}

I'd go with the cfdirecotry myself ;)

-- 
~Blog~
http://www.robrohan.com
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org 
~open source xslt IDE~
http://treebeard.sourceforge.net

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Get file size on UNIX?

2005-04-28 Thread Rob
 I'd go with the cfdirecotry myself ;)

*cfdirectory* I need a cfspell checker - stupid lexdysia

-- 
~Blog~
http://www.robrohan.com
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org 
~open source xslt IDE~
http://treebeard.sourceforge.net

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204975
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Get file size on UNIX?

2005-04-28 Thread RADEMAKERS Tanguy
something like this?

ls -alh ./ | grep -v .* \. | awk {'print $5| $9'}

or wc -c

/t

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204979
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Get file size on UNIX?

2005-04-28 Thread RADEMAKERS Tanguy
of course i meant wc -c [your_filename_here]

i'll just get my coat... 

/t 

-Original Message-
From: RADEMAKERS Tanguy 
Sent: Thursday, April 28, 2005 7:59 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: Get file size on UNIX?

something like this?

ls -alh ./ | grep -v .* \. | awk {'print $5| $9'}

or wc -c

/t


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204981
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Get file size on UNIX?

2005-04-28 Thread Gruss Gott
 John wrote:
 I'm not a unix guy so I appologize for the (hopefully) easy question.
 What's the easiest way to get the file size of a file that is already
 sitting on the server?  I need to loop over a list of files and save the

I just use du -k -d . (no quotes) which will tell the size of files
in the current directory in kilobytes.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205005
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting File Size with Java

2005-02-23 Thread Massimo Foti
 Have any more in your library you want to share??

I have a few CFC that leverage Java APIs available here:

http://www.olimpo.ch/tmt/


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196062
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Getting File Size with Java

2005-02-22 Thread cftalk
Can someone help me in getting started in going underneath the Java hood and
to retrieve a file size of a file sitting on a server.

I know I can do this with cffile, but I want to see what type of performance
difference the Java class will give me.

Thx!

Ricky Fritzsching

If debugging is the art of removing bugs, the programming must be the art
of inserting them



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195915
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting File Size with Java

2005-02-22 Thread Bryan Stevenson
Hey Ricky,

try this function:

  !---(Function: 
FileSize)--
  Date Created:   March 12, 2004
  Author: Phil
  Arguments:  FileLoc - full path of file (string) required
  Purpose:Gets the size of a file in bytes
  Returns:File Size in bytes (numeric)
  ---
  cffunction name=FileSize returnType=numeric access=public

cfargument name=FileLoc type=string required=Yes

cfset jFileIn = 
CreateObject(java,java.io.File).init(ARGUMENTS.FileLoc)
cfreturn jFileIn.Length()

  /cffunction


Enjoy ;-)


Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, February 22, 2005 10:30 AM
Subject: Getting File Size with Java


 Can someone help me in getting started in going underneath the Java hood 
 and
 to retrieve a file size of a file sitting on a server.

 I know I can do this with cffile, but I want to see what type of 
 performance
 difference the Java class will give me.

 Thx!

 Ricky Fritzsching
 
 If debugging is the art of removing bugs, the programming must be the art
 of inserting them



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195918
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting File Size with Java

2005-02-22 Thread Ricky Fritzsching
Bryan:

Thx for the snippet! Works perfectly!

Have any more in your library you want to share??

R 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 22, 2005 12:37 PM
To: CF-Talk
Subject: Re: Getting File Size with Java

Hey Ricky,

try this function:

  !---(Function: 
FileSize)--
  Date Created:   March 12, 2004
  Author: Phil
  Arguments:  FileLoc - full path of file (string) required
  Purpose:Gets the size of a file in bytes
  Returns:File Size in bytes (numeric)
  ---
  cffunction name=FileSize returnType=numeric access=public

cfargument name=FileLoc type=string required=Yes

cfset jFileIn =
CreateObject(java,java.io.File).init(ARGUMENTS.FileLoc)
cfreturn jFileIn.Length()

  /cffunction


Enjoy ;-)


Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, February 22, 2005 10:30 AM
Subject: Getting File Size with Java


 Can someone help me in getting started in going underneath the Java hood 
 and
 to retrieve a file size of a file sitting on a server.

 I know I can do this with cffile, but I want to see what type of 
 performance
 difference the Java class will give me.

 Thx!

 Ricky Fritzsching
 
 If debugging is the art of removing bugs, the programming must be the art
 of inserting them



 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195933
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting File Size with Java

2005-02-22 Thread Bryan Stevenson
Glad it's doing the trick ;-)

.and yep...I've got all kinds (too many to listI've been at this a 
while...hehe)if you're after anything specific...post away!

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195944
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting File Size with Java

2005-02-22 Thread Paul
Right about the time MX came out I involuntarily switched to PHP development
for a year or two, so I feel like I missed the boat when it comes to these
Java calls...  I'd like to know what is available/advantageous to accessing
the java directly so I even know what specifics I might ask about!  What are
people commonly using Java for?

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 22, 2005 12:14 PM
To: CF-Talk
Subject: Re: Getting File Size with Java

Glad it's doing the trick ;-)

..and yep...I've got all kinds (too many to listI've been at this a 
while...hehe)if you're after anything specific...post away!

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195960
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting File Size with Java

2005-02-22 Thread Bryan Stevenson
Well a biggie was a nicely formatted PDF created on the fly from data using 
a Java package from SourceForge called iText.

Some smaller things are file size, auto-thumbnailing images...that kind of 
stuff

I haven't played with CF 7s ability to create PDFs on the flybut I'd bet 
my method is better given the custom nature of the document produced

Basically if you can find Java that does xyz you should be able to do the 
same thing in CF.  This is why I love CF...other languages try to beat the 
competition by adding features the other doesn't have.and with CF you 
can use them all ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com/54 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196006
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX mail spool file size limit

2004-11-25 Thread Duncan I Loxton
Hi everyone - happy thanksgiving!

I started to run a script last night that sends out some time critical
emails (its about 15000 emails). Currently I am hand feeding them to
the spool file to try and get them sent by 12 today.

Now I woke up this morning to discover the mail.log full with  452
Insufficient disk space

I fixed it by copying about 1 of them out to a folder outside of
the cfusionmx directory.

Can anyone tell me the disk space limit on mx for the spool file?

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185412
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


File size

2004-11-03 Thread Parker, Kevin
Is it possible to determine the size of a file in CFML?

TIA!!


++
Kevin Parker
Web Services Manager
WorkCover Corporation

p: 08 8233 2548
m: 0418 806 166
e: [EMAIL PROTECTED]
w: www.workcover.com

++


This e-mail is intended for the use of the addressee only. It may 
contain information that is protected by legislated confidentiality
and/or is legally privileged. If you are not the intended recipient you
are prohibited from disseminating, distributing or copying this e-mail.

Any opinion expressed in this e-mail may not necessarily be that of the
WorkCover Corporation of South Australia. Although precautions have
been taken, the sender cannot warrant that this e-mail or any files
transmitted with it are free of viruses or any other defect.

If you have received this e-mail in error, please notify the sender
immediately by return e-mail and destroy the original e-mail and any
copies.


~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183328
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: File size

2004-11-03 Thread Qasim Rasheed
I am not sure about cffile or cfdirectory, however using some native
Java classes, I am confident that you can get this information.



On Thu, 4 Nov 2004 14:23:46 +1030, Parker, Kevin [EMAIL PROTECTED] wrote:
 Is it possible to determine the size of a file in CFML?
 
 TIA!!
 
 ++
 Kevin Parker
 Web Services Manager
 WorkCover Corporation
 
 p: 08 8233 2548
 m: 0418 806 166
 e: [EMAIL PROTECTED]
 w: www.workcover.com
 
 ++
 
 
 This e-mail is intended for the use of the addressee only. It may
 contain information that is protected by legislated confidentiality
 and/or is legally privileged. If you are not the intended recipient you
 are prohibited from disseminating, distributing or copying this e-mail.
 
 Any opinion expressed in this e-mail may not necessarily be that of the
 WorkCover Corporation of South Australia. Although precautions have
 been taken, the sender cannot warrant that this e-mail or any files
 transmitted with it are free of viruses or any other defect.
 
 If you have received this e-mail in error, please notify the sender
 immediately by return e-mail and destroy the original e-mail and any
 copies.
 
 
 

~|
The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in 
the Washington DC Area. 
http://www.houseoffusion.com/banners/view.cfm?bannerid=44

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183329
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: File size

2004-11-03 Thread Barney Boisvert
Here's two methods, one with pure CFML, and one using Java.  

cfset filename = /my/path/to/file.txt /

cfdirectory action=list
  directory=#getDirectoryFromPath(filename)#
  filter=#getFileFromPath(filename)#
  name=fileinfo /
cfoutput#fileinfo.size#/cfoutput

cfoutput#createObject(java,
java.io.File).init(filename).length()#/cfoutput

cheers,
barneyb

On Thu, 4 Nov 2004 14:23:46 +1030, Parker, Kevin [EMAIL PROTECTED] wrote:
 Is it possible to determine the size of a file in CFML?
 
 TIA!!
 
 ++
 Kevin Parker
 Web Services Manager
 WorkCover Corporation
 


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

I currently have 0 GMail invites for the taking

~|
Get the mailserver that powers this list at 
http://www.houseoffusion.com/banners/view.cfm?bannerid=17

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183330
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Directory Tree crawler with file size sorting?

2004-05-23 Thread Hugo Ahlenius
I would recommend a windows application called DirGraph. I am not connected
to the web atm so I am not able to look up the URL, but google it and you'll
find it.

-- 
Hugo Ahlenius

-
Hugo AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+46 733 467111
 WWW: http://www.grida.no
-

 Original Message 
From: Pete Ruckelshaus - CFList [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 17:24
Subject: Re: SOT: Directory Tree crawler with file size sorting?

| Are you looking for a utility to use from the OS level, or for
| something
| to use from within CF?
|
| Burns, John D wrote:
|| Does anyone know of a good free tool that will crawl a
|| drive/directory
|| on a webserver and output a list of all of the files and directories
|| and
|| the sizes of them and allow you to sort by sizes, etc?
||
|| My main goal is to find large files that exist on the drive that can
|| be
|| deleted.Any tools or suggestions would be great.
||
|| John Burns
||
||
||
|
|
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Directory Tree crawler with file size sorting?

2004-05-20 Thread Thomas Chiverton
On Wednesday 19 May 2004 20:32 pm, Burns, John D wrote:
 Not a bad suggestion.Is there any way (that you know of) to add a
 filter to only grab files larger than X?

GNU find.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SOT: Directory Tree crawler with file size sorting?

2004-05-19 Thread Burns, John D
Does anyone know of a good free tool that will crawl a drive/directory
on a webserver and output a list of all of the files and directories and
the sizes of them and allow you to sort by sizes, etc?

 
My main goal is to find large files that exist on the drive that can be
deleted.Any tools or suggestions would be great.

 
John Burns
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Directory Tree crawler with file size sorting?

2004-05-19 Thread John Beynon
TreeSize Pro from http://www.jam-software.com/treesize/index.shtml

Not sure if it's free but it's cheap if you do have to pay!

Jb.

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: 19 May 2004 15:55
To: CF-Talk
Subject: SOT: Directory Tree crawler with file size sorting?

Does anyone know of a good free tool that will crawl a drive/directory
on a webserver and output a list of all of the files and directories and
the sizes of them and allow you to sort by sizes, etc?

 
My main goal is to find large files that exist on the drive that can be
deleted.Any tools or suggestions would be great.

 
John Burns
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Directory Tree crawler with file size sorting?

2004-05-19 Thread Pete Ruckelshaus - CFList
Are you looking for a utility to use from the OS level, or for something 
to use from within CF?

Burns, John D wrote:
 Does anyone know of a good free tool that will crawl a drive/directory
 on a webserver and output a list of all of the files and directories and
 the sizes of them and allow you to sort by sizes, etc?

 My main goal is to find large files that exist on the drive that can be
 deleted.Any tools or suggestions would be great.

 John Burns
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SOT: Directory Tree crawler with file size sorting?

2004-05-19 Thread Burns, John D
OS level is fine.This is more for server management than for specific
use from within CF.I am, however, trying to keep a certain set of
directories in check because I'm serving files through CFCONTENT and
don't want to server huge files through that.

John 

-Original Message-
From: Pete Ruckelshaus - CFList [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 11:25 AM
To: CF-Talk
Subject: Re: SOT: Directory Tree crawler with file size sorting?

Are you looking for a utility to use from the OS level, or for something
to use from within CF?

Burns, John D wrote:
 Does anyone know of a good free tool that will crawl a drive/directory

 on a webserver and output a list of all of the files and directories 
 and the sizes of them and allow you to sort by sizes, etc?

 My main goal is to find large files that exist on the drive that can 
 be deleted.Any tools or suggestions would be great.

 John Burns
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SOT: Directory Tree crawler with file size sorting?

2004-05-19 Thread Nathan C. Smith
Are we so GUI-centric we have forgotten the old ways of doing things?

 
Drop into a command promptType this: dir /O-S /S |sort /+30 /r

 
It will list all files on your system largest to smallest.use dir /O-S /S
|sort /+30 /r |more 
to see them a page at a time.

 
-Nate

 
-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 10:53 AM
To: CF-Talk
Subject: RE: SOT: Directory Tree crawler with file size sorting?

OS level is fine.This is more for server management than for specific
use from within CF.I am, however, trying to keep a certain set of
directories in check because I'm serving files through CFCONTENT and
don't want to server huge files through that.

John 

-Original Message-
From: Pete Ruckelshaus - CFList [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 11:25 AM
To: CF-Talk
Subject: Re: SOT: Directory Tree crawler with file size sorting?

Are you looking for a utility to use from the OS level, or for something
to use from within CF?

Burns, John D wrote:
 Does anyone know of a good free tool that will crawl a drive/directory

 on a webserver and output a list of all of the files and directories 
 and the sizes of them and allow you to sort by sizes, etc?

 My main goal is to find large files that exist on the drive that can 
 be deleted.Any tools or suggestions would be great.

 John Burns
 
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SOT: Directory Tree crawler with file size sorting?

2004-05-19 Thread Burns, John D
Not a bad suggestion.Is there any way (that you know of) to add a
filter to only grab files larger than X?

John Burns 

-Original Message-
From: Nathan C. Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 3:06 PM
To: CF-Talk
Subject: RE: SOT: Directory Tree crawler with file size sorting?

Are we so GUI-centric we have forgotten the old ways of doing things?

 
Drop into a command promptType this: dir /O-S /S |sort /+30 /r

 
It will list all files on your system largest to smallest.use dir /O-S
/S
|sort /+30 /r |more
to see them a page at a time.

 
-Nate

 
-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 10:53 AM
To: CF-Talk
Subject: RE: SOT: Directory Tree crawler with file size sorting?

OS level is fine.This is more for server management than for specific
use from within CF.I am, however, trying to keep a certain set of
directories in check because I'm serving files through CFCONTENT and
don't want to server huge files through that.

John 

-Original Message-
From: Pete Ruckelshaus - CFList [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 11:25 AM
To: CF-Talk
Subject: Re: SOT: Directory Tree crawler with file size sorting?

Are you looking for a utility to use from the OS level, or for something
to use from within CF?

Burns, John D wrote:
 Does anyone know of a good free tool that will crawl a drive/directory

 on a webserver and output a list of all of the files and directories 
 and the sizes of them and allow you to sort by sizes, etc?

 My main goal is to find large files that exist on the drive that can 
 be deleted.Any tools or suggestions would be great.

 John Burns
 
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Check file size?

2004-01-30 Thread Burns, John
Is there a simple way to check a file's size on Linux using CF5?CFMX
6.1 is beingupgraded in the next week or two, so that would work also
if you have a solution in that direction.No tags are disabled.

 
John
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Check file size?

2004-01-30 Thread Michael Dinowitz
CFDIRECTORY returns the file size when you run it. 
CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile FILTER=functions.cfm
File Size = qFile.Size

Is there a simple way to check a file's size on Linux using CF5?CFMX
6.1 is beingupgraded in the next week or two, so that would work also
if you have a solution in that direction.No tags are disabled.
 
John

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Check file size?

2004-01-30 Thread Burns, John
Good call. Sorry, my brain isn't working right today :-)I kept trying
CFFILE and was going crazy.I knew I'd done it somehow in the past.
Thanks!

John 

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 9:09 AM
To: CF-Talk
Subject: Re:Check file size?

CFDIRECTORY returns the file size when you run it. 
CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile
FILTER=functions.cfm File Size = qFile.Size

Is there a simple way to check a file's size on Linux using CF5?CFMX
6.1 is beingupgraded in the next week or two, so that would work also

if you have a solution in that direction.No tags are disabled.
 
John

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Check file size?

2004-01-30 Thread Stuart Kidd
On the same topic, is there a way of checking the file size before CF uploads?Otherwise you upload a 1mb file only to find that it's over the limit that you wanted to set (eg. 75kb) causing unnecessary bandwidth use.

Can it be done a better way?

Stuart

-- Original Message --
From: [EMAIL PROTECTED] (Michael Dinowitz)
Reply-To: [EMAIL PROTECTED]
Date:Fri, 30 Jan 2004 10:08:42 -0400

CFDIRECTORY returns the file size when you run it. 
CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile FILTER=functions.cfm
File Size = qFile.Size

Is there a simple way to check a file's size on Linux using CF5?CFMX
6.1 is beingupgraded in the next week or two, so that would work also
if you have a solution in that direction.No tags are disabled.
 
John


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:Check file size?

2004-01-30 Thread Massimo Foti
 On the same topic, is there a way of checking the file size before CF
uploads?

_javascript_ can do that for images.
If you use DW you can try this:

http://www.massimocorner.com/dw/behaviors/check_img_upload.mxp


Massimo Foti
http://www.massimocorner.com

Co-Author of Dreamweaver MX 2004 Magic:
http://www.dwmagic.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Check file size?

2004-01-30 Thread Burns, John
That's basically what I'm trying to do also.Here's the logic I'm
following.Any server gurus or file upload gurus, please correct me if
I'm wrong.I've seen something like this done on another site and I'm
trying to figure out if I can implement it with cf.

1. A user chooses a file in a form and submits it.
2. I pop open a new window passing the result of cgi.content_length and
form.filename to the new window (before I do the cffile action="">
to upload the file)
3. In the pop-up, I do a cfdirectory action="" filter=filename to
return the physical file size of the uploaded file.I then want to
display to the user xkb of #cgi.content_length#kb is uploaded.
4. In theory, if I refresh the pop-up every second or two, the user can
see the progress of the upload.

Does that make sense?Anyone have a better way of doing this?

John

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 10:23 AM
To: CF-Talk
Subject: Re:Check file size?

On the same topic, is there a way of checking the file size before CF
uploads?Otherwise you upload a 1mb file only to find that it's over
the limit that you wanted to set (eg. 75kb) causing unnecessary
bandwidth use.

Can it be done a better way?

Stuart

-- Original Message --
From: [EMAIL PROTECTED] (Michael Dinowitz)
Reply-To: [EMAIL PROTECTED]
Date:Fri, 30 Jan 2004 10:08:42 -0400

CFDIRECTORY returns the file size when you run it. 
CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile 
FILTER=functions.cfm File Size = qFile.Size

Is there a simple way to check a file's size on Linux using CF5?CFMX
6.1 is beingupgraded in the next week or two, so that would work 
also if you have a solution in that direction.No tags are disabled.
 
John


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Check file size?

2004-01-30 Thread Bryan F. Hogan
In order to get the file size it will have to be uploaded first. Which
defeats the purpose of your progress bar. It can be done with the
ActiveX or something but then you have the security issues.

-Original Message-
From: Burns, John [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 10:25 AM
To: CF-Talk
Subject: RE: Check file size?

That's basically what I'm trying to do also.Here's the logic I'm
following.Any server gurus or file upload gurus, please correct me if
I'm wrong.I've seen something like this done on another site and I'm
trying to figure out if I can implement it with cf.

1. A user chooses a file in a form and submits it.
2. I pop open a new window passing the result of cgi.content_length and
form.filename to the new window (before I do the cffile action="">
to upload the file)
3. In the pop-up, I do a cfdirectory action="" filter=filename to
return the physical file size of the uploaded file.I then want to
display to the user xkb of #cgi.content_length#kb is uploaded.
4. In theory, if I refresh the pop-up every second or two, the user can
see the progress of the upload.

Does that make sense?Anyone have a better way of doing this?

John
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Check file size?

2004-01-30 Thread Matt Liotta
You can't achieve that with CF as no information is available about 
uploaded files until the file is finished uploading. You could create a 
Java Servlet that achieved the results you were looking for.

-Matt

On Jan 30, 2004, at 10:25 AM, Burns, John wrote:

 That's basically what I'm trying to do also.  Here's the logic I'm
 following.  Any server gurus or file upload gurus, please correct me if
 I'm wrong.  I've seen something like this done on another site and I'm
 trying to figure out if I can implement it with cf.

 1. A user chooses a file in a form and submits it.
 2. I pop open a new window passing the result of cgi.content_length and
 form.filename to the new window (before I do the cffile action="">
 to upload the file)
 3. In the pop-up, I do a cfdirectory action="" filter=filename to
 return the physical file size of the uploaded file.  I then want to
 display to the user xkb of #cgi.content_length#kb is uploaded.
 4. In theory, if I refresh the pop-up every second or two, the user can
 see the progress of the upload.

 Does that make sense?  Anyone have a better way of doing this?

 John

 -Original Message-
 From: Stuart Kidd [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 30, 2004 10:23 AM
 To: CF-Talk
 Subject: Re:Check file size?

 On the same topic, is there a way of checking the file size before CF
 uploads?  Otherwise you upload a 1mb file only to find that it's over
 the limit that you wanted to set (eg. 75kb) causing unnecessary
 bandwidth use.

 Can it be done a better way?

 Stuart

 -- Original Message --
 From: [EMAIL PROTECTED] (Michael Dinowitz)
 Reply-To: [EMAIL PROTECTED]
 Date:  Fri, 30 Jan 2004 10:08:42 -0400

 CFDIRECTORY returns the file size when you run it.
 CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile
 FILTER=functions.cfm File Size = qFile.Size
 
 Is there a simple way to check a file's size on Linux using 
 CF5?  CFMX
 6.1 is being  upgraded in the next week or two, so that would work
 also if you have a solution in that direction.  No tags are disabled.
 
 John
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Check file size?

2004-01-30 Thread Matt Liotta
Actually, this makes me think of an interesting idea. It might be 
interesting to create a Servlet Filter that would intercept multi-part 
requests on their way to the CFM Servlet. This filter could limit the 
size of an upload based on a session variable and more interestingly 
could also update a session variable on the progress of the upload. 
When the upload is finished it would just pass the request off to the 
CFM Servlet and things should work normally from there.

-Matt

On Jan 30, 2004, at 10:45 AM, Matt Liotta wrote:

 You can't achieve that with CF as no information is available about
 uploaded files until the file is finished uploading. You could create a
 Java Servlet that achieved the results you were looking for.

 -Matt

 On Jan 30, 2004, at 10:25 AM, Burns, John wrote:

  That's basically what I'm trying to do also.  Here's the logic I'm
  following.  Any server gurus or file upload gurus, please correct me 
 if
  I'm wrong.  I've seen something like this done on another site and 
 I'm
  trying to figure out if I can implement it with cf.
 
  1. A user chooses a file in a form and submits it.
  2. I pop open a new window passing the result of cgi.content_length 
 and
  form.filename to the new window (before I do the cffile 
 action="">
  to upload the file)
  3. In the pop-up, I do a cfdirectory action="" filter=filename 
 to
  return the physical file size of the uploaded file.  I then want to
  display to the user xkb of #cgi.content_length#kb is uploaded.
  4. In theory, if I refresh the pop-up every second or two, the user 
 can
  see the progress of the upload.
 
  Does that make sense?  Anyone have a better way of doing this?
 
  John
 
  -Original Message-
  From: Stuart Kidd [mailto:[EMAIL PROTECTED]
  Sent: Friday, January 30, 2004 10:23 AM
  To: CF-Talk
  Subject: Re:Check file size?
 
  On the same topic, is there a way of checking the file size before CF
  uploads?  Otherwise you upload a 1mb file only to find that it's over
  the limit that you wanted to set (eg. 75kb) causing unnecessary
  bandwidth use.
 
  Can it be done a better way?
 
  Stuart
 
  -- Original Message --
  From: [EMAIL PROTECTED] (Michael Dinowitz)
  Reply-To: [EMAIL PROTECTED]
  Date:  Fri, 30 Jan 2004 10:08:42 -0400
 
  CFDIRECTORY returns the file size when you run it.
  CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile
  FILTER=functions.cfm File Size = qFile.Size
  
  Is there a simple way to check a file's size on Linux using
  CF5?  CFMX
  6.1 is being  upgraded in the next week or two, so that would work
  also if you have a solution in that direction.  No tags are 
 disabled.
  
  John
  
  
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Check file size?

2004-01-30 Thread Burns, John
I know of a site that is doing an upload like what I'm talking about and I know there is not activeX control or anything.There's something on the server side that checks the temporary file that the upload is going to and as the size increases they just says xKB out of totalKB.I just don't know how exactly they do it.I uploaded a huge zip file to their site and it popped up the window and it refreshed every second and displayed the new info.I viewed source and there were no embedded tags or special plug-ins, it was just straight HTML (in the pop-up...not that they did the upload with straight HTML)

John Burns

-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 11:02 AM
To: CF-Talk
Subject: Re: Check file size?

Actually, this makes me think of an interesting idea. It might be interesting to create a Servlet Filter that would intercept multi-part requests on their way to the CFM Servlet. This filter could limit the size of an upload based on a session variable and more interestingly could also update a session variable on the progress of the upload. 
When the upload is finished it would just pass the request off to the CFM Servlet and things should work normally from there.

-Matt

On Jan 30, 2004, at 10:45 AM, Matt Liotta wrote:

 You can't achieve that with CF as no information is available about 
 uploaded files until the file is finished uploading. You could create 
 a Java Servlet that achieved the results you were looking for.

 -Matt

 On Jan 30, 2004, at 10:25 AM, Burns, John wrote:

  That's basically what I'm trying to do also.  Here's the logic I'm 
  following.  Any server gurus or file upload gurus, please correct me
 if
  I'm wrong.  I've seen something like this done on another site and
 I'm
  trying to figure out if I can implement it with cf.
 
  1. A user chooses a file in a form and submits it.
  2. I pop open a new window passing the result of cgi.content_length
 and
  form.filename to the new window (before I do the cffile
 action="">
  to upload the file)
  3. In the pop-up, I do a cfdirectory action="" filter=filename 
 to
  return the physical file size of the uploaded file.  I then want to 
  display to the user xkb of #cgi.content_length#kb is uploaded.
  4. In theory, if I refresh the pop-up every second or two, the user
 can
  see the progress of the upload.
 
  Does that make sense?  Anyone have a better way of doing this?
 
  John
 
  -Original Message-
  From: Stuart Kidd [mailto:[EMAIL PROTECTED]
  Sent: Friday, January 30, 2004 10:23 AM
  To: CF-Talk
  Subject: Re:Check file size?
 
  On the same topic, is there a way of checking the file size before 
  CF uploads?  Otherwise you upload a 1mb file only to find that it's 
  over the limit that you wanted to set (eg. 75kb) causing unnecessary 
  bandwidth use.
 
  Can it be done a better way?
 
  Stuart
 
  -- Original Message --
  From: [EMAIL PROTECTED] (Michael Dinowitz)
  Reply-To: [EMAIL PROTECTED]
  Date:  Fri, 30 Jan 2004 10:08:42 -0400
 
  CFDIRECTORY returns the file size when you run it.
  CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile
  FILTER=functions.cfm File Size = qFile.Size
  
  Is there a simple way to check a file's size on Linux using
  CF5?  CFMX
  6.1 is being  upgraded in the next week or two, so that would work 
  also if you have a solution in that direction.  No tags are
 disabled.
  
  John
  
  
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Check file size?

2004-01-30 Thread Matt Liotta
Well other technologies like Java give you full access to I/O 
functionality allowing you to programmatically handle every singe bit 
if you desire. But, CFML abstracts away all I/O operations, so it just 
isn't possible with CF alone. Combine CF will some Java functionality 
as I described and you can get your solution.

-Matt

On Jan 30, 2004, at 11:21 AM, Burns, John wrote:

 I know of a site that is doing an upload like what I'm talking about 
 and I know there is not activeX control or anything.  There's 
 something on the server side that checks the temporary file that the 
 upload is going to and as the size increases they just says xKB out of 
 totalKB.  I just don't know how exactly they do it.  I uploaded a huge 
 zip file to their site and it popped up the window and it refreshed 
 every second and displayed the new info.  I viewed source and there 
 were no embedded tags or special plug-ins, it was just straight HTML 
 (in the pop-up...not that they did the upload with straight HTML)

 John Burns

 -Original Message-
 From: Matt Liotta [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 30, 2004 11:02 AM
 To: CF-Talk
 Subject: Re: Check file size?

 Actually, this makes me think of an interesting idea. It might be 
 interesting to create a Servlet Filter that would intercept multi-part 
 requests on their way to the CFM Servlet. This filter could limit the 
 size of an upload based on a session variable and more interestingly 
 could also update a session variable on the progress of the upload.
 When the upload is finished it would just pass the request off to the 
 CFM Servlet and things should work normally from there.

 -Matt

 On Jan 30, 2004, at 10:45 AM, Matt Liotta wrote:

  You can't achieve that with CF as no information is available about
  uploaded files until the file is finished uploading. You could create
  a Java Servlet that achieved the results you were looking for.
 
  -Matt
 
  On Jan 30, 2004, at 10:25 AM, Burns, John wrote:
 
   That's basically what I'm trying to do also.  Here's the logic I'm
   following.  Any server gurus or file upload gurus, please correct 
 me
  if
   I'm wrong.  I've seen something like this done on another site and
  I'm
   trying to figure out if I can implement it with cf.
  
   1. A user chooses a file in a form and submits it.
   2. I pop open a new window passing the result of cgi.content_length
  and
   form.filename to the new window (before I do the cffile
  action="">
   to upload the file)
   3. In the pop-up, I do a cfdirectory action="" 
 filter=filename
  to
   return the physical file size of the uploaded file.  I then want to
   display to the user xkb of #cgi.content_length#kb is uploaded.
   4. In theory, if I refresh the pop-up every second or two, the user
  can
   see the progress of the upload.
  
   Does that make sense?  Anyone have a better way of doing this?
  
   John
  
   -Original Message-
   From: Stuart Kidd [mailto:[EMAIL PROTECTED]
   Sent: Friday, January 30, 2004 10:23 AM
   To: CF-Talk
   Subject: Re:Check file size?
  
   On the same topic, is there a way of checking the file size before
   CF uploads?  Otherwise you upload a 1mb file only to find that it's
   over the limit that you wanted to set (eg. 75kb) causing 
 unnecessary
   bandwidth use.
  
   Can it be done a better way?
  
   Stuart
  
   -- Original Message --
   From: [EMAIL PROTECTED] (Michael Dinowitz)
   Reply-To: [EMAIL PROTECTED]
   Date:  Fri, 30 Jan 2004 10:08:42 -0400
  
   CFDIRECTORY returns the file size when you run it.
   CFDIRECTORY ACTION="" DIRECTORY=d:\htdocs\hof NAME=qFile
   FILTER=functions.cfm File Size = qFile.Size
   
   Is there a simple way to check a file's size on Linux using
   CF5?  CFMX
   6.1 is being  upgraded in the next week or two, so that would 
 work
   also if you have a solution in that direction.  No tags are
  disabled.
   
   John
   
   
  
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFFILE upload max. file size?

2003-06-11 Thread Trey Rouse
There is a bug in IIS that limits the file upload size.  Its tricky to
put a number on it, but anything over 4 megs on a 100mbit line will
likely send your server running never to return.

It has nothing to do with memory allocation, it's a fricken bug in IIS.
Microsoft acknowledges it to their ASP developers and directs them to
use a com object for the transfer in lou of a form post.  This works of
course for CF as well, but it means you can not use CFFILE for user
uploads on top of IIS.

Well, unless you like having your server crash.

Trey Rouse
Data Application Architect
Web Services - Rice University

 -Original Message-
 From: Andrew Golden [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 13, 2003 12:35 PM
 To: CF-Talk
 Subject: CFFILE upload max. file size?
 
 Does anyone know if there is a maximum file size that can be
transferred
 using CFFILE to upload? What is the largest anyone has ever had
repeated
 success with? Any help would be appreciatedthanks!
 
 Andrew Golden
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFFILE upload max. file size?

2003-06-11 Thread Stacy Young
That's good to know...I ran into this a while back but never knew what
was causing the failure (I can only guess this was it but...)...was one
of the last straws before I went Apache.

-Stace


-Original Message-
From: Trey Rouse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2003 3:47 PM
To: CF-Talk
Subject: RE: CFFILE upload max. file size?

There is a bug in IIS that limits the file upload size.  Its tricky to
put a number on it, but anything over 4 megs on a 100mbit line will
likely send your server running never to return.

It has nothing to do with memory allocation, it's a fricken bug in IIS.
Microsoft acknowledges it to their ASP developers and directs them to
use a com object for the transfer in lou of a form post.  This works of
course for CF as well, but it means you can not use CFFILE for user
uploads on top of IIS.

Well, unless you like having your server crash.

Trey Rouse
Data Application Architect
Web Services - Rice University

 -Original Message-
 From: Andrew Golden [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 13, 2003 12:35 PM
 To: CF-Talk
 Subject: CFFILE upload max. file size?
 
 Does anyone know if there is a maximum file size that can be
transferred
 using CFFILE to upload? What is the largest anyone has ever had
repeated
 success with? Any help would be appreciatedthanks!
 
 Andrew Golden
 
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



File size of unzipped files

2003-02-18 Thread Richmond, Pamela
I have an application that uploads a zip file from the user, unzips the
file, and adds a record for each resulting file to a database.  I need to
determine the file size of each of the files extracted from the zip file so
I can add it to the db.  I am using CFX_Zip to unzip.  Is there an easy way
to do determine the file sizes?
 
Thanks,

Pam Richmond

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: File size of unzipped files

2003-02-18 Thread Raymond Camden
I'd first check to see if cfx_zip has an option to get that info for
you. If not, when you unzip, simply use cfdirectory to get a list of the
files and their sizes.

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Richmond, Pamela [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, February 18, 2003 8:01 AM
 To: CF-Talk
 Subject: File size of unzipped files
 
 
 I have an application that uploads a zip file from the user, 
 unzips the file, and adds a record for each resulting file to 
 a database.  I need to determine the file size of each of the 
 files extracted from the zip file so I can add it to the db.  
 I am using CFX_Zip to unzip.  Is there an easy way to do 
 determine the file sizes?
  
 Thanks,
 
 Pam Richmond
 
  
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Limit file size for uploads

2002-08-17 Thread Gyrus

- Original Message -
From: YC Nyon [EMAIL PROTECTED]
 How do I limit a file size that is being upload to my server.
 If it was a 1MB limit, can I stop the process when it goes beyond the
limit
 or must i wait till the process is done and delete it off using the CFFile
 tag.


I always use:

cfif Val(CGI.CONTENT_LENGTH) GT maxFileSize
[return user to form with error]
/cfif

That CGI var is the total size in bytes of the request that was submitted -
including all the form data, which includes the file. This works fine
unless:

1. Your form contains a *whole* load of text that could really widen the gap
between the total size of the request and the size of the actual file
uploaded (which is unlikely), or

2. You need a really low, specific limit to the file size that would mean
even a bit of text in the accompanying form would make the check too
inaccurate (unlikely again I reckon).

So if you set maxFileSize to 1048576 (= 1MB I think), maybe the user would
upload a file that's a couple of KB short of the maximum, but accompanied by
3 KB of other form data, the file would be rejected - but who wants to be
*that* accurate?

The main thing is, all this can happen before you upload with CFFILE - which
is a slight misnomer, because the file's already on the server, uploaded by
the browser along with the rest of the request. CFFILE merely, AFAIK, copies
the file from server memory to hard disk.

HTH,

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Limit file size for uploads

2002-08-17 Thread Yves Arsenault

I believe that you can't check the file size until the file is loaded on the
server.

Afterwards you can check the size and delete.
(With the FILE.FileSize or CFFILE.FileSize variable)


Yves


- Original Message -
From: YC Nyon [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 2:05 PM
Subject: Limit file size for uploads


 How do I limit a file size that is being upload to my server.
 If it was a 1MB limit, can I stop the process when it goes beyond the
limit
 or must i wait till the process is done and delete it off using the CFFile
 tag.

 TIA
 Nyon

 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Limit file size for uploads

2002-08-16 Thread YC Nyon

How do I limit a file size that is being upload to my server.
If it was a 1MB limit, can I stop the process when it goes beyond the limit
or must i wait till the process is done and delete it off using the CFFile
tag.

TIA
Nyon

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Limit file size for uploads

2002-08-16 Thread Douglas Brown

You can only check the file size once the file is uploaded to the server, so I
guess the answer to your question would be to delete the file if it is too
big, as you suggested.




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: YC Nyon [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 10:05 AM
Subject: Limit file size for uploads


 How do I limit a file size that is being upload to my server.
 If it was a 1MB limit, can I stop the process when it goes beyond the limit
 or must i wait till the process is done and delete it off using the CFFile
 tag.

 TIA
 Nyon

 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Verity: getting file size and date last modified from CFSEARC H

2002-07-16 Thread A . Little

I don;t think you can do it directly with cfsearch - I'm sure someone will
correct me if I'm wrong :-)

One way you might be able to achieve what you want is to make use of the
custom1 and custom2 fields when indexing the collection. You may then have
to add each file individually to the collection using cfindex
action=update... and you'd need to write a recursive function to find all
the files in your directory structure.

Someone out there may have a better solution though!

Alex

 -Original Message-
 From: Whiterod, David (PLNSA) [mailto:[EMAIL PROTECTED]]
 Sent: 16 July 2002 05:04
 To: CF-Talk
 Subject: Verity: getting file size and date last modified 
 from CFSEARCH
 
 
 Is is possible to get the file size and date last modified 
 for results using
 CFSEARCH?
 
 cheers
 
 David
 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Verity: getting file size and date last modified from CFSEARC H

2002-07-16 Thread Dave Watts

 One way you might be able to achieve what you want is to 
 make use of the custom1 and custom2 fields when indexing 
 the collection. You may then have to add each file 
 individually to the collection using cfindex
 action=update... and you'd need to write a recursive 
 function to find all the files in your directory structure.

I don't think that would work; you can only use CUSTOM1 and CUSTOM2 when
using CFINDEX with TYPE=CUSTOM, which can't be used to index files.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Verity: getting file size and date last modified from CFSEARC H

2002-07-16 Thread Dave Watts

 Is is possible to get the file size and date last modified 
 for results using CFSEARCH?

I don't think there's any way to get that information directly from Verity,
but there's nothing to stop you from finding the information on the
filesystem after you've retrieved a set of matching files from your search.
If you're using Windows, you could use the COM interface to the filesystem,
like this:

cfscript
strFile = d:\somefile.txt;
fso = CreateObject(COM, Scripting.FileSystemObject);
f = fso.GetFile(strFile);
WriteOutput(DateFormat(f.DateCreated));
/cfscript

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Verity: getting file size and date last modified from CFSEARC H

2002-07-16 Thread Mark A. Kruger - CFG

Dave,

FYI

You can add custom1 and Custom 2 when doing an indexing operation on a
file.  I do this with an intranet ap that tracks manufacturing runs.  The
users upload PDF drawings of revisions on a  design and I add the primary
key and product line to custom 1 and 2.  Then, when I do a full index search
I can create a link that points them to the details on that item as well as
realated docs. I use something like this:

cfindex collection = NewProduct
  action = Update
  type = file
  key = #docpath#newprod\#file.serverfile#
  custom1 = #PutProd.np_id#
  Custom2 = #PutProd.prod_Type#



Mark

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 8:26 AM
To: CF-Talk
Subject: RE: Verity: getting file size and date last modified from
CFSEARC H


 One way you might be able to achieve what you want is to
 make use of the custom1 and custom2 fields when indexing
 the collection. You may then have to add each file
 individually to the collection using cfindex
 action=update... and you'd need to write a recursive
 function to find all the files in your directory structure.

I don't think that would work; you can only use CUSTOM1 and CUSTOM2 when
using CFINDEX with TYPE=CUSTOM, which can't be used to index files.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Verity: getting file size and date last modified from CFSEARC H

2002-07-16 Thread Dave Watts

 You can add custom1 and Custom2 when doing an indexing 
 operation on a file.

Thanks! I didn't know that. I don't think it worked in CF 4.x, but it's nice
to know that it works now.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Verity: getting file size and date last modified from CFSEARCH

2002-07-15 Thread Whiterod, David (PLNSA)

Is is possible to get the file size and date last modified for results using
CFSEARCH?

cheers

David
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Size limit with CFFile?

2002-07-03 Thread Thanh Nguyen

Matt,

That's an interesting way to do it. I'll look into that.

Thanks.

Thanh

-Original Message-
From: MW [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 4:08 PM
To: CF-Talk
Subject: RE: File Size limit with CFFile?


We had a terrible time with CFFile and uploads. We got not only the
memory spike, but an unbelievable spiking of CPU's to 100% for the full
duration of the transfer, in our development and production
environments, and in test code to isolate the problem. The side effect
was that it slowed transfer rates down by a large amount because the
CPU's were too busy.

The solution was to use a single .asp page with a COM that handles this
well with IIS. After the transfer the .asp page does a redirect to a
cfm page. Transfer rates are way up, CPU and memory way down. A waste
of time and a few bucks (~$150 for the COM), but it solved the problem.
I sure hope this is fixed in MX, but I suppose it is a limit to ISAPI
and not a poor implementation on the MM side.

Matt

 -Original Message-
 From: Tony Gruen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 5:26 PM
 To: CF-Talk
 Subject: RE: File Size limit with CFFile?
 
 Thanh,
 The restriction is primary available system memory on the server
(RAM).
 CFFILE moves the uploaded file into available system RAM BEFORE
writing it
 to the hard drive. If you're running Windows you will probably see an
error
 1450 come up if the file is too large.
 
 Tony Gruen
 
 -Original Message-
 From: Thanh Nguyen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 3:18 PM
 To: CF-Talk
 Subject: File Size limit with CFFile?
 
 
 Is there a limit on the file size  using CFFILE?
 
 I have a simple program that helps clients upload files to our server,
but
 they can't upload files that's over 30 MB.
 
 Is this a browser issue  or server issue?
 
 Thanks,
 
 Thanh Nguyen
 
 
 
 
 

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Size limit with CFFile?

2002-07-03 Thread Matt Liotta

You'd do best to steer clear of COM with CF. I would suggest using a
servlet or JSP page instead.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
V: 415-577-8070
F: 415-341-8906
P: [EMAIL PROTECTED]

 -Original Message-
 From: Thanh Nguyen [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 03, 2002 10:56 AM
 To: CF-Talk
 Subject: RE: File Size limit with CFFile?
 
 Matt,
 
 That's an interesting way to do it. I'll look into that.
 
 Thanks.
 
 Thanh
 
 -Original Message-
 From: MW [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 4:08 PM
 To: CF-Talk
 Subject: RE: File Size limit with CFFile?
 
 
 We had a terrible time with CFFile and uploads. We got not only the
 memory spike, but an unbelievable spiking of CPU's to 100% for the
full
 duration of the transfer, in our development and production
 environments, and in test code to isolate the problem. The side effect
 was that it slowed transfer rates down by a large amount because the
 CPU's were too busy.
 
 The solution was to use a single .asp page with a COM that handles
this
 well with IIS. After the transfer the .asp page does a redirect to a
 cfm page. Transfer rates are way up, CPU and memory way down. A waste
 of time and a few bucks (~$150 for the COM), but it solved the
problem.
 I sure hope this is fixed in MX, but I suppose it is a limit to ISAPI
 and not a poor implementation on the MM side.
 
 Matt
 
  -Original Message-
  From: Tony Gruen [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 02, 2002 5:26 PM
  To: CF-Talk
  Subject: RE: File Size limit with CFFile?
 
  Thanh,
  The restriction is primary available system memory on the server
 (RAM).
  CFFILE moves the uploaded file into available system RAM BEFORE
 writing it
  to the hard drive. If you're running Windows you will probably see
an
 error
  1450 come up if the file is too large.
 
  Tony Gruen
 
  -Original Message-
  From: Thanh Nguyen [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 02, 2002 3:18 PM
  To: CF-Talk
  Subject: File Size limit with CFFile?
 
 
  Is there a limit on the file size  using CFFILE?
 
  I have a simple program that helps clients upload files to our
server,
 but
  they can't upload files that's over 30 MB.
 
  Is this a browser issue  or server issue?
 
  Thanks,
 
  Thanh Nguyen
 
 
 
 
 
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



File Size limit with CFFile?

2002-07-02 Thread Thanh Nguyen

Is there a limit on the file size  using CFFILE?

I have a simple program that helps clients upload files to our server, but
they can't upload files that's over 30 MB. 
 
Is this a browser issue  or server issue?
 
Thanks,
 
Thanh Nguyen 
 
 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: File Size limit with CFFile?

2002-07-02 Thread Douglas Brown

Well if this is IIS, you can limit the message size through the SMTP settings




Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Thanh Nguyen [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 02, 2002 3:18 PM
Subject: File Size limit with CFFile?


 Is there a limit on the file size  using CFFILE?

 I have a simple program that helps clients upload files to our server, but
 they can't upload files that's over 30 MB.

 Is this a browser issue  or server issue?

 Thanks,

 Thanh Nguyen



 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Size limit with CFFile?

2002-07-02 Thread Tony Gruen

Thanh,
The restriction is primary available system memory on the server (RAM).
CFFILE moves the uploaded file into available system RAM BEFORE writing it
to the hard drive. If you're running Windows you will probably see an error
1450 come up if the file is too large.

Tony Gruen

-Original Message-
From: Thanh Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 3:18 PM
To: CF-Talk
Subject: File Size limit with CFFile?


Is there a limit on the file size  using CFFILE?

I have a simple program that helps clients upload files to our server, but
they can't upload files that's over 30 MB.

Is this a browser issue  or server issue?

Thanks,

Thanh Nguyen




__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: File Size limit with CFFile?

2002-07-02 Thread Kevin Miller

There are three issues with large uploads to the file server.

The first is that the page will sometime time out of the upload is too large.  The 
second is that uploads are stored in RAM until they are completed.  If you anticipate 
large uploads, make sure that you have lots of system RAM.  Third, you need to monitor 
disk space usage.

Good luck!

Kevin

 [EMAIL PROTECTED] 07/02/02 03:18PM 
Is there a limit on the file size  using CFFILE?

I have a simple program that helps clients upload files to our server, but
they can't upload files that's over 30 MB. 
 
Is this a browser issue  or server issue?
 
Thanks,
 
Thanh Nguyen 
 
 


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Size limit with CFFile?

2002-07-02 Thread Matt Liotta

Could be a proxy that limits the size of requests.

-Matt
 

 -Original Message-
 From: Thanh Nguyen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 3:18 PM
 To: CF-Talk
 Subject: File Size limit with CFFile?
 
 Is there a limit on the file size  using CFFILE?
 
 I have a simple program that helps clients upload files to our server,
but
 they can't upload files that's over 30 MB.
 
 Is this a browser issue  or server issue?
 
 Thanks,
 
 Thanh Nguyen
 
 
 
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Size limit with CFFile?

2002-07-02 Thread MW

We had a terrible time with CFFile and uploads. We got not only the
memory spike, but an unbelievable spiking of CPU's to 100% for the full
duration of the transfer, in our development and production
environments, and in test code to isolate the problem. The side effect
was that it slowed transfer rates down by a large amount because the
CPU's were too busy.

The solution was to use a single .asp page with a COM that handles this
well with IIS. After the transfer the .asp page does a redirect to a
cfm page. Transfer rates are way up, CPU and memory way down. A waste
of time and a few bucks (~$150 for the COM), but it solved the problem.
I sure hope this is fixed in MX, but I suppose it is a limit to ISAPI
and not a poor implementation on the MM side.

Matt

 -Original Message-
 From: Tony Gruen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 5:26 PM
 To: CF-Talk
 Subject: RE: File Size limit with CFFile?
 
 Thanh,
 The restriction is primary available system memory on the server
(RAM).
 CFFILE moves the uploaded file into available system RAM BEFORE
writing it
 to the hard drive. If you're running Windows you will probably see an
error
 1450 come up if the file is too large.
 
 Tony Gruen
 
 -Original Message-
 From: Thanh Nguyen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 3:18 PM
 To: CF-Talk
 Subject: File Size limit with CFFile?
 
 
 Is there a limit on the file size  using CFFILE?
 
 I have a simple program that helps clients upload files to our server,
but
 they can't upload files that's over 30 MB.
 
 Is this a browser issue  or server issue?
 
 Thanks,
 
 Thanh Nguyen
 
 
 
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Access2000 file size limits?

2002-04-09 Thread Jeff Green

Was wondering what file size limits Access2000 DB have?

TIA,
Jeff
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



  1   2   >