RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
Issue solved. (Or perhaps a CF8 bug) On: cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action=RENAME source=#cffile.SERVERFILE# destination=#PAGE_clean_SERVERFILE# Apparently on CF8, if the cffile.serverfile name and the newly assigned name var are the same, the file

RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
@ Paul, Rick, and Brad: Thanks a bunch for your comments, ideas, suggestions. The reason why I had the cflock was because directly after the cffile rename, was a cfexecute for ffmpeg. Without the lock, it seemed that ffmpeg begins to execute even before the actual file rename on the file system

RE: File disappears after cffile rename

2007-10-18 Thread Michael E. Carluen
cffile and ffmpeg, and how both can co-exists but don't really sync well together. Circling back to the original cffile renaming-disappearing issue, at least that is resolved. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 3:19 PM

Re: File disappears after cffile rename

2007-10-18 Thread Claude Schneegans
The lock just seemed to prevent that from happening. If it did, it cannot be for any logical reason. The purpose of named locks is to ensure that a program cannot lock under the name, if another lock with the same name is already active. Using CreateUUID() to create a unique name, you just make

Re: Name of uploaded file before cffile

2007-10-10 Thread Ian Skinner
ColdFusion gets the file to move where specified by the cffile call. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion

Re: Name of uploaded file before cffile

2007-10-10 Thread Matt Williams
Right Ian. I understand that part. But consider this: 1) User uploads myFile.txt 2) CF puts it into c:\temporary\directory\neo12345.tmp 3) Form field value has c:\temporary\directory\neo12345.tmp 4) code calls cffile action=upload ... / 5) If I did not specify a new file name in the destination

Re: Name of uploaded file before cffile

2007-10-10 Thread Ian Skinner
My question, and this is more out of curiosity than anything, is how does CF remember the original user's file name of myFile.txt between steps 3 and 4 above. Looking through the various scopes doesn't seem to reveal it. The form field, as you mentioned is a random name in a temporary directory.

Re: Name of uploaded file before cffile

2007-10-10 Thread Claude Schneegans
the programmer decided, this is the purpose of the CFFILE upload. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks

Name of uploaded file before cffile

2007-10-05 Thread Matt Williams
Is it possible to get the name of the client's file before doing cffile? I am testing for file size by doing a cfdirectory and filtering on the neoX.tmp file name provided in the form field. If the file size is too large, I would like to tell the user which file (this is a multiple upload

Re: Name of uploaded file before cffile

2007-10-05 Thread Ron Gowen
You could use JS to put the file name in a hidden field before upload. On 10/5/07, Matt Williams [EMAIL PROTECTED] wrote: Is it possible to get the name of the client's file before doing cffile? I am testing for file size by doing a cfdirectory and filtering on the neoX.tmp file name

Re: Name of uploaded file before cffile

2007-10-05 Thread Ian Skinner
I'm pretty sure the answer is no, but just wanted to double-check. Thanks, Yup, the answer is no. Before CF has a chance to do anything, the browser has read the file from the client's machine, bundled it into the response header, sent the whole kit-n-caboodle to the web server, the web

Re: Name of uploaded file before cffile

2007-10-05 Thread Matt Williams
before this, it is going to have to be done client side. I figured as much, but out of curiosity, where does CF get the file name from? It would seem it has to be somewhere temporarily between the .tmp file and the actual cffile call. Does it reside in the actual file meta data or something? Matt

RE: Name of uploaded file before cffile

2007-10-05 Thread Brad Wood
, October 05, 2007 12:00 PM To: CF-Talk Subject: Name of uploaded file before cffile Is it possible to get the name of the client's file before doing cffile? I am testing for file size by doing a cfdirectory and filtering on the neoX.tmp file name provided in the form field. If the file size

Re: Name of uploaded file before cffile

