Dear Russ,

I'm so happy that you've continued this tread with me. THANKS!

On this list in the past, it's been said that CFFILE is the wrong way to go with large 
files.  That it wasn't
designed for that.  I've seen CFFILE load the entire file into memory before it would 
write it to the hard drive.
My clients want to move print files that are 60 megs + .  It looks like you've got a 
lot of control with SAFileUp
that you don't have with CFFILE, like setting the buffer size for the file, etc.  I, 
too, use CFFILE extensively,
I'm just a little afraid of it in this particular application.

So if you know of a way for CF to talk to the SAFileUp COM object, coherently or if 
you know of another method for
handling LARGE files, I listening . . .  .

TIA

Sim


Russ wrote:

> I use SA FileUp on one of my asp sites, but for anything else, I just
> used the CFFile--and have had luck with files over 20MB without so much
> as a hiccup.
>
> HTH,
>
> Russ
>
> > -----Original Message-----
> > From: Sim Graves [mailto:sim@;simgraves.com]
> > Sent: Monday, November 11, 2002 8:46 PM
> > To: CF-Talk
> > Subject: Re: Method In CFOBJECT
> >
> >
> > I thought it might be a good alternative to uploading large
> > files with CFFILE.
> >
> > Any other alternatives would be welcome.
> >
> > Sim
> >
> > Russ wrote:
> >
> > > Why do you have to use SA FileUp?
> > >
> > > I use:
> > >
> > > <!--- Begin the file upload --->
> > > <cffile action="upload" filefield="FORM.File"
> > destination="--ABSOLUTE
> > > LOCATION FROM WEB HOST HERE--\#qClients.clientDirectory#\"
> > > nameconflict="overwrite">
> > >
> > > Without any issue.
> > >
> > > Will that option not work for you?
> > >
> > > > -----Original Message-----
> > > > From: Sim Graves [mailto:sim@;simgraves.com]
> > > > Sent: Monday, November 11, 2002 8:00 PM
> > > > To: CF-Talk
> > > > Subject: Method In CFOBJECT
> > > >
> > > >
> > > > The code below works fine in ASP:
> > > >
> > > > <% Set SA_FileUp = Server.CreateObject("SoftArtisans.FileUp") %>
> > > >         <% SA_FileUp.SaveAs
> > "C:\inetpub\wwwroot\newfiles\pooh.jpg"
> > > > %>
> > > >
> > > > Using CFOBJECT, I can find on syntax that will invoke the method,
> > > > "SaveAs".  Why shouldn't this work:
> > > >
> > > > <CFOBJECT TYPE="COM" NAME="SA_FileUp" CLASS="SoftArtisans.FileUp"
> > > > ACTION="CREATE">
> > > >
> > > >  <CFSCRIPT>
> > > >        SA_FileUp.SaveAs(C:\inetpub\wwwroot\newfiles\pooh.jpg");
> > > >
> > > > </CFSCRIPT>
> > > >
> > > > Any advice will be greatly appreciated.
> > > >
> > > >
> > > > TIA
> > > >
> > > > Sim Graves
> > > >
> > > >
> > >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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

Reply via email to