Daves right... Although cfcontent won't be as bad as opening the file as
binary, encoding as base64 and then creating a vary large XML packet. 

I have never used the symlink idea - although I've heard him mention it
before.  I'd be interested in a code snippet on how to do this "on the fly"
in Linux. Would you have to pass arguments to a shell script Dave?

-Mark


-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 28, 2008 3:07 AM
To: CF-Talk
Subject: RE: Sending File Data Over Webservice

> What are the overheads like on using cfcontent to deliver a file 
> opposed to simply having it available in a web accessible directory?

Significant, in my past experience. The CFCONTENT request monopolizes a CF
thread for the duration of the download. As an alternative, you might
consider creating temporary URLs; you can easily do this on Unix using
symlinks. You can create symlinks to directories in Windows, and that might
be sufficient also.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/



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

Reply via email to