2007-10-05 Thread Matt Williams
Yea I'm doing the hidden field thing. It's just one of those things I guess. I'm still curious as to where CF gets the file name from after doing the cffile call. Thanks Matt On 10/5/07, Brad Wood [EMAIL PROTECTED] wrote: The form post must complete before any ColdFusion runs. By that time

CFFILE vs FTP

2007-09-27 Thread Kim Hoopingarner
I am using CFFILE to upload a 2.5M file. When doing this, something is timing out. I've been to the host site and my ISP. Neither are finding a problem. What is interesting - if I FTP a 23M file using FileZilla I have no problem. So why am I struggling with a 2.5M file using CFFILE

Re: CFFILE vs FTP

2007-09-27 Thread gary gilbert
Its probably the timeout settings on the server. if it takes longer than the default timeout ( 30 seconds ) to upload it will fail. You may want to use cfsetting requestTimeOut=600 which is ten minutes Regards -- Gary Gilbert http://www.garyrgilbert.com/blog

Re: CFFILE vs FTP

2007-09-27 Thread Ian Skinner
There can also be maximum HTTP file upload size settings in ColdFusion, the webserver, firewall and|or proxy servers. ~| ColdFusion is delivering applications solutions at at top companies around the world in government.

RE: CFFILE - alternatives?

2007-09-27 Thread Dennis Powers
- http://www.radinks.com/upload/ - http://swfupload.mammon.se/ OK - I like the swfupload best. SWFupload still uses the HTTP method of uploading and if your web server or CF server is limited then you have the same problems. You will still need CFFile to accept the upload. The default

CFFILE - alternatives?

2007-09-26 Thread Kim Hoopingarner
For some odd reason there seems to be a problem using CFFILE with my host site when trying to upload files larger than 1.5M. I know it has to do with memory constraints - but I still find it strange that such a small file won't work. sigh So I'm looking for 2 things - 1) Does anyone know

Re: CFFILE - alternatives?

2007-09-26 Thread Ben Doom
I would guess that it's not a limitation of CF, but a setting in IIS or Apache or whatever your webserver is. --Ben Doom Kim Hoopingarner wrote: For some odd reason there seems to be a problem using CFFILE with my host site when trying to upload files larger than 1.5M. I know it has to do

Re: CFFILE - alternatives?

2007-09-26 Thread Jochem van Dieten
Kim Hoopingarner wrote: For some odd reason there seems to be a problem using CFFILE with my host site when trying to upload files larger than 1.5M. 1) Does anyone know a quick solution to the above problem? Right now files smaller than 1.5 M go with no problem. Is there a setting some

RE: CFFILE - alternatives?

2007-09-26 Thread Dave Watts
be a limit imposed at the web server, or by some application firewall in front of the web server. For example, I believe that the IIS ISAPI URLScan filter can impose a limit on file uploads. 2) Is there another solution besides CFFILE that will give me the same result. CFFILE is the only

Re: CFFILE - alternatives?

2007-09-26 Thread Kim Hoopingarner
can make it simple for me. Anyone?I'm looking for an alternative to using CFFILE. Thanks ahead for the ideas! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today

RE: CFFILE - alternatives?

2007-09-26 Thread Michael Appenzellar
[mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 5:08 PM To: CF-Talk Subject: Re: CFFILE - alternatives? #1 Follow Up Found out that the CFAdmin was set to 100 M for the max post. Drats. So looks like I might be stuck with re-coding this... #2 Yes - the host has other languages

Re: CFFILE - alternatives?

2007-09-26 Thread Kim Hoopingarner
Look into either of these: - http://www.radinks.com/upload/ - http://swfupload.mammon.se/ OK - I like the swfupload best. But I struggle at how to incorporate this into my existing cfm file. And help on putting it into a cfm form would be great. This form needs to have a button to select

cffile action=copy nameconflict=in_your_wildest_dreams

2007-09-19 Thread Brad Wood
So, I admittedly haven't used cffile that much in the past-just here and there. I was fiddling with something today and came to a startling revelation (which I'm sure most of you already know): You can't use the nameconflict attribute with action=copy. Well you can-it's simply ignored. I

