Re: CFFile strips out line feeds - help

2005-07-19 Thread Billy Jamme
Thanks for the prompt reply. >I assume you don't want to skip empty lines in the file... > That's correct. >At this point you've made at least one mistake that will prevent you >from getting the result you want... which is, you're looping from 1 to >the number of files in the directory -- which

Re: CFFile strips out line feeds - help

2005-07-19 Thread S . Isaac Dealey
mid(filetemp,grab.pos[1],grab.len[1])> > grab.len[1])> > > > I don't see where the array numb[] is created... if it's created above the outside loop, then each iteration of

Re: CFFile strips out line feeds - help

2005-07-19 Thread C. Hatton Humphrey
What OS is this running on? Remember that UNIX, MAC and Windows all treat "new lines" differently. IIRC if your file is coming in via FTP that can also cause issues. I highly doubt that CFFile alone is your culprit here. Hatton On 7/19/05, Billy Jamme <[EMAIL PROTECTED]&

CFFile strips out line feeds - help

2005-07-19 Thread Billy Jamme
file like this: But the issue I'm having is with the RegEx. For some reason CFFile strips out the line feed characters. Anyone have a work around, or a Custo

Re: MX 6.11 and CFFILE difficulties, RENAME and DELETE

2005-07-14 Thread Jeff Congdon
error: FWIW, i've tried it with the nameconflict = "overwrite" >attribute as well, and get the same error. > >Attribute validation error for tag CFFILE. >The value of the attribute source, which is currently >"\\www1\logs\application.log", is invalid. >

MX 6.11 and CFFILE difficulties, RENAME and DELETE

2005-07-14 Thread Jeff Congdon
well, and get the same error. Attribute validation error for tag CFFILE. The value of the attribute source, which is currently "\\www1\logs\application.log", is invalid. It's not invalid though, clearly. The path works in other CFFILE tags in the same page, and works on the server

RE: cffile: read in excel file

