Re: jFileUpload - putting binary file fragments together (was: State of cffileupload)

2010-07-27 Thread denstar
Random-ness-ish-ness: You could potentially toss in the Apache FileUpload project. I was talking with someone about this over the weekend. It looks like you could just stick the needed code in a CFML page, CFML-ized from Java, and post the upload form to that CFML page and let it handle the upl

jFileUpload - putting binary file fragments together (was: State of cffileupload)

2010-07-27 Thread Thomas Harper
Well, the issue I was having with cffileupload is now considered a bug (83447) and while we're waiting for our platinum plan (if going that route will even work), I'm checking out jFileUpload. What it does is split larger files into chunks of a size designated by an attribute. In my case, I'm s

Binary File

2008-08-01 Thread Brian Peddle
accepting a binary file like this? File type could be .doc, .pdf etc ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j

Re: Read large binary file, MX7?

2008-04-03 Thread Eric Pfleckl
>I strongly suggest you consider my second suggestion, which was to take CF >out of the file service process altogether. Generate a symbolic link within >CF, and delete the link when it's no longer needed. > >Dave Watts, CTO, Fig Leaf Software @Dave - I know this is an old post, but I'm curious an

Re: Read large binary file, MX7?

2008-01-21 Thread Sonny Savage
The byteArray is a Java array object, so CF's arrayLen() function would not work on it. You'd need to use the array's length method like this: response.setContentLength(byteArray.length()); Java's file class also has a length() method that returns the file size in bytes. I'm not a Java programme

RE: Read large binary file, MX7?

2008-01-21 Thread Dave Watts
> CFCONTENT was being used previously, but when a bunch of > users start downloading large files, the server starts crashing... > Most of the files range between 200-500 MB, some up to 1GB > and larger... I strongly suggest you consider my second suggestion, which was to take CF out of the file

Re: Read large binary file, MX7?

2008-01-21 Thread Sarah Geren
F-Talk" Sent: Monday, January 21, 2008 4:32 PM Subject: Re: Read large binary file, MX7? > Dave is right --- when in CF use CF! > > Here's a code snippet fron June 19,2003 entry is Chris Cantrell's blog > (he's > an Adobe expert) > http://weblogs.macromedia

Re: Read large binary file, MX7?

2008-01-21 Thread Craigsell
o what you need! - Original Message - From: "Sarah Geren" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Monday, January 21, 2008 2:38 PM Subject: Re: Read large binary file, MX7? > thanks, > I was actually originally trying to use this piece of code that I found > usin

Re: Read large binary file, MX7?

2008-01-21 Thread Sarah Geren
x27;s nothing left to read. } catch(any excpt) {} outstream.flush(); // send any remaining bytes response.reset(); // reset the feed to the browser outstream.close(); // close the stream to flash instream.close(); // close the file stream } - Original Message - From: &quo

RE: Read large binary file, MX7?