Re: cffile action=copy nameconflict=in_your_wildest_dreams

2007-09-19 Thread Raymond Camden
yourself. You can use a UUID-based file name, which is ugly, but unique, or if you can't copy over foo.txt because it exists, try foo1, foo2, fooN until it doesn't exist. On 9/19/07, Brad Wood [EMAIL PROTECTED] wrote: So, I admittedly haven't used cffile that much in the past-just here

Re: Help with File Upload: AJAX and CFFILE

2007-09-17 Thread Andrew Grosset
Here is a neat ajax upload script that uses javascript to create the iframe required for the upload: http://www.ajax-tutorials.com/tutorial-list/resource/AJAX_file_upload/view.php Andrew. You're right, I'm just passing a string and not actually submitting a form. But why can't I assign

Question about problem with CFFILE

2007-09-03 Thread Les Mizzell
Standard Tag: cffile action=upload destination=/vservers/mySITE/htdocs/newsletters/ nameConflict=overwrite fileField=nl_FILE cfset fileNEWSLETTER =#cffile.serverfile# 1. Host says permissions on the folder are correct 2. Host says the address is correct 3. #cffile.serverfile

Re: Question about problem with CFFILE

2007-09-03 Thread Andrew Grosset
is returned by the GetTempDirectory function. Standard Tag: cffile action=upload destination=/vservers/mySITE/htdocs/newsletters/ nameConflict=overwrite fileField=nl_FILE cfset fileNEWSLETTER =#cffile.serverfile# 1. Host says permissions on the folder are correct 2. Host says

Re: Question about problem with CFFILE

2007-09-03 Thread Les Mizzell
temporary directory, which is returned by the GetTempDirectory function. Standard Tag: cffile action=upload destination=/vservers/mySITE/htdocs/newsletters/ nameConflict=overwrite fileField=nl_FILE This is exactly the same way I've got it set and working up on another couple

Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Aaron Roberson
I'm having a problem trying to use AJAX (with the Prototype framework) with the cffile tag to upload files to the server. The problem seems to be related to the fact that the enctype attribute of the upload form must be specified with the value of multipart/form-data. That specification requires

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Brian Kotek
How does the Ajax.Request call know which form you want to post? On 8/28/07, Aaron Roberson [EMAIL PROTECTED] wrote: I'm having a problem trying to use AJAX (with the Prototype framework) with the cffile tag to upload files to the server. The problem seems to be related to the fact

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Brian Kotek
that approach. You might also check to see if there are any Prototype or Scriptaculous plugins that will do this for you. On 8/28/07, Aaron Roberson [EMAIL PROTECTED] wrote: I'm having a problem trying to use AJAX (with the Prototype framework) with the cffile tag to upload files to the server. The problem

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Aaron Roberson
Brian, You're right, I'm just passing a string and not actually submitting a form. But why can't I assign the value of the string being passed to a variable in the form scope? I also noted that much of the scripts out there for file upload with AJAX use iFrames. I have not never used iFrames with

RE: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Dave Watts
You're right, I'm just passing a string and not actually submitting a form. But why can't I assign the value of the string being passed to a variable in the form scope? For security reasons, there are lots of restrictions with file uploads. You actually have to submit a form with a file

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Web Specialist
Aaron, I'll suggest you to use this great javascript and Flash utility to upload several files. Works like a charm for me integrated with CF backend. Very impressive! http://swfupload.mammon.se/ Cheers p.s.: If you need that scripts(javascript files and CF) please call me. ;-) 2007/8/28,

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Aaron Roberson
Please go ahead and send me your example JavaScript and CF scripts. I will check swfUpload out. Thanks, Aaron On 8/28/07, Web Specialist [EMAIL PROTECTED] wrote: Aaron, I'll suggest you to use this great javascript and Flash utility to upload several files. Works like a charm for me