2005-06-29 Thread daniel kessler
ED] >(+56-2) 43 00 155 > > > >-Mensaje original- >De: Daniel Kessler [mailto:[EMAIL PROTECTED] >Enviado el: Martes, 28 de Junio de 2005 14:55 >Para: CF-Talk >Asunto: cffile: read in excel file > >I'm trying to read in an excel file and it does so, but the outp

RE: cffile: read in excel file

2005-06-29 Thread daniel kessler
--Mensaje original- >De: Daniel Kessler [mailto:[EMAIL PROTECTED] >Enviado el: Martes, 28 de Junio de 2005 14:55 >Para: CF-Talk >Asunto: cffile: read in excel file > >I'm trying to read in an excel file and it does so, but the output is >crap. Well the data

RE: cffile: read in excel file

2005-06-28 Thread David Manriquez
viado el: Martes, 28 de Junio de 2005 14:55 Para: CF-Talk Asunto: cffile: read in excel file I'm trying to read in an excel file and it does so, but the output is crap. Well the data is in there, but there's alot of extraneous data which shows up as unrecognizable characters. I tho

cffile: read in excel file

2005-06-28 Thread Daniel Kessler
I'm trying to read in an excel file and it does so, but the output is crap. Well the data is in there, but there's alot of extraneous data which shows up as unrecognizable characters. I thought that excel was tab delimited with char returns at the end of each line. Maybe I'm wrong for assumi

Re: cffile vs. cfsavecontent

2005-06-21 Thread Jared Rypka-Hauer - CMG, LLC
Johnny, Once cffile has read the literal text of the file, leaving the raw code of the template in the variable, you can't render it without saving it to a file and then cfincluding the file. :) Circular, no? But... cfsavecontent can be used for many, many different things... for ins

RE: cffile vs. cfsavecontent

2005-06-21 Thread Burns, John D
literal text contained in the file (the code itself). John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Johnny Le [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 10:29 AM To: CF-Talk Subject: cffile vs

Re: cffile vs. cfsavecontent

2005-06-21 Thread Joe Rinehart
> wrote: > Hi, > > I noticed lately that a lot of people are using cfsavecontent instead of > cffile, like this: > > > > > > vs. > > > > I would think cffile is more intuitive than cfsavecontent, and it is only one > line to type. So are ther

cffile vs. cfsavecontent

2005-06-21 Thread Johnny Le
Hi, I noticed lately that a lot of people are using cfsavecontent instead of cffile, like this: vs. I would think cffile is more intuitive than cfsavecontent, and it is only one line to type. So are there real benefits to use cfsavecontent over cffile? I heard that cffile is slower

RE: cffile and Flash Forms

2005-06-03 Thread kola.oyedeji
lk > Subject: Re: cffile and Flash Forms > > > Bryan, > > > > Doing it that way however won't keep the image details in that one > > same form though will it? It' would be two separate ones right? > > > > Saturday > > yep...a 2 step form...

Re: cffile and Flash Forms

2005-06-02 Thread Bryan Stevenson
> Bryan, > > Doing it that way however won't keep the image details in that one > same form though will it? It' would be two separate ones right? > > Saturday yep...a 2 step form...1 is fill in everything else..step 2 upload image Bryan Stevenson B.Comm. VP & Director of E-Commerce Developme

Re: cffile and Flash Forms

2005-06-02 Thread dave
turday (Stuart Kidd)" <[EMAIL PROTECTED]> Sent: Thursday, June 02, 2005 7:06 PM To: CF-Talk Subject: Re: cffile and Flash Forms Bryan, Doing it that way however won't keep the image details in that one same form though will it? It' would be two separate ones right? Saturd

Re: cffile and Flash Forms

2005-06-02 Thread Saturday (Stuart Kidd)
Bryan, Doing it that way however won't keep the image details in that one same form though will it? It' would be two separate ones right? Saturday On 2 Jun 2005, at 23:12, Bryan Stevenson wrote: > Do it in a regular HTML pop-up window that is opened from within Flash > > Bryan Stevenson B.C

Re: cffile and Flash Forms

2005-06-02 Thread Bryan Stevenson
Do it in a regular HTML pop-up window that is opened from within Flash 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 ~

Re: cffile and Flash Forms

2005-06-02 Thread Andy Allan
No, the Flash player currently doesn't support file uploads, hence why you can't do it. Andy On 6/2/05, Saturday (Stuart Kidd) <[EMAIL PROTECTED]> wrote: > Hi guys, > > Does anyone know whether it's possible to have a name="myImage"> in a Flash Form? I'm coming across some problems. > > Thank

cffile and Flash Forms

2005-06-02 Thread Saturday (Stuart Kidd)
Hi guys, Does anyone know whether it's possible to have a in a Flash Form? I'm coming across some problems. Thanks, Saturday ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start track

RE: Wierd file permission issue with cffile

2005-05-25 Thread James Holmes
Yes, they need to open up that dir in your sandbox. This is standard for a sandboxed server. -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Wednesday, 25 May 2005 8:49 To: CF-Talk Subject: Wierd file permission issue with cffile Before I contact my hosting provider

Wierd file permission issue with cffile

2005-05-25 Thread Rick Root
exception message: access denied (java.io.FilePermission /usr/local/smarterlinux/coldfusionmx/runtime/servers/default/SERVER-INF/temp/wwwroot-tmp/neotmp47693.tmp read) It occurred while attempting to upload a file using CFFILE. - Rick

Re: cffile without path

2005-05-23 Thread S . Isaac Dealey
> I read in the docs (for action="upload") that relative > paths are calculated > relative to some directory (windows temp or something??) > but you can look > that up. What does #ExpandPath("Presentations.txt")# > return? An absolute path to the specified relative path from the directory containi

Re: cffile without path

2005-05-23 Thread Aaron DC
e" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, May 24, 2005 5:48 AM Subject: cffile without path > my cffile tag isn't bombing when written this way > > output="blah"> > > any thoughts what file is being updated? > > (access to ser

cffile without path

2005-05-23 Thread Joshua OConnor-Rose
my cffile tag isn't bombing when written this way any thoughts what file is being updated? (access to server is restricted to me so I want to communicate clearly with sysadmin) -Joshua O'Connor-Rose -All is Good __ Do you Yaho

RE: CFFILE destination error

2005-05-06 Thread Dawson, Michael
I have used UNC paths. Have you tried a trailing "\" in your path? I remember that is/was required but not sure if in CFFILE paths. M!ke On 5/5/05, Daniel Kang <[EMAIL PROTECTED]> wrote: > > \\swintranet1\d$\Inetpub\wwwroot\RefPosting is the right destination, > bu

Re: CFFILE destination error

2005-05-06 Thread Daniel Kang
l, > > > > String index out of range: -1 > > > > The error occurred in D:\Inetpub\WWWROOT\RefPosting\InsertData.cfm: line > > 18 > > > > 16 : Destination = "\\swintranet1\D:\IntranetData" > > 17 : action = "upload" > > 18 : n

Re: CFFILE destination error

2005-05-05 Thread Jared Rypka-Hauer - CMG, LLC
18 : nameconflict ="overwrite" > 19 : filefield = "fileName"> > > If I upload Access, > > The destination "\\swintranet1\D:\IntranetData" specified in the > CFFILE tag is invalid. > > The destination either does not exist or is not accessible b

Re: CFFILE destination error

2005-05-05 Thread Daniel Kang
ROOT\RefPosting\InsertData.cfm: line 18 16 :Destination = "\\swintranet1\D:\IntranetData" 17 :action = "upload" 18 :nameconflict ="overwrite" 19 :filefield = "fileName"> If I upload Access, The de

Re: CFFILE destination error

2005-05-05 Thread Cliff Meyers
What about adding it as a mapped network drive to the server and accessing it via e:\ or something similar? On 5/5/05, Jared Rypka-Hauer - CMG, LLC <[EMAIL PROTECTED]> wrote: > I can UNC directly from the Run... command to the text file in question, but > CFFILE can't find it.

Re: CFFILE destination error

2005-05-05 Thread Jared Rypka-Hauer - CMG, LLC
> > The destination "\\swintranet1\d$\Inetpub\wwwroot\RefPosting" > specified in the CFFILE tag is invalid. > > The destination either does not exist or is not accessible by this tag. > > The error occurred in D:\Inetpub\WWWROOT\RefPosting\InsertData.cfm: line >

Re: CFFILE destination error

2005-05-05 Thread Jared Rypka-Hauer - CMG, LLC
I can UNC directly from the Run... command to the text file in question, but CFFILE can't find it. The only thing I can think of to test this is using a privileged account (like a Domain Admin) that might give you higher privs to access remote files... but that's Really Not a Good Id

Re: CFFILE destination error

2005-05-05 Thread Jared Rypka-Hauer - CMG, LLC
Daniel, I don't think CFFILE supports UNC paths... permissions notwithstanding. I think it expects a drive/directory on Windows. I'll test a lil more, but I'm thinking it's not going to work. Laterz, J On 5/5/05, Daniel Kang <[EMAIL PROTECTED]> wrote: > >

re: CFFILE destination error

2005-05-05 Thread dave
did you give the destination folder "write" privileges? ~Dave the disruptor~ From: Daniel Kang <[EMAIL PROTECTED]> Sent: Thursday, May 05, 2005 10:07 PM To: CF-Talk Subject: CFFILE destination error \\swintranet1\d$\Inetpub\wwwroot\R

CFFILE destination error

2005-05-05 Thread Daniel Kang
\\swintranet1\d$\Inetpub\wwwroot\RefPosting is the right destination, but I am getting this error. What am I missing? The destination "\\swintranet1\d$\Inetpub\wwwroot\RefPosting" specified in the CFFILE tag is invalid. The destination either does not exist or is not accessible b

Re: MX7 + CFFile + Security Sandbox = Error

2005-05-02 Thread Rebecca Wells
> You're welcome Rebecca. Thanks again, Fabio, and Bom Dia! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.h

Re: MX7 + CFFile + Security Sandbox = Error

2005-05-02 Thread Fabio Terracini
You're welcome Rebecca. /- means that sandbox will work recursivelly on that directory. If you sandbox is set up to C:\webroot\-, your application can access C:\webroot\site1\, C:\webroot\site2\, C:\webroot\site3\, C:\webroot\site3\images\intranet\image.jpg, and so on. Every file in every dire

Re: MX7 + CFFile + Security Sandbox = Error

2005-05-02 Thread Rebecca Wells
OK, I figured out what was wrong... I had to add \* to the end of the directory path, like thus C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\* It's still not clear to me what the difference is between the way that \* and \- works. Maybe someone can explain that to me bet

Re: MX7 + CFFile + Security Sandbox = Error

2005-05-02 Thread Fabio Terracini
fusion\SERVER-INF\temp\wwwroot-tmp >directory to the sandbox for read / write access, not the whole CFusionMX7 >directory. We had to do this in MX 6.0. > >-Original Message- >From: Rebecca Wells [mailto:[EMAIL PROTECTED] >Sent: Saturday, 30 April 2005 6:01 >To: CF-

RE: MX7 + CFFile + Security Sandbox = Error

2005-04-29 Thread James Holmes
2005 6:01 To: CF-Talk Subject: MX7 + CFFile + Security Sandbox = Error Today, while testing a application that handles a file upload that was previously working in previous versions of CF (with Security Sandbox turned on), I got the following error message: Security: The requested template has

MX7 + CFFile + Security Sandbox = Error

2005-04-29 Thread Rebecca Wells
>Have you tried using the ColdFusion Code Analyzer in the Administration Page >already? Yes, no problems are reported. Further, I tried adding the CFusionMX7 directory to the Sandbox security for this site and I'm still getting the same error! ~~~

MX7 + CFFile + Security Sandbox = Error

2005-04-29 Thread David Critchley
Have you tried using the ColdFusion Code Analyzer in the Administration Page already? > Today, while testing a application that handles a file upload that was > previously working in previous versions of CF (with Security Sandbox > turned on), I got the following error message: > > Security: T

MX7 + CFFile + Security Sandbox = Error

2005-04-29 Thread Rebecca Wells
Today, while testing a application that handles a file upload that was previously working in previous versions of CF (with Security Sandbox turned on), I got the following error message: Security: The requested template has been denied access to C:\CFusionMX7\runtime\servers\coldfusion\SERVER-I

Cffile upload MakeUnique is not working

2005-04-25 Thread Dennis Powers
We have installed CF5.0 on a windows 2003 web edition server and found that a tried and true custom File upload tag is no longer working. The tag will upload a unique file name just fine but if a duplicate file is uploaded with the makeunique qualifier we get an error. After a little debugging (c

Cffile upload MakeUnique is not working

2005-04-22 Thread Dennis Powers
We have installed CF5.0 on a windows 2003 web edition server and found that a tried and true custom File upload tag is no longer working. The tag will upload a unique file name just fine but if a duplicate file is uploaded with the makeunique qualifier we get an error. After a little debugging (c

RE: CFFILE slow. Is there a good replacement?

2005-04-14 Thread jerry johnson
Or you invoke the perl script through http. Cfhttp works wonderfully for this. Jerry Johnson Web Developer Dolan Media Company -Original Message- From: Ben Mueller [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 11:52 AM To: CF-Talk Subject: Re: CFFILE slow. Is there a good

Re: CFFILE slow. Is there a good replacement?

2005-04-14 Thread Ben Mueller
So, you write file manipulation in PERL, then reference those scripts from using ? >One of the reasons CF is so slow is its implementation ontop of java. >Java is not wildely fast with system IO, couple this with Coldfusions >implelentation of cffile and you get a slow file IO. We do a

Re: CFFILE slow. Is there a good replacement?

2005-04-14 Thread Adam Haskell
One of the reasons CF is so slow is its implementation ontop of java. Java is not wildely fast with system IO, couple this with Coldfusions implelentation of cffile and you get a slow file IO. We do all of our file processing with PERL...it is fast really fast. Perl is also comfortably stable and

Re: CFFILE slow. Is there a good replacement?

2005-04-14 Thread Ben Mueller
It copied 662MB of data from one folder to another on the same computer in 95 seconds. The same task using cffile and cfdirectory would probably take we

Re: CFFILE slow. Is there a good replacement?

2005-04-13 Thread Matt Robertson
On 4/13/05, Nathan Strutz <[EMAIL PROTECTED]> wrote: > Robocopy is especially great because it can copy just the new and > changed files. Robocopy is indeed more robust, but Xcopy can do just changed files as well. /D switch. Requires at least 1 day of difference though. -- --mattRobertson-- J

Re: CFFILE slow. Is there a good replacement?

2005-04-13 Thread Nathan Strutz
I stumbled upon this a couple weeks ago, the exact minute I needed it, believe it or not. This is what I meant by the timeout setting: http://www.corfield.org/blog/index.cfm?do=blog.entry&entry=C749C0CE-B147-4BBA-F6AF009076498BBA If it takes longer than the timeout, you can cftry/cfcatch the pro

Re: CFFILE slow. Is there a good replacement?

2005-04-13 Thread Ben Mueller
Thanks for the advice. The "timeout" thing has me confused, though. What I really want to do is wait until the process has completed copying. Let's say that could take as much as 10 minutes (hopefully won't ever be that high, but not out of the question)--do I really set the timeout to 600?

Re: CFFILE slow. Is there a good replacement?

2005-04-13 Thread Nathan Strutz
g. If you don't add it, your process will run in another thread and you'll never know when it's done. -nathan strutz http://www.dopefly.com/ Ben Mueller wrote: > Our CFMX application needs to do a lot of file manipulation (moving files to > production, archive, etc).

RE: CFFILE slow. Is there a good replacement?

2005-04-13 Thread jerry johnson
updates a webpage with the progress of the batfile. Jerry Johnson Web Developer Dolan Media Company -Original Message- From: Ben Mueller [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:20 PM To: CF-Talk Subject: CFFILE slow. Is there a good replacement? Our CFMX application need

CFFILE slow. Is there a good replacement?

2005-04-13 Thread Ben Mueller
Our CFMX application needs to do a lot of file manipulation (moving files to production, archive, etc). I've used the cfdirectory and cffile tags for a while to do these operations, but as we grow, those tags just don't scale terribly well. I've run a few tests where I inv

RE: Renaming a GIF - CFFILE

2005-04-07 Thread Robertson-Ravo, Neil (RX)
Hmmm, never thought of that...lemme check that out... -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 10:55 To: CF-Talk Subject: Re: Renaming a GIF - CFFILE Robertson-Ravo, Neil (RX) wrote: > Could do, but that still doesn't explain w

Re: Renaming a GIF - CFFILE

2005-04-07 Thread Jochem van Dieten
Robertson-Ravo, Neil (RX) wrote: > Could do, but that still doesn't explain why it is AOK for JPG but not GIF?! Misbehaving virus scanner? Jochem ~| Find out how CFTicket can increase your company's customer support efficiency

RE: Renaming a GIF - CFFILE

2005-04-07 Thread Robertson-Ravo, Neil (RX)
Could do, but that still doesn't explain why it is AOK for JPG but not GIF?! ;-) -Original Message- From: JediHomer [mailto:[EMAIL PROTECTED] Sent: 05 April 2005 19:34 To: CF-Talk Subject: Re: Renaming a GIF - CFFILE The file could be locked? Try performing a Copy, then a dele

Re: Renaming a GIF - CFFILE

2005-04-05 Thread JediHomer
The file could be locked? Try performing a Copy, then a delete on the original.. It may give the call enough time to release the lock? HTH On Apr 5, 2005 2:43 PM, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > Anyone seen the following error/oddity.. > > All Files upload OK, and FileExi

Re: Renaming a GIF - CFFILE

2005-04-05 Thread Jared Rypka-Hauer - CMG, LLC
htforward... I could guess that you've got a stray single quote getting mixed in to the file name when you activate your cffile scripting. Laterz, J On Apr 5, 2005 8:43 AM, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > Anyone seen the following error/oddity.. >

Renaming a GIF - CFFILE

2005-04-05 Thread Robertson-Ravo, Neil (RX)
Anyone seen the following error/oddity.. All Files upload OK, and FileExists() confirms that CF can see them, but it always gives a "tag validation" error when trying to rename the GIF files. I have tried uploading GIF and JPG versions of the same file, and the JPG will rename, but the GIF won't.

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Charles Heizer
It appears to be on the cffile read, if I add a cfabort before the cffile read the download of the file works just fine. - Charles On 3/25/05 3:28 PM, "Steven Erat" <[EMAIL PROTECTED]> wrote: > Charles Heizer wrote: >> I take that back I did find this in the cfserver.l

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Steven Erat
live tail on the log to make sure that the error is generated when you run the code. Just trying to rule out red herrings. It would be best to make sure on one else is running any code, too. You could also break the code into two parts, one part does CFFILE operations, the other does CFFTP ope

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Charles Heizer
I just tried it again and no luck ... The only log I have in runtime/logs is coldfusion-event.log and nothing got echoed to it. But if I look at the process listing I now have this nobody2390 1 0 15:25 pts/000:00:00 /opt/coldfusionmx7/bin/cfmx7 -jar cfusion.jar -autorestart -start co

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Steven Erat
>>Hello, >>I was wondering if someone could verify a nasty little bug or whatever with >>ColdFusion MX 7 running on Linux. Every time I try this code on a system >>running CFMX 7 on RHEL AS 3.0 w/ Apache the coldfusion server crashes. I >>then tried it on Windows 2003 and it works just fine. >> >>T

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Charles Heizer
I take that back I did find this in the cfserver.log file Unexpected Signal : 11 occurred at PC=0x3FBC9700 On 3/25/05 2:50 PM, "Sean Corfield" <[EMAIL PROTECTED]> wrote: > Anything in any of your log files? > > On Fri, 25 Mar 2005 14:34:02 -0800, Charles Heizer <[EMAIL PROTECTED]> wrote: >> He

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Charles Heizer
Nothing in the logs ... Here is what I get when I do a ps -aef nobody1752 1751 0 14:59 pts/000:00:01 [cfmx7 ] On 3/25/05 2:50 PM, "Sean Corfield" <[EMAIL PROTECTED]> wrote: > Anything in any of your log files? > > On Fri, 25 Mar 2005 14:34:02 -0800, Charles Heizer <[EMAIL PROTECTED]

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Charles Heizer
Sorry, My mail app did not preserve the mail message formatting... The File exists, now removing the devreg dump file. #cfcatch.Message# Did it succeed? #cfftp.succeeded# Close the connection: Did it succeed? #cfftp.succeeded#

Re: CFFTP and CFFILE server crash...

2005-03-25 Thread Sean Corfield
Anything in any of your log files? On Fri, 25 Mar 2005 14:34:02 -0800, Charles Heizer <[EMAIL PROTECTED]> wrote: > Hello, > I was wondering if someone could verify a nasty little bug or whatever with > ColdFusion MX 7 running on Linux. Every time I try this code on a system > running CFMX 7 on RHE

CFFTP and CFFILE server crash...

2005-03-25 Thread Charles Heizer
Hello, I was wondering if someone could verify a nasty little bug or whatever with ColdFusion MX 7 running on Linux. Every time I try this code on a system running CFMX 7 on RHEL AS 3.0 w/ Apache the coldfusion server crashes. I then tried it on Windows 2003 and it works just fine. Thanks, - Charl

RE: CFFILE & Coldfusion code

2005-03-18 Thread Calvin Ward
You could download the core files for Fusebox 4.1, it writes cfm files frequently. - Calvin -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 7:05 AM To: CF-Talk Subject: CFFILE & Coldfusion code Hi, I am trying to dynamically create

CFFILE & Coldfusion code

2005-03-18 Thread Andy Mcshane
Hi, I am trying to dynamically create .cfm pages. I am using the CFFILE 'Write' attribute but I am having problems when trying to write Coldfusion code out to the file, it apears that the Coldfusion code is evaluated before the write takes place and I get an error. How can I

Re: Using cffile to create cfml templates

2005-03-16 Thread Rick Root
Smith, Don , CTR , WHS/ITMD wrote: > I have a cfml page that generates cfml templates to the screen- a handy way Nothing special at all. This is what I do: - Rick ~| Discover CFTicket - The leading ColdFusion Help Desk and

Using cffile to create cfml templates

2005-03-16 Thread Smith, Don , CTR , WHS/ITMD
I have a cfml page that generates cfml templates to the screen- a handy way to create files the client wants. I want to save this cfml text as a filename.cfm document instead of displaying to the screen, but I can't remember how to do this. Last time I did this was in like 1998 or so. Before you

Re: CFFILE - I'm sure this has been discussed before...

2005-03-15 Thread S . Isaac Dealey
Hi Che, Not sure why it wouldn't work with Safari, but the version of IE produced for Mac had a bug which appended a carriage return to the end of the file, thus destroying the integrity of the data during upload. Iirc there was a fix for that released -- a "hotfix/patch" I believe -- but of cours

CFFILE - I'm sure this has been discussed before...

2005-03-15 Thread Che Vilnonis
Why can't I upload images via on a Mac computer? My code bombs on Safari and IE 5.23. It works on a PC. -- -- Thanks, Che ~| Logware (www.logware.us): a new and con

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-10 Thread Jehiah Czebotar
Another solution that I have used successfully is as follows (note: this will probably only work on a linux box) a) make a call to wvHTML (from wvWare.sourceforge.net) to convert the doc to html ex:wvHTML file.doc file.html b) make a call to elinks which does a beautifull job of converting htm

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Jon Austin
Quick, dirty and nasty? Pass the document through strings and store the output. http://www.sysinternals.com/ntw2k/source/misc.shtml#strings Regards, Jon ~| Find out how CFTicket can increase your company's customer support ef

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Pete Ruckelshaus
This article is a few years old but it might still be relevant -- http://cfregex.com/cfcomet/Word/index.cfm?ArticleID=B70AD80E-3DAF-4CDC-AEA1E8059FD78D43 -- part of the project that I am currently working on involves stripping text out of word docs and I was going to play around with this approach.

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Doug Strickland
Thanks for your feedback Keith. I'm definitely feeling the world of pain... I'm going to go with Jeff's suggestion, the one that suggested using Verity, and then joining those results with a search from the database. Thanks for your time! Doug ~

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Doug Strickland
Thanks for the information... I think I'll opt for (1) as well. A dba I work with is looking into (2) now...just in case. But (1) definitely seems like a clean and straight forward way to do it. Thanks again! Doug ~| Discover CFT

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Jeff Garza
uot;Strickland, Douglas M." <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Wednesday, February 09, 2005 9:44 AM Subject: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files > Using cffile, I have a form that allows users to upload their

RE: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Paul Vernon
I wrote a CFX (C++ based) tag that can control Word if its installed on the server which means that it bypasses the slow Java COM interface for CFMX and returns the text from a word document. I never released it as a commercial tag.. There are minimal docs for it... If you want a copy, mail me off

Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Keith Gaughan
Strickland, Douglas M. wrote: > Using cffile, I have a form that allows users to upload their resume > (MSWord documents (.doc files)) to our system. > > What I wanted to do next was...as each document is uploaded, > read/retrieve the text out of it, and insert it into a ta

Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-09 Thread Strickland, Douglas M.
Using cffile, I have a form that allows users to upload their resume (MSWord documents (.doc files)) to our system. What I wanted to do next was...as each document is uploaded, read/retrieve the text out of it, and insert it into a table (SQL Server database). The reason I wanted to do this, was

RE: Can we use CFFILE for this?

2005-01-19 Thread Dawson, Michael
Go back through this list's archive a couple of weeks. I posted a working solution on here. It works with CF6.1 and SQL 2k -Original Message- From: Discover Antartica [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 10:55 AM To: CF-Talk Subject: Can we use CFFILE for

RE: Can we use CFFILE for this?

2005-01-19 Thread Craig Dudley
: Can we use CFFILE for this? Does anyone know how to upload a file into a column in a database table using Coldfusion? Can we use ? - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone

Can we use CFFILE for this?

2005-01-19 Thread Discover Antartica
Does anyone know how to upload a file into a column in a database table using Coldfusion? Can we use ? - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. ~|

cffile upload alternative (out of CF Thread Pool, buffer to file)

2004-12-24 Thread Dov Katz
Are there any alternatives to CFFile which don't buffer the incoming file bytes to memory, and don't run within one of your available CF threads? I'm basically looking to upload 30-40 megs worth of, say 20 files at 1 time, and have them being written to disk incrementally as the

Re: Deleting Multiple files with CFFILE??????

2004-12-15 Thread Massimo Foti
> I want to use CFFILE to remove all the pictures in a directory then use > CFDIRECTORY to remove the directory. How can I do this with CFFILE using a > wildcard to get all the files deleted at once.? I wrote a CFC that could help: http://www.olimpo.ch/tmt/cfc/tm

RE: Passing variable in cffile-solved

2004-12-14 Thread Eric Creese
I think I got it now -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 4:32 PM To: CF-Talk Subject: Re: Passing variable in cffile Hi Eric, Using "#updir#\small" is fine, unless you're on a Unix box, in which case you'd

Re: Passing variable in cffile

2004-12-14 Thread Joe Rinehart
uot; > > should be > destination="#updir#/small/" > > on the live server > > -- Original Message -- > From: "Eric Creese" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 14 Dec 2004 15:55:46 -0600 >

RE: cffile error confusion.

2004-12-14 Thread Phillip Perry
Thanks Mark but I can't use it. The problem is that I need the file uncompiled. Using cfhttp compiles it first. Thanks anyway Phil -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 11:13 AM To: CF-Talk Subject: RE: cffile error conf

CFFILE upload error help needed please.

2004-12-14 Thread Eric Creese
can someone tell me why I would get this error while trying to upload a file? String index out of range: -4 The error occurred in C:\CFusionMX\wwwroot\portplus\x_admin_edit2.cfm: line 50 48 : 52 : step8 ~| Special thanks

Re: Passing variable in cffile

2004-12-14 Thread dave
/" on the live server -- Original Message -- From: "Eric Creese" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 14 Dec 2004 15:55:46 -0600 >trying to pass a vaiable intot the destination field of CFFILE tag and it >puk

Passing variable in cffile

2004-12-14 Thread Eric Creese
trying to pass a vaiable intot the destination field of CFFILE tag and it pukes. I always thought this could be done? I keep getting an error. Attribute validation error for tag CFFILE. The value of the attribute destination, which is currently "C:\CFusionMX\wwwroot\portplus\images\2\

RE: Deleting Multiple files with CFFILE??????-SOLVED

2004-12-14 Thread Eric Creese
I DID SIMPLY JUST THAT -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 12:26 PM To: CF-Talk Subject: RE: Deleting Multiple files with CFFILE?? You can do a Directory listing and then run CFFILE against Each file that needs to be

RE: cffile error confusion.

2004-12-14 Thread Ian Skinner
http://www.applewoodcommunity.com/index.cfm"; VARIABLE="content"> You want to look at the getPathFrom family of functions, to get the system file path from your url that the cffile tag needs. This should get you close. http://www.applewoodcommunity.com/')#/index.

RE: Deleting Multiple files with CFFILE??????

2004-12-14 Thread Adkins, Randy
You can do a Directory listing and then run CFFILE against Each file that needs to be deleted. Then use CFDirectory Again to delete the directory. You can not delete multiple files with one CFFILE statement -Original Message- From: Eric Creese [mailto:[EMAIL PROTECTED] Sent: Tuesday

<    3   4   5   6   7   8   9   10   11   12   >