2008-01-21 Thread Dave Watts
> I have an application which uses CFFILE to read a binary file > into a variable, and that variable is used to write out the > video to the brower so someone can download it... Why are you doing this? You can use CFCONTENT to return a file directly. Alternatively (and generally ev

Re: Read large binary file, MX7?

2008-01-21 Thread Sonny Savage
/file-manipulation-scripts/ On Jan 21, 2008 2:27 PM, Sarah Geren <[EMAIL PROTECTED]> wrote: > Hello, > > I have an application which uses CFFILE to read a binary file into a > variable, and that variable is used to write out the video to the brower so > someone can download

Re: Read large binary file, MX7?

2008-01-21 Thread Craigsell
<[EMAIL PROTECTED]> To: "CF-Talk" Sent: Monday, January 21, 2008 1:27 PM Subject: Read large binary file, MX7? > Hello, > > I have an application which uses CFFILE to read a binary file into a > variable, and that variable is used to write out the video to the brower

Read large binary file, MX7?

2008-01-21 Thread Sarah Geren
Hello, I have an application which uses CFFILE to read a binary file into a variable, and that variable is used to write out the video to the brower so someone can download it... This code is working great, until the file sizes become too large. It seems to stop working (and returns a null

Re: Sending a binary file to the browser

2006-12-01 Thread Rick Root
Awesome, that works great! I *ALMOST* got it working with less java... #str# Unfortunately, this method doesn't quite work, as applying the charset messes a FEW things up (if I look at the response in Fiddler, they're *ALMOST* identical). But your way works, so I'm pretty happy 'bo

Re: Sending a binary file to the browser

2006-12-01 Thread Joseph Lamoree
This method works for me. I gleaned it from a blog post by Christian Cantrell a while back. context = getPageContext(); context.setFlushOutput(false); response = context.getResponse().getResponse(); out = response.getOutputStream(); response.setContentType("image/png"); respo

RE: Sending a binary file to the browser

2006-12-01 Thread Dave Watts
> If I have the contents of a binary file in memory, is it > necessary to dump those contents to a file in order to send > it to the browser, or can I do something like this: > > >value="attachment; filename=#myImage.name#"> type="#myImage.type#&q

RE: Sending a binary file to the browser

2006-12-01 Thread Ian Skinner
#myImage.binaryData# I believe you can do this, but you have to be very diligent to remove all extraneous white space, as it will be included in the "binary" data and throw it off. Make liberal use of tags and make sure there is not extra space between the tag and the output data.

Sending a binary file to the browser

2006-12-01 Thread Rick Root
If I have the contents of a binary file in memory, is it necessary to dump those contents to a file in order to send it to the browser, or can I do something like this: #myImage.binaryData# Rick ~| Introducing the Fusion

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Stephen Moretti
> > Simple. The old and the new app need to be able to run in parallel until we > completely retire the old app, which should be ~90 days after release. I > rebuilt an app that took 2 people 7 months to build; I did it alone and in > two months (not by choice, but because I had sharp, heavy objec

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Pete Ruckelshaus
- Original Message - From: "Stephen Moretti" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 10:03 AM Subject: Re: Upload binary file and insert into Oracle > > Ok. Now I've read it and not being funny,

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Stephen Moretti
Pete, > Not to be rude, but...please reread sentence 2 of paragraph 1 of my original > post. Believe me, the goal IS to get the files onto the file system, but > it's not going to happen with this release of the app that I'm building. > Opps... Apologies Don't know how I missed that one se

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Pete Ruckelshaus
oretti" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 9:22 AM Subject: Re: Upload binary file and insert into Oracle > I have to ask, why bother? > > You've already got the file onto your app server's filing syste

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Stephen Moretti
Monday, February 03, 2003 1:59 PM Subject: Upload binary file and insert into Oracle > I've never inserted files into a database before, so I just want to ask some questions. Also, please don't respond with "Just store the files on the server's file system and not in the

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Pete Ruckelshaus
MAIL PROTECTED]> Sent: Monday, February 03, 2003 9:01 AM Subject: Re: Upload binary file and insert into Oracle > Pete Ruckelshaus wrote: > > >I've never inserted files into a database before, so I just want to ask some questions. Also, please don't respond with "Just

Re: Upload binary file and insert into Oracle

2003-02-03 Thread Jesse Houwing
pp and this is the >way it works. > >I have an interface where a user will select and upload a binary file; this file will >then be stored in an Oracle 8.0.4 database. All of the stuff on the database side of >things are set up since it's a working app now (written in PL/SQL, be

Upload binary file and insert into Oracle

2003-02-03 Thread Pete Ruckelshaus
have an interface where a user will select and upload a binary file; this file will then be stored in an Oracle 8.0.4 database. All of the stuff on the database side of things are set up since it's a working app now (written in PL/SQL, being rewritten by me in CF5). Here is what I assume the

RE: Microsoft Binary File Format

2002-08-27 Thread Hugo Ahlenius
I think there is a filter for 'tidy' to clean up the MS Word HTML-hell to standards-compliant (XHTML?). __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http:/

RE: Microsoft Binary File Format

2002-08-27 Thread Robert Everland
text. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Winn, Ron [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 10:52 AM To: CF-Talk Subject: Microsoft Binary File Format Does anyone know where to ge

Microsoft Binary File Format

2002-08-27 Thread Winn, Ron
Does anyone know where to get the Microsoft binary file format converter for Word? I sent an email to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and in typical Microsoft fashion, they are slow. I am converting pieces of word documents for storage into a SQL database. The text

RE: Question about Inserting into SQL via CF... Binary file or Image File

2001-12-06 Thread Mark Stewart
erting into SQL via CF... Binary file or Image File As most of you know SQL has a datatype of Binary that can hold an actual binary file and has a datatype of image that can hold an image file. I sent this question yesterday but go no response figured I would try once more. Obviously I know how to

Question about Inserting into SQL via CF... Binary file or Image File

2001-12-06 Thread Kelly Matthews
As most of you know SQL has a datatype of Binary that can hold an actual binary file and has a datatype of image that can hold an image file. I sent this question yesterday but go no response figured I would try once more. Obviously I know how to insert DATA via CF into SQL. But w/ in that

Writing 0 to a binary file.

2001-04-26 Thread Daniel Kemp
Hi there, The quick: I'm trying to write out binary files, i.e. just a whole bunch of numbers, what's the best way of doing this. The slightly longer: I'm trying to write out a binary file, that can contains the value 0, and it doesn't seem possible (in any simple, fa