CFFILE Makes No Sense - the file is there

2007-08-06 Thread coldfusion . developer
WHy is CFFILE doing this? I'm getting an error that says it can't find the file and I've checked several times, the file is there, on the server in the correct folder with the exact file name!!! The following information is meant for the website developer for debugging purposes. Error

RE: CFFILE Makes No Sense - the file is there

2007-08-06 Thread Adrian Lynch
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 August 2007 15:08 To: CF-Talk Subject: CFFILE Makes No Sense - the file is there WHy is CFFILE doing this? I'm getting an error that says it can't find the file and I've checked several times, the file is there, on the server in the correct folder

RE: CFFILE Makes No Sense - the file is there

2007-08-06 Thread Ryan, Terrence
Technology   E-mail:     [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 06, 2007 10:08 AM To: CF-Talk Subject: CFFILE Makes No Sense - the file is there WHy is CFFILE doing this? I'm getting an error that says it can't

RE: CFFILE Makes No Sense - the file is there

2007-08-06 Thread Chad Gray
it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 06, 2007 10:08 AM To: CF-Talk Subject: CFFILE Makes No Sense - the file is there WHy is CFFILE doing this? I'm getting an error that says it can't find the file and I've checked several times, the file

Attribute validation error for tag CFFILE

2007-07-30 Thread Tom Hines
validation error for tag CFFILE. The value of the attribute destination, which is currently /eStore/images/, is invalid. From the Application Log Error,jrpp-47,07/30/07,14:47:34,eCM,Attribute validation error for tag CFFILE.The value of the attribute destination, which is currently /eStore

name conflicts with cffile action=move

2007-07-23 Thread Rebecca Younes
Is there any reason why cffile action=move doesn't support the nameconflict attribute, like action=upload, or is this just a design oversight? ~| ColdFusion is delivering applications solutions at at top companies around

RE: name conflicts with cffile action=move

2007-07-23 Thread Ben Nadel
? www.bennadel.com/ask-ben/ -Original Message- From: Rebecca Younes [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 11:38 AM To: CF-Talk Subject: name conflicts with cffile action=move Is there any reason why cffile action=move doesn't support the nameconflict attribute, like action=upload

cffile to remote pc

2007-05-30 Thread Dave Francis
I eventually want to upload a file from my desktop, running CFMX 7.0.2 developer, to a remote pc. As a start, I'm trying cfdirectory to check the connection, but getting absolutely nothing. Zero records returned, and no error. My directory attribute looks like: directory=//111.222.333.444/C$/

RE: cffile to remote pc

2007-05-30 Thread Adkins, Randy
Subject: cffile to remote pc I eventually want to upload a file from my desktop, running CFMX 7.0.2 developer, to a remote pc. As a start, I'm trying cfdirectory to check the connection, but getting absolutely nothing. Zero records returned, and no error. My directory attribute looks like: directory

Re: CFFILE copy to another server - (Access is denied).

2007-05-26 Thread Robertson-Ravo, Neil (RX)
on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: James Buckingham To: CF-Talk Sent: Fri May 25 21:45:17 2007 Subject: CFFILE copy to another

CFFILE copy to another server - (Access is denied).

2007-05-25 Thread James Buckingham
Hi guys, I'm trying to find a way that I can copy a file from one server to another (there Windows 2003 servers) using either CFFILE or a CFEXECUTE command to run what I need through Xcopy or Robocopy. At the moment I'm getting a error message telling me The cause of this exception

Re: CFFILE copy to another server - (Access is denied).

2007-05-25 Thread Ravi Gehlot
James, You have got a Windows sharing problem there with you permissions. That is not a problem with ColdFusion. There is a setting for cffile called mode which can be set to 777 for Linux systems but this does not apply for you. Check your shared drive in both machines. Ravi. James

RE: Renaming Files with CFFILE

2007-05-24 Thread Bobby Hartsfield
There's all kinds of stuff available when you upload a file. cffile.serverFileExt will hold the extension Dump #cffile# for the rest #listlast(filename, .)# will get you the extension too ;-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message

Re: Renaming Files with CFFILE

2007-05-24 Thread Claude Schneegans
you put in place, somebody comes up with *something* that mucks up the works and refuses to do it right The last I saw in this category was somebody who absolutely wanted to enter several values in a text field using the Enter key in order to enter several lines... Of course, this submit the

Re: Renaming Files with CFFILE

2007-05-24 Thread Les Mizzell
The last I saw in this category was somebody who absolutely wanted to enter several values in a text field using the Enter key in order to enter several lines... Mine was a client with an admin for their image gallery. It was set up for a main image and a thumb. First round was my mistake.

Re: Renaming Files with CFFILE

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Les Mizzell wrote: We just need to be able to export directly out of the camera. How did the ratio ever get broken then ? -- Tom Chiverton Helping to enormously deliver cross-media design-patterns on: http://thefalken.livejournal.com

RE: Renaming Files with CFFILE

2007-05-24 Thread Andy Matthews
If you resize an image to 100x150 it'll skew the ratio unless you crop it. -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 10:02 AM To: CF-Talk Subject: Re: Renaming Files with CFFILE On Thursday 24 May 2007, Les Mizzell wrote: We just

Re: Renaming Files with CFFILE

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Andy Matthews wrote: If you resize an image to 100x150 it'll skew the ratio unless you crop it. Easy and obvious solutions include resizing to something slightly different (102x147) but with the same aspect, or using CSS to do the cropping if the CF solution can't.

RE: Renaming Files with CFFILE

2007-05-24 Thread Andy Matthews
pixels. -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 10:21 AM To: CF-Talk Subject: Re: Renaming Files with CFFILE On Thursday 24 May 2007, Andy Matthews wrote: If you resize an image to 100x150 it'll skew the ratio unless you crop

Renaming Files with CFFILE

2007-05-23 Thread Les Mizzell
* that mucks up the works and refuses to do it right and your client says YEs, that's stupid, but figure out how to deal with that!. Now that I've got that off my chest... I'm dealing with a CFFILE field. It accepts text, .doc, and .xls files. I do *not* want to accept the original file names, because

Re: Renaming Files with CFFILE

2007-05-23 Thread James Holmes
You can use listlast() with . as the delimiter. On 5/24/07, Les Mizzell [EMAIL PROTECTED] wrote: OK, I want to rename this with the record ID that goes into the database, so 397564.xls looks great to me instead of the above. Got no problem with the record ID part - how do I extract the

Re: IIS6 and Client Certs breaks CFFILE Upload

2007-04-11 Thread Bobby Schuchert
that should be after days On 4/9/07, Zaphod Beeblebrox [EMAIL PROTECTED] wrote: ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIA’s for your business. Upgrade now

IIS6 and Client Certs breaks CFFILE Upload

2007-04-09 Thread Bobby Schuchert
We are using SSL and Client Certificates on an IIS6 box and having trouble with CFFILE upload. For some reason cffile upload no longer will work for a file over 50k in size. We can turn off require client certificates in IIS and the upload form works nicely. I even uploaded a 102mb avi file

Re: IIS6 and Client Certs breaks CFFILE Upload

2007-04-09 Thread Zaphod Beeblebrox
through a secondary site. On 4/9/07, Bobby Schuchert [EMAIL PROTECTED] wrote: We are using SSL and Client Certificates on an IIS6 box and having trouble with CFFILE upload. For some reason cffile upload no longer will work for a file over 50k in size. We can turn off require client certificates

Re: IIS6 and Client Certs breaks CFFILE Upload

2007-04-09 Thread Zaphod Beeblebrox
. In the end, after day of trying to get it to work correctly, I rerouted the uploads through a secondary site. On 4/9/07, Bobby Schuchert [EMAIL PROTECTED] wrote: We are using SSL and Client Certificates on an IIS6 box and having trouble with CFFILE upload. For some reason cffile upload

Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Deepak Gupta
Hi I need to create a scheduled task at the server level, the task will run a script that actually deletes all the contents of a folder. How i can do that? I tried using cfdirectory but it deletes the whole directory. How I can just delete the contents of a directory not the directory itself

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Deepak Gupta
Can anyone help me with this Hi I need to create a scheduled task at the server level, the task will run a script that actually deletes all the contents of a folder. How i can do that? I tried using cfdirectory but it deletes the whole directory. How I can just delete the contents of

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Charlie Griefer
cfdirectory returns a query object. loop over the results and use cffile action=delete. On 4/6/07, Deepak Gupta [EMAIL PROTECTED] wrote: Hi I need to create a scheduled task at the server level, the task will run a script that actually deletes all the contents of a folder. How i can do

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Charlie Griefer
sorry, i should have specified that it returns a query object of the files in the directory :) On 4/6/07, Charlie Griefer [EMAIL PROTECTED] wrote: cfdirectory returns a query object. loop over the results and use cffile action=delete. On 4/6/07, Deepak Gupta [EMAIL PROTECTED] wrote: Hi

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Deepak Gupta
I am trying to do this cfdirectory action=list name=Files directory=#getDirectoryFromPath(GetBaseTemplatePath())#SoundFile filter=*.zip cfloop from=1 to=#Files.recordcount# index=i cffile action=delete file=#getDirectoryFromPath(GetBaseTemplatePath())#SoundFile\#Files[i]# /cfloop Wats

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Josh Nathanson
I think at the end of your cffile you'll need #Files[i].filename# although I'm not sure if that's the name of the column in the Files query. The best way to figure it out is to dump your query var Files and see what it produces. This will give you insight into what's going on and what

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Charlie Griefer
(re-sending) btw it would be much easier to loop over the query object -as- a query (instead of an index loop). cfloop query=Files cffile action=delete file=#directory#\#name# / /cfloop On 4/6/07, Charlie Griefer [EMAIL PROTECTED] wrote: you tell me :) what's the issue. getting

Re: Having difficulty with cffile on IIS7 and Vista

2007-02-22 Thread Richard Cooper
Your specifying the form field value where you should be putting the form field i.e. filefield=fileuploadfiled not filefield=#FORM.fileuploadfiled# ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7

RE: Having difficulty with cffile on IIS7 and Vista

2007-02-22 Thread Sandra Clark
Thanks Richard, I figured that out late last night. I haven't had to write code for a cffile in years so I forgot that and in the blur of upgrading to Vista and IIS7 with a more manual install of ColdFusion, I of course, decided to blame the configuration rather than my code! Sandra Clark

Having difficulty with cffile on IIS7 and Vista

2007-02-21 Thread Sandra Clark
Trying to upload a file through an HTML form. When I hit the cffile action=upload, I get an error telling me that The form field C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp 1155.tmp did not contain a file. I checked the directory and sure enough the file does

Re: cffile is not waiting for cfexecute to finish.

2007-02-18 Thread Matt Quackenbush
This might do the trick for you... http://www.petefreitag.com/item/85.cfm For what it's worth, I would strongly recommend *against* a previous suggestion of using a loop that runs until the file is created; that could be disastrous in the event that the file writing code has an error. I would

Re: cffile is not waiting for cfexecute to finish.

2007-02-18 Thread Casey Dougall
Thanks all for replying, Matt, that's what I was looking for. I remember it from WACK but couldn't get google to locate it for me. I believe the timeout setting of cfexecute was working all along. In the end this was a stupid mistake on my part. When the excel file only had one worksheet it

cffile is not waiting for cfexecute to finish.

2007-02-17 Thread Casey Dougall
I would have though by placing a timeout on cfexecute, the remainder of the script would hold off before running it's stuff. Doesn't seem to be working. I'm converting an excel document to html and this process works fine. As soon as this has finished I need to read one of the files so I can grab

Re: cffile is not waiting for cfexecute to finish.

2007-02-17 Thread Kris Jones
You could do a cffile check for the existence of the file (inside a try/catch) in a loop with a limit to make sure the file is there before doing the read. I would have though by placing a timeout on cfexecute, the remainder of the script would hold off before running it's stuff. Doesn't seem

Re: cffile is not waiting for cfexecute to finish.

2007-02-17 Thread Mik Muller
Or this... cfloop condition=not fileExists(absolute_path)/cfloop Michael At 11:01 AM 2/17/2007, you wrote: You could do a cffile check for the existence of the file (inside a try/catch) in a loop with a limit to make sure the file is there before doing the read. I would have though

cffile on GoDaddy.com

2007-02-08 Thread Terry West
I'd like to help anyone out who may be trying to set up a coldfusion mailform app on GoDaddy.com I've been fumbling around all morning trying to get the cfmail to work on my client's GoDaddy w/ Coldfusion shared hosting website. Finally, after much trial and error, as well as checking previous

Re: cffile on GoDaddy.com

2007-02-08 Thread Bruce Sorge
Terry, Thanks for the info. I happen to have an app that I am rolling out for a personal client that will be using an email app for folks who opt-in and is hosted at GoDaddy. Have not tested it yet but I am glad to have this tidbit of information. And you are right about their tech support. I

RE: cffile on GoDaddy.com

2007-02-08 Thread Andy Matthews
Speaking of getting around GoDaddy restrictions. Does anyone have a work around for the lack of CreateObject? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 12:01 PM To: CF-Talk Subject: Re: cffile on GoDaddy.com Terry, Thanks

Re: cffile on GoDaddy.com

2007-02-08 Thread Bruce Sorge
CFOBJECT and CreateObject is not supported in their environment. This is per Adobe's guidance on how to secure servers. ( http://www.adobe.com/devnet/security/security_zone/mpsb04-10.html). They suggest using the CFINVOKE tag instead. Bruce Sorge I'm a mawg: half man, half dog. I'm my own best

RE: cffile on GoDaddy.com

2007-02-08 Thread Andy Matthews
So basically you can USE CFCs, you just can't store them into memory? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 12:12 PM To: CF-Talk Subject: Re: cffile on GoDaddy.com CFOBJECT and CreateObject is not supported in their environment

Re: cffile on GoDaddy.com

2007-02-08 Thread Bruce Sorge
Correct. Bruce Sorge I'm a mawg: half man, half dog. I'm my own best friend! On 2/8/07, Andy Matthews [EMAIL PROTECTED] wrote: So basically you can USE CFCs, you just can't store them into memory? ~| Upgrade to Adobe

RE: cffile on GoDaddy.com

2007-02-08 Thread Dave Watts
So basically you can USE CFCs, you just can't store them into memory? If your CFC has a method which returns the CFC instance itself, you could call that with CFINVOKE. It's pretty common to have such a method, for other reasons. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig

Re: cffile on GoDaddy.com

2007-02-08 Thread Rick Root
. Rick On 2/8/07, Andy Matthews [EMAIL PROTECTED] wrote: So basically you can USE CFCs, you just can't store them into memory? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 12:12 PM To: CF-Talk Subject: Re: cffile on GoDaddy.com

RE: cffile on GoDaddy.com

2007-02-08 Thread Turetsky, Seth
That stinks. I just bought a plan off godaddy, but for 60 bucks a year I guess I can't complain too much. -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 1:31 PM To: CF-Talk Subject: Re: cffile on GoDaddy.com If you use cfinvoke

Stupid CFFILE

2007-01-19 Thread Bruce Sorge
to the new directory --- cffileaction = move source = #tempBylawPath#\#Form.APPROVE# destination = #currentBylawPath# I dumped out the source and the destination and they show as valid paths, and the source is a valid path and filename that exists. But I am getting an error

RE: Stupid CFFILE

2007-01-19 Thread Ian Skinner
But I am getting an error that says Attribute validation error in CFFILE. So what gives? The server is a Windows 2K3 server running CFMX 7.2. Is there a possibility of a permission error? The CF/Jrun service does not have permission to read/write/copy in one or more of those directories? I

Re: Stupid CFFILE

2007-01-19 Thread Kris Jones
The two directories do not reside on different partitions do they? There is a note in the Livedocs to the effect that the java library involved has an issue with that. Is there a possibility of a permission error? The CF/Jrun service does not have permission to read/write/copy in one or more

Re: Stupid CFFILE

2007-01-19 Thread Bruce Sorge
They are on the same partition. This is a test server that has only one partition and currently this is the only app residing on it. The file I am trying to move was loaded up by another part of this app using CFFILE and there are no issues with that. Bruce Sorge I'm a mawg: half man, half dog

RE: Stupid CFFILE

2007-01-19 Thread Peterson, Chris
: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 3:57 PM To: CF-Talk Subject: Re: Stupid CFFILE They are on the same partition. This is a test server that has only one partition and currently this is the only app residing on it. The file I am trying to move was loaded up

Re: Stupid CFFILE

2007-01-19 Thread Bruce Sorge
OK, so I did this on my local machine now rather than the server, and I get this message: An exception occurred when performing a file operation copy on files C:\Inetpub\wwwroot\DONE\election_procedure\tempBylaws\Roser.doc and C:\Inetpub\wwwroot\DONE\election_procedure\Bylaws. I hardcoded the

Disregard Stupid CFFILE message

2007-01-19 Thread Bruce Sorge
I was just informed by the Sys Admins that I cannot upload files to their production servers, so please disregard and thanks for the tips. -- Bruce Sorge I'm a mawg: half man, half dog. I'm my own best friend! ~| Upgrade to

Problems with CFFile. Error 997 Overlapping I/O

2007-01-10 Thread J W
Here is a strange one.. I have to copy files from on server to another using cffile. Under CFMX 6.1I just changed the CF services to login to an account that had rights to copy files from on server to another. Simple and easy. Now with CF7, I attempt to change the account to something other than

CFFILE - Upload and rename at the same time?

2007-01-03 Thread Les Mizzell
Is there a way to upload and rename a file at the same time using CFFILE, or does that need to be two separate operations? I'm using a function to filter out spaces and unwanted characters in the file names like: #filterFilename(cffile.serverfile)# - and this works after the fact

Re: CFFILE - Upload and rename at the same time?

2007-01-03 Thread Doug Brown
Would need to be two seperate actions. IE: CFFILE action=upload filefield=yourFileField accept=type destination=C:\myFolder\ nameconflict=makeunique CFSET RenameFile = Whatever CFFILE action=rename source=C:\myFolder\#File.ServerFile# destination=C:\myFolder\#Trim(RenamePhoto)# Doug B

RE: CFFILE - Upload and rename at the same time?

2007-01-03 Thread Bobby Hartsfield
It would need to be 2 separate cffiles afaik. Most people however, like to upload files to temp folders, do some processing then move it to its final home. You CAN move and rename at the same time with one cffile... just give the destination the new path and file name -Original Message

cffile action=read does FILE.fileSize still work?

2006-12-18 Thread coldfusion . developer
Good morning, I'm sure this is a simple one for most of you, but I forget. If I perform a cffile action=read etc ... on an image file, I should be able to get #FILE.fileSize# correct? I was able to do it using action=upload. Thanks D

Re: cffile action=read does FILE.fileSize still work?

2006-12-18 Thread Doug Brown
I may be wrong, but I believe that you can only do that via cfdirectory The read pretty much does only that read the contents of the file. Doug - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:46 AM Subject: cffile

<    1   2   3   4   5   6   7   8   9   10   >